Selective encoding method and electronic device using same
AssigneeSamsung Electronics Co., Ltd.
InventorsWoo-Joong Lee, Yeong-Jin Gil, Sung-Hwan Yun, Ki-Tae Lee, Dae-Ho Jeong, Min-Jung Kim
Life of this patent
Estimating the term…
Abstract
An operation method for an electronic device is disclosed. The operation method for an electronic device according to an embodiment may comprise the steps of: configuring a block layer for virtualizing a storage on a volatile memory as a block device; storing a file in the configured block layer in units of blocks; selectively encoding, in a unit of at least one block, the file which has been stored in units of blocks; and storing at least one of an encoded block and a non-encoded block in the storage.
Claims12
An electronic device comprising:
- a non-volatile storage;
- a volatile memory;
- and
- a processor electrically connected with the non-volatile storage and the volatile memory,
- wherein the non-volatile storage stores instructions for causing, when executed, the processor to:
- configure a block layer for virtualizing the non-volatile storage on the volatile memory;
- store at least one file in the configured block layer in a unit of a block;
- identify a first block corresponding to regular data of a regular file by scanning a file tree of the at least one file stored in the non-volatile storage;
- encrypt the first block without encrypting a second block corresponding to meta data of the regular file;
- and
- store at least one of the encrypted first block and the non-encrypted second block in the non-volatile storage.
An electronic device comprising:
- a non-volatile storage;
- a volatile memory;
- and
- a processor electrically connected with the non-volatile storage and the volatile memory, wherein the non-volatile storage stores instructions for causing, when executed, the processor to:
- virtualize the non-volatile storage as a block device on the volatile memory;
- selectively encrypt at least one block corresponding to a file stored in the virtualized non-volatile storage;
- and
- bypass the at least one block to the virtualized non-volatile storage without encrypting the at least one block while checking an error of a file system.
An operation method of an electronic device comprising a non-volatile storage and a volatile memory, the operation method comprising:
- configuring a block layer for virtualizing the non-volatile storage as a block device on the volatile memory;
- storing at least one file in the configured block layer in a unit of a block;
- identifying a first block corresponding to regular data of a regular file by scanning a file tree of the at least one file stored in the non-volatile storage;
- encrypting the first block without encrypting a second block corresponding to meta data of the regular file;
- and
- storing at least one of the encrypted first block or the non-encrypted second block in the non-volatile storage.
A non-transitory recording medium readable on an electronic device, the recording medium having stored therein a program for executing operations of:
- configuring a block layer for virtualizing a storage functionally connected with the electronic device on a memory functionally connected with the electronic device;
- storing at least one file in the configured block layer in a unit of a block;
- identifying a first block corresponding to regular data of a regular file by scanning a file tree of the at least one file stored in the storage;
- encrypting the first block without encrypting a second block corresponding to meta data of the regular file;
- and
- storing at least one of the encrypted first block and the non-encrypted second block in the storage.
Dependencies are inferred from the claim text.