US 11,687,275 B2
Method for assigning plurality of channels of storage device for stream data writing, storage device and storage medium
Ching-Chung Lai, Zhubei (TW); Lian-Chun Lee, Zhubei (TW); and Chun-Shu Chen, Zhubei (TW)
Assigned to SK hynix Inc., Icheon-si (KR)
Filed by SK hynix Inc., Icheon-si (KR)
Filed on Nov. 18, 2021, as Appl. No. 17/529,907.
Claims priority of application No. 109145265 (TW), filed on Dec. 21, 2020.
Prior Publication US 2022/0197543 A1, Jun. 23, 2022
Int. Cl. G06F 3/00 (2006.01); G06F 3/06 (2006.01)
CPC G06F 3/0655 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01)] 11 Claims
OG exemplary drawing
 
1. A method for assigning a plurality of channels of a storage device for stream data writing, the method comprising:
(a) providing global available channel status data and stream suitable channel status data for one of a plurality of streams by a controller of the storage device for processing stream data writing for the plurality of streams, wherein the global available channel status data indicates whether each of the plurality of channels has been assigned for stream data writing, and the stream suitable channel status data indicates whether each of the plurality of channels has been assigned for stream data writing for the one of the plurality of streams;
(b) generating, by the controller, stream available channel status data for the one of the plurality of streams, based on the global available channel status data and the stream suitable channel status data for the stream, wherein the stream available channel status data for the stream indicates whether each of the plurality of channels is available for stream data writing for the one of the plurality of streams;
(c) selecting, by the controller, at least one available channel of the plurality of channels according to the stream available channel status data for the stream;
(d) updating the global available channel status data with respect to the at least one available channel selected to indicate that the at least one available channel selected has been assigned for stream data writing; and
(e) updating the stream suitable channel status data for one of the plurality of streams with respect to the at least one available channel selected to indicate that the at least one available channel selected has been assigned for stream data writing for the one of the plurality of streams.