Storage device, file writing method, and non-transitory computer readable storage medium
First Claim
Patent Images
1. A storage apparatus comprising:
- a memory; and
a processor operatively coupled to the memory, the processor being programmed to;
receive a write request for writing a file with a specified directory name;
in response to the received write request, determine whether the received write request exceeds an upper limit set for the number of files to be written in the memory in association with a directory;
if the received write request does not exceed the upper limit, write the file in association with the directory of the specified directory name into the memory; and
if the received write request exceeds the upper limit, determine a new directory name and transmit the determined new directory name to an external server or terminal by push notification such that the external server or terminal is contacted by the storage apparatus regarding a write operation of the write request only when the received write request exceeds the upper limit.
1 Assignment
0 Petitions
Accused Products
Abstract
A storage device according to the present application includes a receiving unit and a control unit. The receiving unit receives a write request for writing a file with a specified directory name. The control unit writes the file in association with a directory of the specified directory name into a memory device, within a range up to an upper limit set for the number of files to be written in the memory device in association with each directory, in response to the write request received by the receiving unit.
6 Citations
10 Claims
-
1. A storage apparatus comprising:
-
a memory; and a processor operatively coupled to the memory, the processor being programmed to; receive a write request for writing a file with a specified directory name; in response to the received write request, determine whether the received write request exceeds an upper limit set for the number of files to be written in the memory in association with a directory; if the received write request does not exceed the upper limit, write the file in association with the directory of the specified directory name into the memory; and if the received write request exceeds the upper limit, determine a new directory name and transmit the determined new directory name to an external server or terminal by push notification such that the external server or terminal is contacted by the storage apparatus regarding a write operation of the write request only when the received write request exceeds the upper limit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A file writing method for a storage apparatus, the file writing method comprising:
-
receiving, by a processor, a write request for writing a file with a specified directory name; determining, by the processor, whether the received write request exceeds an upper limit set for the number of files to be written in the memory in association with a directory in response to the received write request; if the received write request does not exceed the upper limit, writing, by the processor, the file in association with the directory of the specified directory name into the memory; and if the received write request exceeds the upper limit, determining, by the processor, a new directory name and transmitting the determined new directory name to an external server or terminal by push notification such that the external server or terminal is contacted by the storage apparatus regarding a write operation of the write request only when the received write request exceeds the upper limit.
-
-
10. A non-transitory computer readable storage medium having stored therein a program causing a computer having a processor and memory to execute steps comprising:
-
receiving, by the processor, a write request for writing a file with a specified directory name; and determining, by the processor, whether the received write request exceeds an upper limit set for the number of files to be written in the memory in association with a directory in response to the received write request; if the received write request does not exceed the upper limit, writing, by the processor, the file in association with the directory of the specified directory name into the memory; and if the received write request exceeds the upper limit, determining, by the processor, a new directory name and transmitting the determined new directory name to an external server or terminal by push notification such that the external server or terminal is contacted by the computer regarding a write operation of the write request only when the received write request exceeds the upper limit.
-
Specification