Information processing apparatus, control method for information processing apparatus, and program
The information processing device addresses startup inefficiencies by creating snapshot images post-application startup, associating them with applications, and managing these images to ensure swift software activation.
Patent Information
- Application Number
- JP2023062894
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2024-10-18
AI Technical Summary
Existing techniques for device startup using snapshot images fail to efficiently handle unknown software additions, leading to potential conflicts and prolonged startup times.
The information processing device creates snapshot images that include information for restoring the device state after application startup, associating applications with these images, and manages a series of images to facilitate efficient startup based on the device's state.
Enables faster software startup by using snapshot images tailored to the device's current state, even with unknown software additions.
Smart Images

Figure 2024149179000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an information processing device, a control method for an information processing device, and a program. [Background technology]
[0002] A technology is known that uses a function called hibernation to store the state of a target device as a snapshot image, and restores the device to the state at the time of creating the snapshot image when the device is started, thereby speeding up the startup of the device. When the device is started using the stored snapshot image in this way, if new software has been added to the device or the settings of the software have been changed, an inconsistency with the snapshot image may occur, causing startup failure. In such a case, it may be possible to start the device without using the snapshot image, but the startup time tends to be longer than when starting the device using the snapshot image.
[0003] Various techniques have been proposed to solve the above problems. Specifically, Patent Document 1 discloses a technique for shortening the startup time by performing startup using the duplicated data up to the immediately preceding startup step when duplicated data of the state of the information processing device corresponding to one startup step of the information processing device does not exist, and then performing normal startup thereafter. Patent Document 2 discloses a technique for performing high-speed hibernation startup while suppressing costs by using a snapshot image corresponding to a combination of hardware and software configurations of an image processing device, assuming that the combination is known. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2019-8461 A [Patent Document 2] JP 2012-18554 A Summary of the Invention [Problem to be solved by the invention]
[0005] On the other hand, when unknown software is added to a target device, there is no snapshot image corresponding to the software, so in such a situation, it may be difficult to use a snapshot image to return the software to a started state, and therefore it may be difficult to shorten the start-up time of the software.
[0006] In view of the above problems, an object of the present invention is to realize software startup using a snapshot image in a more suitable manner according to the state of the target device. [Means for solving the problem]
[0007] The information processing device of the present invention is characterized by having: a creation means for creating a snapshot image including information for restoring a state of a target device to a state at a timing after an application is launched on the target device; a management means for managing the application and the snapshot image created by the creation means in association with each other; and a control means for using at least a part of a series of snapshot images managed by the management means to restore the state of the target device to the state at the timing when the snapshot image was created. Effect of the Invention
[0008] According to the present invention, it is possible to realize the start-up of software using a snapshot image in a more suitable manner according to the state of the target device. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of an imaging device. [Diagram 2] FIG. 13 is a diagram showing an example of a snapshot image. [Diagram 3] FIG. 11 is a diagram showing an example of an owned application list. [Figure 4] 10 is a flowchart showing an example of processing performed by the imaging device. [Diagram 5] 10 is a flowchart showing an example of processing performed by the imaging device. [Figure 6] FIG. 2 is a diagram showing an example of the state of a ROM and a RAM. [Figure 7] FIG. 11 is a diagram showing an example of an owned application list. [Figure 8] FIG. 2 is a diagram showing an example of the states of a ROM, a RAM, and a flash memory. [Figure 9] FIG. 2 is a diagram showing an example of the state of a ROM and a RAM. [Figure 10] FIG. 2 is a diagram showing an example of the state of a ROM and a RAM. [Figure 11] FIG. 11 is a diagram showing an example of an owned application list. [Figure 12] 10 is a flowchart showing an example of processing performed by the imaging device. [Figure 13] FIG. 2 is a diagram showing an example of the state of a ROM and a RAM. [Figure 14] FIG. 11 is a diagram showing an example of an owned application list. [Figure 15] FIG. 2 is a diagram showing an example of the state of a ROM and a RAM. [Figure 16] FIG. 11 is a diagram showing an example of an owned application list. [Figure 17] 10 is a flowchart showing an example of processing performed by the imaging device. [Figure 18] 10 is a flowchart showing an example of processing performed by the imaging device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functional configurations are denoted by the same reference numerals, and redundant description will be omitted. In addition, the following description focuses on a case where the technology according to the present disclosure is applied to an imaging device 100 as an example of an information processing device according to an embodiment of the present disclosure. However, the configurations and processes described below as embodiments do not necessarily limit the configurations and processes of an information processing device according to an embodiment of the present disclosure. Furthermore, all of the combinations of features described below as embodiments are not necessarily essential elements of the present invention. Moreover, each functional block described below as an embodiment does not necessarily need to be realized by individual hardware. For example, the functions of some functional blocks may be realized by one piece of hardware. Furthermore, the functions of one functional block or the functions of multiple functional blocks may be realized by several pieces of hardware working together. Furthermore, the functions of each functional block may be realized by a central processing unit (CPU) executing a computer program deployed in a storage area such as a random access memory (RAM). Furthermore, at least some of the functions of a series of functional blocks may be realized by a network service such as a so-called cloud service. In this case, data exchange between multiple functional blocks may be realized by communication between the multiple functional blocks. Also, for the sake of convenience, in each embodiment of the present disclosure, various explanations will be given focusing on a case where Linux (registered trademark) is applied as an OS (Operating System) related to the control of the operation of the imaging device 100. On the other hand, the OS applied to the control of the operation of the imaging device 100 is not limited to Linux, and various OSs may be applied, and in that case, the configuration and processing in Linux may be appropriately interpreted according to the applied OS.
[0011] <Configuration of imaging device> An example of a configuration of an imaging device 100 according to an embodiment of the present disclosure will be described with reference to Fig. 1. The imaging device 100 includes a control unit 110, a read only memory (ROM) 120, a RAM 130, a flash memory 140, a display unit 150, an operation unit 160, a communication unit 170, and an imaging unit 180.
[0012] The control unit 110 is realized by a calculation device such as a CPU, and controls the operation of each component of the imaging device 100 by expanding a program stored in the ROM 120 into a working area of the RAM 130 and executing it. In this way, functions provided by the display unit 150, the operation unit 160, the communication unit 170, and the imaging unit 180, for example, are realized. ROM 120 is a storage area for storing programs executed by control unit 110, various files managed by the OS (for example, a Linux root file system), etc. ROM 120 may be realized by, for example, a non-volatile memory. Note that the storage area described as ROM 120 in this disclosure may be realized by a storage area at least part of which is rewritable. The RAM 130 serves as a working memory used by the control unit 110 to execute programs and as a storage area used to temporarily store various data. The RAM 130 may be realized, for example, by a volatile memory. Note that in this disclosure, the RAM 130 is realized by a dynamic random access memory (DRAM), but this does not necessarily limit the configuration of the RAM 130.
[0013] The flash memory 140 is a storage area for storing various programs and various data. As a specific example, the flash memory 140 may be used as a storage area for storing downloaded applications. The flash memory 140 may be realized by, for example, a non-volatile memory. Note that the storage area described as the flash memory 140 in this disclosure may be realized by another auxiliary storage device.
[0014] The display unit 150 is realized by a display device such as a display, and serves as an output interface that displays various information as images to present the information to a user. As a specific example, the display unit 150 may display an image (still image or moving image) corresponding to an imaging result by the imaging unit 180 described later, a menu screen for receiving instructions from a user, and information related to the setting values, status, etc. of the imaging device 100. The operation unit 160 is realized by input devices such as a touch panel, keys, and buttons, and serves as an input interface for receiving instructions from a user. For example, the operation unit 160 is used to receive instructions for the imaging device 100 and input of parameters for the imaging device 100 from a user. As a specific example, the operation unit 160 may include a shutter button, a power switch, a direction key, a menu button, a decision (set) button, an imaging mode dial, a playback button, a video imaging button, and the like. However, these input devices are merely examples and do not limit the configuration of the operation unit 160. The control unit 110 monitors the state of the operation unit 160, detects an operation on the operation unit 160, recognizes an instruction from the user according to the detection result of the operation, and executes a process according to the instruction.
[0015] The communication unit 170 serves as a communication interface for connecting the imaging device 100 to a predetermined network and realizing communication with an external device via the network. The type of network applied to the communication between the imaging device 100 and the external device is not particularly limited. As a specific example, a wireless LAN (Local Area Network) or a wired LAN may be applied to the communication between the imaging device 100 and the external device. The configuration of the communication unit 170 may be appropriately changed depending on the type of the network to be connected and the communication method applied to the communication via the network.
[0016] The imaging unit 180 captures an image of a subject and generates image data such as a still image or a moving image according to the result of the capture (hereinafter also referred to as captured image data). The imaging unit 180 may also encode the image data according to the result of the capture based on a predetermined encoding method. The captured image data generated by the imaging unit 180 is stored in, for example, the RAM 130 or the flash memory 140.
[0017] <Snapshot image> With reference to Fig. 2, an example of a snapshot image generated by the imaging device 100 according to an embodiment of the present disclosure and stored in a storage area such as the ROM 120 will be described. In this disclosure, a snapshot image refers to data in which the state of a series of data held in a target device at a certain moment (e.g., the state of a file system, etc.) is saved as a so-called image. Hereinafter, this snapshot image will also be referred to as an "image" for convenience. As shown in Fig. 2, in this embodiment, three types of images can be generated: an entire image, a basic image, and a difference image.
[0018] The overall image shown in Fig. 2(a) and Fig. 2(b) corresponds to an image in which the start-up of components such as the control unit 110, the display unit 150, the operation unit 160, the communication unit 170, and the imaging unit 180, and the start-up of an application are completed. The basic image shown in Fig. 2(a) corresponds to an image in which the start-up of components such as the control unit 110, the display unit 150, the operation unit 160, the communication unit 170, and the imaging unit 180 are completed. The difference image (for application) shown in Fig. 2(a) corresponds to the difference between the overall image and the basic image. In the case of the example shown in Fig. 2(a), it corresponds to an image in which the start-up of an application is completed.
[0019] The control unit 110 starts up the imaging device 100 by restoring the state of the imaging device 100 to the state at the time when the image was created, for example, by using a series of images exemplified in FIG. 2. The control unit 110 acquires information indicating whether the imaging device 100 is to be started up using a combination of a base image and a difference image or a whole image, and executes a start-up process according to the information. Note that the method of acquiring the information indicating which image is to be used for start-up is not particularly limited. As a specific example, the control unit 110 may acquire the information by reading out the information stored in a predetermined storage area. As another example, the control unit 110 may acquire the information in response to an instruction from a user via the operation unit 160 or the like. Since the base image does not depend on the application, for example, it is commonly associated with a plurality of applications by the owned application list 122 described later. In each embodiment of the present disclosure, the base image corresponds to an example of a "first snapshot image". In contrast, the difference image and the whole image depend on the application, and are associated and managed for each application. In each embodiment of the present disclosure, the difference image corresponds to an example of a "second snapshot image". The timing at which the above-mentioned snapshot image (particularly the difference image) is created may be set appropriately depending on the use case. For example, when a target application is downloaded and saved in the imaging device 100, the above-mentioned snapshot image may be generated at a timing after the application is saved. As another example, when a target application is saved in the imaging device 100 and an instruction to start the application is detected, the above-mentioned snapshot image may be generated at a timing after the instruction is detected.
[0020] In FIG. 2(a), the basic image is defined as the image immediately before the application start process starts, but this does not limit the configuration of the snapshot image generated by the imaging device 100 according to the present embodiment. For example, as shown in FIG. 2(b), a difference image may be created according to the start-up step, such as a control unit start-up part being the basic image, a display unit 150 start-up part being the difference image (for display unit), and a control unit 160 start-up part being the difference image (for operation unit). As another example, a difference image combining start-up steps may be created, such as a difference image (for display unit + operation unit) from the difference of the combined start-up parts of the display unit 150 and operation unit 160. When multiple difference images are created as in the example shown in FIG. 2(b), the imaging device 100 is started up using a combination of one basic image and multiple difference images.
[0021] <Application list> An example of the possessed application list 122 stored in the ROM 120 will be described with reference to Fig. 3. As shown in Fig. 3, the possessed application list 122 associates each possessed (e.g. installed) application with version information, image data, and information indicating whether or not the application is to be used at startup. When the imaging device 100 is started (powered on), the control unit 110 refers to the possessed application list 122 and determines which application to start, that is, which of the series of images stored in the ROM 120 to use at startup. Note that the method of setting an image to be used when the imaging device 100 is started up, among the images corresponding to the series of applications whose information is indicated in the possessed application list 122, may be appropriately changed depending on the use case. For example, when a new application is installed, an image corresponding to the application may be set as an image to be used when the imaging device 100 is started up. As another example, when an instruction from a user regarding the selection of an application is received, an image corresponding to the application may be set as an image to be used when the imaging device 100 is started up.
[0022] In this way, the owned application list 122 manages applications and images in association with each other. In addition to the above-mentioned items, the owned application list 122 may also hold, for example, the installation date and time of the application, the size of the image for each application, and information for normal startup when startup using an image is not performed. In this disclosure, normal startup refers to startup in which a startup sequence is executed without using an image. In addition, the example shown in FIG. 3 shows an example of a case in which a series of information is managed in a table format, but as long as it is possible to manage applications and images in association with each other, various management formats can be applied without being limited to management in a table format.
[0023] <An example of boot process using the whole image> An example of a processing flow relating to the start-up of the imaging device 100 using the whole image will be described with reference to FIG. 4(a). When a start-up instruction is received while the imaging device 100 is in a power-off state, in S101 the control unit 110 refers to the possessed application list 122 stored in the ROM 120, and acquires a setting indicating which application is to be started. In S102, the control unit 110 uses the entire image stored in the ROM 120 to expand the data stored as the entire image into the RAM 130, and then uses the data to return the target application to an active state. Through the above-described series of processes, the imaging device 100 is started up.
[0024] <An example of the process for adding a new application using the whole image> An example of a process for adding a new application to the imaging device 100 when using the whole image will be described with reference to FIGS. FIG. 5 is a flowchart showing an example of a process for installing a new application in the image capture device 100 after the image capture device 100 has been started up using the whole image. FIG. 6 is a diagram showing an example of the initial state of the ROM 120 and the RAM 130 when the whole image is used. In this disclosure, in order to make the features easier to understand, the initial state refers to a state in which the whole image for startup stored in the ROM 120 is only the whole image for default application 123, and the whole image for each application 124 does not exist. In the state shown in FIG. 6, the data of the default application 133x is stored in the area in the RAM 130 where the data of the application to be executed is stored. Note that the reference numeral 133 indicates the application to be executed (the application whose data is stored in the RAM 130) without any particular limitation. In addition, FIG. 7 shows an example of the possessed application list 122 corresponding to the state shown in FIG. 6. Note that the states shown in FIG. 6 and FIG. 7 are merely examples, and do not limit the initial state of the ROM 120 and the RAM 130 when the whole image is used. As a specific example, in addition to the whole image for default application 123, a whole image for startup may be stored.
[0025] 8, 9, and 10 show an example of the state of the ROM 120, the RAM 130, and the flash memory 140 when the application C 141 is additionally installed in a state where the applications A and B 133b are installed in the initial state. In the examples shown in Figs. 8, 9, and 10, it is assumed that the application C 141 is installed while the application B 133b is running. The possessed application list 122 in the state shown in Figs. 8 and 9 is in the state shown in Fig. 3. Moreover, Fig. 11 shows an example of the possessed application list 122 corresponding to the state shown in Fig. 10.
[0026] The series of processes shown in FIG. 5 will now be described in more detail. In S301 shown in FIG. 5, it is assumed that the imaging device 100 receives an operation from a user instructing to install the application C141 while the imaging device 100 is executing the application B133b. The control unit 110 mounts the flash memory 140 in C302, and downloads data related to the installation of the application C141 from a predetermined cloud service 200 to the flash memory 140 in C303. Fig. 8 shows an example of the states of the ROM 120, the RAM 130, and the flash memory 140 at this timing.
[0027] In C304, the control unit 110 copies the data of the downloaded application C141 to the storage area (tmpfs) 132 allocated to the OS 131 (Linux) in the RAM 130 as data of the application C133c. In C305, the control unit 110 unmounts the flash memory 140 that was mounted in C302. In C306, the control unit 110 ends the application B 133b that is being executed. In C307, control unit 110 deletes the data of application B 133b that was ended in C306 from storage area 132 in RAM . In C308, the control unit 110 starts up the application C133c based on the data of the application C133c held in the storage area 132 in the RAM . In C309, the control unit 110 saves the state of the RAM 130 at a timing after the start of the application C 133c (for example, immediately after the start) as an entire image 134c for application C. Note that the reference numeral 134 indicates an entire image for each application, without any particular limitation on the target application. Fig. 9 shows an example of the state of the ROM 120 and RAM 130 at this timing. Note that the processing of S307 and S308 may be executed in a reverse order.
[0028] In S310, the control unit 110 copies the entire image 134c for application C stored in S309 to the ROM 120 as the entire image 124c for application C. In S311, the control unit 110 adds information about application C to the possessed application list 122, and performs settings so that the imaging device 100 will be started using the whole image 124c for application C at the next start. Fig. 10 shows an example of the state of the ROM 120 and RAM 130 at this timing. Fig. 11 shows an example of the possessed application list 122 corresponding to the state shown in Fig. 10.
[0029] By the above-mentioned process, the next time the power is turned on, the control unit 110 starts up the imaging device 100 using the entire image for application C 124c stored in the ROM 120. As a result, the imaging device 100 is started up with the application C 133c restored to an active state. Note that, when an operation relating to an instruction to delete the entire image for application 124 is received from the user, the control unit 110 may delete the entire image for application 124.
[0030] An example of the information processing device (imaging device 100) according to an embodiment of the present disclosure has been described in detail above. By applying the above-described mechanism, even if unknown software is added to the information processing device, for example, it is possible to speed up the startup process of the software by using the whole image. In the above embodiment, an example has been described in which the memory area (flash memory 140) in which downloaded applications are stored and the memory area (ROM 120) in which snapshot images are stored are realized as physically different memory areas. On the other hand, as long as it is possible to realize a memory area corresponding to flash memory 140 and a memory area corresponding to ROM 120, the configuration for achieving this is not particularly limited. As a specific example, a series of memory areas provided by a common storage device may be logically divided into a plurality of areas and used as memory areas corresponding to flash memory 140 and ROM 120, respectively.
[0031] <Modification> A modification of the imaging device 100 according to the embodiment of the present disclosure described above will be described below.
[0032] (Variation 1) As a first modified example of an embodiment of the present disclosure, an example of a process related to the startup of the imaging device 100 using a base image and a difference image will be described. In the above-described embodiment, an example of a case where the imaging device 100 is started up using a whole image will be described. In contrast to this, in this modified example, an example of a case where the imaging device 100 is started up using a combination of multiple images, such as a base image and a difference image, will be described.
[0033] FIG. 4B is a flowchart showing an example of the process of the imaging device 100 according to this modified example. When a start-up instruction is received while the imaging device 100 is in a power-off state, in S201 the control unit 110 refers to the possessed application list 122 stored in the ROM 120, and acquires a setting indicating which application is to be started. In S202, the control unit 110 specifies the differential image to be used for starting the application and the order in which the target differential image is to be expanded. As a specific example, the control unit 110 may determine the differential image to be used for starting the application based on a setting of the image to be used when starting the imaging device 100 in the possessed application list 122. The control unit 110 may also specify the order in which the target images (for example, the base image, the differential image, etc.) are to be expanded according to the order of processing defined as the startup sequence. In S203, the control unit 110 uses the base image held in the ROM 120 to load the data held as the base image into the RAM .
[0034] In S204, the control unit 110 determines whether or not data corresponding to each of the series of differential images identified in S202 as the images to be used has been expanded in the RAM 130. If the control unit 110 determines in S204 that all of the data corresponding to each of the series of differential images identified as the target of use has not been expanded, the process proceeds to S205. In this case, in S205, the control unit 110 expands in RAM 130 the data corresponding to the differential images for which data has not been expanded. Then, when the control unit 110 determines that all of the data corresponding to each of the series of differential images identified in S204 as the target for use has been expanded, the control unit 110 uses the data to return the target application to an active state. Through the above-described series of processes, the imaging device 100 is started up.
[0035] 12 to 16, an example of a process for adding a new application to the imaging device 100 when a base image and a difference image (for application) are used will be described. In this modification, it is assumed that data in a state where the start-up of the control unit 110, the display unit 150, the operation unit 160, the communication unit 170, and the imaging unit 180 is completed as shown in FIG. 2(a) is held as the base image and the difference image (for application). FIG. 12 is a flowchart showing an example of a process for installing a new application in the image capturing device 100 after the image capturing device 100 is started up using a base image and a difference image (for application). FIG. 13 is a diagram showing an example of the initial state of the ROM 120 and the RAM 130 when the whole image is used. In this modification, in order to make the characteristics easier to understand, the initial state refers to a state in which the base image 125 is stored in the ROM 120 and only the default application difference image 126 is stored as the startup difference image. That is, in the initial state, the application difference image 127 corresponding to each application is not stored in the ROM 120. FIG. 14 shows an example of the possessed application list 122 corresponding to the state shown in FIG. 13. The states shown in FIG. 13 and FIG. 14 are merely examples and do not necessarily limit the initial state of the imaging device 100 according to this modification. As a specific example, a startup difference image may be stored separately in addition to the default application difference image 126.
[0036] Fig. 15 shows an example of the state of ROM 120 and RAM 130 when application C 133c is additionally installed in a state in which applications A and B are installed in the initial state. In the example shown in Fig. 15, it is assumed that application C 133c is installed while application B is running. The possessed application list 122 in the state shown in Fig. 15 is as shown in Fig. 16.
[0037] Here, a series of processes shown in Fig. 12 will be described in more detail below. Note that the processes of S401 to S409 shown in Fig. 12 are substantially similar to the processes of S301 to S309 shown in Fig. 5, and therefore detailed description thereof will be omitted. In S410, the control unit 110 creates a difference image 137c for application C using the base image 135 and the whole image 134c for application C created in S409. In the example shown in Fig. 15, reference numeral 134 indicates a whole image for each application, without any particular limitation on the target application. Reference numeral 137 indicates a difference image corresponding to the application, created based on the whole image for each application, without any particular limitation on the target application. In S411, the control unit 110 copies the application C differential image 137c to the ROM 120 as the application C differential image 127c. In S412, the control unit 110 adds information about the application C 133c to the possessed application list 122, and performs settings so that the imaging device 100 will be started using the application C difference image 127c and the base image 125 at the next start. Fig. 15 shows an example of the state of the ROM 120 and RAM 130 at this timing. Fig. 16 shows an example of the possessed application list 122 corresponding to the state shown in Fig. 15.
[0038] By the above-mentioned process, the next time the power is turned on, the control unit 110 starts up the imaging device 100 using the application C difference image 127c and the base image 125 stored in the ROM 120. As a result, the imaging device 100 is started up with the application C 133c restored to an active state. Note that, when an operation relating to an instruction to delete the application difference image 127 is received from the user, the control unit 110 may delete the application difference image 127.
[0039] An example of the information processing device (imaging device 100) according to the first modified example of the present disclosure has been described above in detail. By applying the above-described mechanism, even if unknown software is added to the information processing device, for example, it is possible to speed up the startup process of the software by using a base image and a difference image.
[0040] (Variation 2) A second modified example of an embodiment of the present disclosure will be described below. In the above-described embodiment, a case where a new application is installed has been described, but a situation where an already installed application is upgraded can also be assumed. In this modified example, an example of a process in which some applications are upgraded when the imaging device 100 is started using the whole image will be described.
[0041] Fig. 17 is a flow chart showing an example of the processing of the imaging device 100 according to this modified example. Fig. 17 shows an example of the processing when an old version application is started while being executed using the whole image, and then the application is upgraded. The basic processing flow is the same as the example shown in Fig. 5, except that the new application and the running application in Fig. 5 are the application (new version) and the application (old version) in Fig. 17. Therefore, when an application is upgraded, the contents of the processing of S510 and S512 are different from the example shown in Fig. 5.
[0042] Specifically, in the case of a version upgrade, the control unit 110 deletes the entire image for the application of the old version from the ROM 120 in S510. Also, in S512, the control unit 110 updates the information of the application to be backed up in the possessed application list 122 from the information of the old version application to the information of the new version application. The processing of S510 and S511 may be executed in any order. By executing the processing of S510 and S511, the entire image for the application (old version) is overwritten with the entire image for the application (new version). In this modified example, an old version of an application corresponds to an example of a "first application," and an entire image for the application (old version) corresponding to the application corresponds to an example of a "third snapshot image." Also, a new version of an application corresponds to an example of a "second application," and an entire image for the application (new version) corresponding to the application corresponds to an example of a "fourth snapshot image."
[0043] An example of the information processing device (imaging device 100) according to the second modification of the present disclosure has been described above in detail. By applying the above-described mechanism, even when software installed in the information processing device is updated, it is possible to speed up the startup process of the software by using the whole image.
[0044] (Variation 3) A third modification of an embodiment of the present disclosure will be described below. In the above-described embodiment, in the second modification, an example of a case where an application is upgraded has been described, focusing on a case where the imaging device 100 is started using a whole image. On the other hand, as in the first modification, a situation where an application is upgraded can be assumed even when the imaging device 100 is started using a base image and a difference image. Therefore, in this modification, an example of a process where some applications are upgraded in a situation where the imaging device 100 is started using a base image and a difference image will be described.
[0045] Fig. 18 is a flow chart showing an example of processing of the imaging device 100 according to this modified example. Fig. 18 shows an example of processing when an old version application is started in a running state using a base image and a difference image, and then the application is upgraded. The basic processing flow is the same as the example shown in Fig. 12, except that the new application and running application in Fig. 12 are the application (new version) and application (old version) in Fig. 18.
[0046] Specifically, in the case of an upgrade, the control unit 110 deletes the application difference image of the old version from the ROM 120 in S611. Also, in S613, the control unit 110 updates the information of the application to be backed up in the possessed application list 122 from the information of the old version application to the information of the new version application. The order of execution of the processes of S611 and S612 may be reversed. By executing the processes of S611 and S612, the differential image for the application (old version) is overwritten with the differential image for the application (new version). In this modified example, the old version of the application corresponds to an example of a "first application," and the difference image for the application (old version) corresponding to the application corresponds to an example of a "third snapshot image." The new version of the application corresponds to an example of a "second application," and the difference image for the application (new version) corresponding to the application corresponds to an example of a "fourth snapshot image."
[0047] An example of the information processing device (imaging device 100) according to the third modification of the present disclosure has been described above in detail. By applying the above-described mechanism, even when software installed in the information processing device is updated, it is possible to speed up the startup process of the software by using a base image and a difference image.
[0048] <Other embodiments> The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0049] The disclosure of the present embodiment also includes the following configurations, methods, and programs. (Configuration 1) An information processing device comprising: a creation means for creating a snapshot image including information for restoring a state of a target device to a state at a timing after an application is started in the target device; a management means for managing the application and the snapshot image created by the creation means in association with each other; and a control means for using at least a part of a series of snapshot images managed by the management means to restore the state of the target device to a state at the timing when the snapshot image was created. (Configuration 2) The information processing device according to configuration 1, wherein when a new snapshot image is created, the control means sets the snapshot image as the snapshot image to be applied to restore the state of the target device. (Configuration 3) The information processing device according to configuration 1, characterized in that when an instruction to select one of a series of snapshot images managed by the management means is received, the control means sets the selected snapshot image as the snapshot image to be applied to restore the state of the target device. (Configuration 4) The information processing device according to any one of configurations 1 to 3, wherein the management means manages, for each application to be managed, a snapshot image created at a timing after the application is started in association with the application. (Configuration 5) The information processing device according to any one of configurations 1 to 3, wherein the management means manages, for each application to be managed, a first snapshot image created in common to multiple applications and a second snapshot image created individually for each application in association with each other. (Configuration 6) The information processing device according to any one of configurations 1 to 5, wherein the creation means creates a snapshot image including information for restoring a state of the target device to a state at a timing after an application is saved in the target device. (Configuration 7) The information processing device described in any one of configurations 1 to 5, characterized in that, when an instruction to launch an application is detected after the application is saved in the target device, the creation means creates a snapshot image including information for restoring the state of the target device to the state at a timing after the detection of the launch instruction. (Configuration 8) The information processing device according to any one of configurations 1 to 7, wherein the management means deletes a snapshot image when an instruction to delete at least a part of a series of snapshot images managed by the management means is received. (Configuration 9) The information processing device according to any one of configurations 1 to 8, wherein when the management means is managing a third snapshot image in association with a first application and the creation means creates a fourth snapshot image corresponding to a second application that is a new version of the first application, the management means overwrites the third snapshot image with the fourth snapshot image. (Configuration 10) The information processing device according to any one of configurations 1 to 9, wherein the creation means mounts a non-volatile memory in which a target application is stored, copies the application from the non-volatile memory to a volatile memory, unmounts the non-volatile memory, launches the application, and then creates a snapshot image corresponding to the application. (Configuration 11) An information processing device according to any one of configurations 1 to 10, characterized in that the management means stores a snapshot image managed in association with a target application in a second non-volatile memory different from a first non-volatile memory in which the application is stored. (Method 1) A method of controlling an information processing device, comprising: a creation step of creating, at a timing after an application is launched in a target device, a snapshot image including information for restoring a state of the target device to a state at a timing after the application is launched; a management step of associating and managing the application and the snapshot image created in the creation step; and a control step of using at least a part of a series of snapshot images managed in the management step to restore the state of the target device to the state at the timing when the snapshot image was created. (Program 1) A program for causing a computer to function as an information processing device, comprising: a creation means for creating a snapshot image including information for restoring the state of a target device to the state at the time after an application is launched on the target device; a management means for managing the application and the snapshot image created by the creation means in association with each other; and a control means for using at least a part of a series of snapshot images managed by the management means to restore the state of the target device to the state at the time the snapshot image was created. [Explanation of symbols]
[0050] 100 Imaging device 110 Control section
Claims
1. a creating means for creating, at a timing after the start of an application in a target device, a snapshot image including information for restoring a state of the target device to a state at a timing after the start of the application; a management unit that manages the application and the snapshot image created by the creation unit in association with each other; a control means for restoring a state of the target device to a state at the time when the snapshot image was created, by using at least a part of a series of snapshot images managed by the management means; An information processing device comprising:
2. 2. The information processing apparatus according to claim 1, wherein said control means, when a new snapshot image is created, sets the snapshot image as a snapshot image to be applied to restoring the state of said target apparatus.
3. 2. The information processing device according to claim 1, wherein when an instruction to select one of the series of snapshot images managed by the management means is received, the control means sets the selected snapshot image as the snapshot image to be applied to restore the state of the target device.
4. 2. The information processing apparatus according to claim 1, wherein said management means manages, for each application to be managed, snapshot images created at timings subsequent to the start-up of the application in association with the application.
5. 2. The information processing apparatus according to claim 1, wherein the management means manages, for each application to be managed, a first snapshot image created in common to a plurality of applications and a second snapshot image created individually for each application in association with each other.
6. 2. The information processing device according to claim 1, wherein the creation means creates a snapshot image including information for restoring the state of the target device to the state at a timing after an application is saved in the target device when the application is saved in the target device.
7. The information processing device according to claim 1, characterized in that, when an instruction to launch an application is detected after the application is saved in the target device, the creation means creates a snapshot image including information for restoring the state of the target device to the state at a timing after the detection of the launch instruction.
8. 2. The information processing apparatus according to claim 1, wherein said management means, when an instruction to delete at least a part of a series of snapshot images managed by said management means is received, deletes said snapshot images.
9. 2. The information processing device according to claim 1, wherein, when the management means is managing a third snapshot image in association with a first application and a fourth snapshot image corresponding to a second application which is a new version of the first application is created by the creation means, the management means overwrites the third snapshot image with the fourth snapshot image.
10. The creating means includes: Mounting a non-volatile memory in which a target application is stored and copying the application from the non-volatile memory to a volatile memory; Unmount the non-volatile memory, start the application, and then Create a snapshot image for the application 2. The information processing device according to claim 1.
11. 2. The information processing apparatus according to claim 1, wherein the management means stores the snapshot image managed in association with a target application in a second non-volatile memory different from a first non-volatile memory in which the application is stored.
12. A method for controlling an information processing device, comprising: a creating step of creating a snapshot image including information for restoring a state of the target device to a state at a timing after the application is started in the target device; a management step of managing the application and the snapshot image created in the creation step in association with each other; a control step of restoring a state of the target device to a state at the time when the snapshot image was created, by using at least a part of the series of snapshot images managed in the management step; 2. A method for controlling an information processing device, comprising:
13. Computer, a creating means for creating, at a timing after the start of an application in a target device, a snapshot image including information for restoring a state of the target device to a state at a timing after the start of the application; a management unit that manages the application and the snapshot image created by the creation unit in association with each other; a control means for restoring a state of the target device to a state at the time when the snapshot image was created, by using at least a part of a series of snapshot images managed by the management means; A program for causing an information processing device to function, comprising:
Citation Information
Patent Citations
Image processing apparatus and hibernation starting method
JP2012018554A
Information processor and program
JP2019008461A
