CROSS-REFERENCE TO RELATED APPLICATION

The present application claims priority under 35 U.S.C. § 119(a) to Korean patent application number 10-2020-0125706, filed on Sep. 28, 2020, in the Korean Intellectual Property Office, the entire disclosure of which is incorporated herein by reference.

BACKGROUND

1. Field of Invention

The present disclosure relates to an electronic device, and more particularly, to a storage device and a method of operating the same.

2. Description of Related Art

A storage device is a device that stores data under control of a host such as a computer or a smartphone. The storage device may include a memory device in which data is stored and a memory controller for controlling the memory device. A memory device may be described as a volatile memory device and a nonvolatile memory device.

A volatile memory device is a memory device that stores data only when power is supplied and loses the stored data when the power supply is cut off. Examples of a volatile memory device include a static random access memory (SRAM), a dynamic random access memory (DRAM), and the like.

A nonvolatile memory device is a device that does not lose data even though power is cut off. Examples of a nonvolatile memory device include a read only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM

(EPROM), an electrically erasable and programmable ROM (EEPROM), a flash memory, and the like.

SUMMARY

Embodiments of the present disclosure provide improved methods of operating a storage device by utilizing a zoned name space.

A storage device according to an embodiment of the present disclosure may include a memory device including a plurality zones, each of the plurality of zones having a plurality of memory blocks that forms a memory block group, a buffer memory device including a host buffer, receiving write data from a host to be stored in one of the plurality of zones, and a memory buffer temporarily storing the write data transmitted from the host buffer, a buffer controller configured to control the buffer memory device to transmit the write data from the memory buffer to the memory device, and a write operation controller configured to control the memory device to store the write data transmitted from the buffer memory device in the one of the plurality of zones, which includes a previously stored data in a first memory block group. The write operation controller may control the memory device to obtain the previously stored data and a corrected write data and to store the previously stored data and the corrected write data in a second memory block group after the write operation controller detects an error in the write data.

A method of operating a storage device including a memory device including a plurality of memory blocks allocated to a plurality of zones according to an embodiment of the present disclosure may include receiving a write request including a write data from a host, temporarily storing the write data transmitted from the host, sequentially storing the temporarily stored write data in one of the plurality of zones in the memory device, determining whether an error is generated while the write data is moved, and performing a recovery operation when an error is generated.

According to the present technology, an improved operation method of a storage device including a zoned name space is provided.

