Electronic device and save data recording method
First Claim
Patent Images
1. An electronic device comprising:
- an execution unit configured to execute an application;
a first acquisition unit configured to acquire from the application an upper limit value declared by the application, the value indicating a size of virtual capacity of a save data area, the size of virtual capacity being a maximum data amount of save data of the application that the application limits itself to the storage of;
a second acquisition unit configured to acquire a size of save data of the application recorded in a recording device; and
a writing control unit configured to prohibit the application from writing save data exceeding in the recording device the size of virtual capacity.
4 Assignments
0 Petitions
Accused Products
Abstract
A virtual capacity acquisition unit acquires a size of virtual capacity of a save data area from an application. A storage capacity acquisition unit acquires a size of save data of the application. A writing control unit prohibits the application from writing the save data exceeding the virtual capacity in a recording device. A free space acquisition unit acquires a size of free space of the recoding device, and the writing control unit prohibits the writing of save data whose size is larger than that of the free space.
20 Citations
7 Claims
-
1. An electronic device comprising:
-
an execution unit configured to execute an application; a first acquisition unit configured to acquire from the application an upper limit value declared by the application, the value indicating a size of virtual capacity of a save data area, the size of virtual capacity being a maximum data amount of save data of the application that the application limits itself to the storage of; a second acquisition unit configured to acquire a size of save data of the application recorded in a recording device; and a writing control unit configured to prohibit the application from writing save data exceeding in the recording device the size of virtual capacity. - View Dependent Claims (2, 3, 4)
-
-
5. A save data recording method comprising:
-
acquiring from an application an upper limit value declared by the application, the value indicating a size of virtual capacity of a save data area, the size of virtual capacity being a maximum data amount of save data of the application that the application limits itself to the storage of; acquiring a size of save data of the application recorded in a recording device; and prohibiting the application from writing save data exceeding in the recording device the size of virtual capacity.
-
-
6. A non-transitory computer-readable recording medium containing a computer program embedded thereon, the computer program comprising:
-
a module configured to acquire from an application an upper limit value declared by the application, the value indicating a size of virtual capacity of a save data area, the size of virtual capacity being a maximum data amount of save data of the application that the application limits itself to the storage of; a module configured to acquire a size of save data of the application recorded in a recording device; and a module configured to prohibit the application from writing save data exceeding in the recording device the size of virtual capacity.
-
-
7. A non-transitory computer-readable recording medium containing a computer program embedded thereon, the computer program comprising:
-
a module configured to give notice of a size of virtual capacity recorded in a configuration file, the size of virtual capacity being a maximum data amount of save data of an application that the application limits itself to the storage of; a module configured to give notice of a request for writing save data; and a module configured to receive a predetermined error code when an application attempts to write the save data that exceeds in a recording device the size of virtual capacity.
-
Specification