Patent ID: 9363410
Filing Date: 2016-06-07
CPC Classification: H04L,H04N

Claim Text:
1. An electronic device comprising: a data storing unit that comprises an area to store a plurality of pieces of data; a working storing unit that comprises an area to store each piece of data on which a process associated with data compression or data expansion is executed; a transfer request accepting unit that performs a process of accepting a request of transfer of the plurality of pieces of data; a compressed file generating unit that performs a process of generating a compressed file that stores the plurality of pieces of data on the data storing unit in response to the request accepted by the transfer request accepting unit; a compressed file transferring unit that performs a process of transferring the compressed file generated by the compressed file generating unit to an external device; and a data restoring unit that performs a process of restoring the plurality of pieces of data in the compressed file on the data storing unit in a case in which the compressed file is transferred to the external device by the compressed file transferring unit, wherein the compressed file generating unit includes: a converted file generating unit that performs a process of converting, per processing, one of the plurality of pieces of data on the data storing unit by first lossless compression, to thereby generate a converted file on the working storing unit, the converted file generating unit performing a process of generating the converted file on the working storing in a case in which there is no converted file on the working storing unit; an original data deleting unit that performs a process of deleting the one of the plurality of pieces of data from which the converted file is generated by the converted file generating unit, from the data storing unit; a file compressing unit that performs a process of compressing the converted file on the working storing unit by second lossless compression and a process of storing the converted file thus compressed in the compressed file on the data storing unit after the one of the plurality of pieces of data is deleted by the original data deleting unit from the data storing unit; and a first file deleting unit that performs a process of deleting from the working storing unit the converted file before the second lossless compression from which the converted file compressed by the second lossless compression is generated and stored in the compressed file by the file compressing unit, wherein the data restoring unit comprises: a file expanding unit that performs a process of expanding, per processing, one converted file of one of the plurality of pieces of data in the compressed file on the data storing unit and sending the one converted file thus expanded to the working storing unit, the file expanding unit performing the process of expanding the one converted file and sending the one converted file thus expanded to the working storing unit in a case in which there is no converted file on the working storm unit; a second file deleting unit that performs a process of deleting the converted file before expansion, from which the one converted file expanded is generated by the file expanding unit, from the compressed file on the data storing unit; a restored data generating unit that performs a process of generating the data on the data storing unit by restoring the converted file expanded on the working storing unit after the converted file before expansion is deleted by the second file deleting unit; and a third file deleting unit that performs a process of deleting the converted file expanded, from which the data is restored by the restored data generating unit, from the working storing unit.