TW201830261A - Data storage device and operating method therefor - Google Patents

Data storage device and operating method therefor Download PDF

Info

Publication number
TW201830261A
TW201830261A TW106121760A TW106121760A TW201830261A TW 201830261 A TW201830261 A TW 201830261A TW 106121760 A TW106121760 A TW 106121760A TW 106121760 A TW106121760 A TW 106121760A TW 201830261 A TW201830261 A TW 201830261A
Authority
TW
Taiwan
Prior art keywords
storage device
data
trigger
host
data storage
Prior art date
Application number
TW106121760A
Other languages
Chinese (zh)
Other versions
TWI643072B (en
Inventor
邱慎廷
Original Assignee
慧榮科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 慧榮科技股份有限公司 filed Critical 慧榮科技股份有限公司
Priority to CN201810001485.4A priority Critical patent/CN108388405B/en
Priority to US15/863,892 priority patent/US10509566B2/en
Publication of TW201830261A publication Critical patent/TW201830261A/en
Application granted granted Critical
Publication of TWI643072B publication Critical patent/TWI643072B/en

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

A data storage device with high efficiency, using a storage transport protocol core and a trigger machine. The storage transport protocol core is provided for communication between the data storage device and a host. The schedule for operating the storage transport protocol core is stored in the trigger machine in advance by firmware of the data storage device. According to the schedule stored in the trigger machine in advance, the trigger machine that takes the place of the firmware triggers the storage transport protocol core to operate in accordance with the schedule.

Description

資料儲存裝置以及其操作方法  Data storage device and method of operation thereof  

本發明係有關於資料儲存裝置。 The present invention relates to a data storage device.

資料儲存裝置所採用的非揮發性記憶體可以是快閃記憶體(flash memory)、磁阻式隨機存取記憶體(Magnetoresistive RAM)、鐵電隨機存取記憶體(Ferroelectric RAM)、電阻式記憶體(Resistive RAM,RRAM)、自旋轉移力矩隨機存取記憶體(Spin Transfer Torque-RAM,簡稱STT-RAM)…等,用於長時間資料保存。如何提升資料儲存裝置之操作效率為本技術領域一項重要課題。 The non-volatile memory used in the data storage device may be a flash memory, a magnetoresistive random access memory (Magnetoresistive RAM), a ferroelectric random access memory (Ferroelectric RAM), and a resistive memory. Resistive RAM (RRAM), Spin Transfer Torque-RAM (STT-RAM), etc., for long-term data storage. How to improve the operational efficiency of data storage devices is an important issue in the technical field.

根據本案一種實施方式所實現的一資料儲存裝置包括一儲存裝置傳輸協定核心以及一觸發機。該儲存裝置傳輸協定核心使該資料儲存裝置與一主機之通訊。該資料儲存裝置之韌體預存該儲存裝置傳輸協定核心之排程至該觸發機。根據所預存之上述排程,該觸發機代替上述韌體觸發該儲存裝置傳輸協定核心動作。 A data storage device implemented in accordance with an embodiment of the present invention includes a storage device transfer protocol core and a trigger. The storage device transport protocol core enables communication of the data storage device with a host. The firmware of the data storage device pre-stores the schedule of the storage device transfer protocol core to the trigger machine. According to the pre-stored schedule, the trigger device triggers the storage device transmission protocol core action instead of the firmware.

根據本案一種實施方式所實現的一資料儲存裝置操作方法包括:提供一儲存裝置傳輸協定核心,使該資料儲存裝置與一主機之通訊;以及經該資料儲存裝置之韌體預存該儲 存裝置傳輸協定核心之排程至一觸發器,使該觸發器根據所預存之上述排程,代替上述韌體觸發該儲存裝置傳輸協定核心動作。 A method for operating a data storage device according to an embodiment of the present invention includes: providing a storage device transmission protocol core to enable communication between the data storage device and a host; and pre-storing the storage device transmission protocol via the firmware of the data storage device The core schedules to a trigger, so that the trigger triggers the storage device to transfer the core action according to the pre-stored schedule instead of the firmware.

下文特舉實施例,並配合所附圖示,詳細說明本發明內容。 The invention is described in detail below with reference to the accompanying drawings.

100‧‧‧電子裝置 100‧‧‧Electronic devices

102‧‧‧存儲器 102‧‧‧ memory

104‧‧‧存儲器控制器 104‧‧‧ memory controller

106‧‧‧主機 106‧‧‧Host

108‧‧‧處理單元 108‧‧‧Processing unit

110‧‧‧指令緊耦合存儲器(ICCM) 110‧‧‧Instructed Tightly Coupled Memory (ICCM)

112‧‧‧數據緊耦合存儲器(DCCM) 112‧‧‧Data Tightly Coupled Memory (DCCM)

114‧‧‧儲存裝置傳輸協定核心 114‧‧‧ Storage Device Transfer Protocol Core

116‧‧‧觸發機 116‧‧‧ trigger machine

118、120‧‧‧暫存器 118, 120‧‧‧ register

S402…S406‧‧‧步驟 S402...S406‧‧‧Steps

第1圖為方塊圖,圖解一電子裝置100,其中配備的一資料儲存裝置包括一存儲器102以及一存儲器控制器104;第2圖為時序圖,舉例說明主機106與該存儲器控制器104之間的互動,係回應主機106發下的一讀取要求;第3圖為時序圖,舉例說明主機106與該存儲器控制器104之間的互動,係回應主機106發下的一寫入要求;以及第4圖為流程圖,根據本案一種實施方式描述該存儲器控制器104如何回應主機106發下的讀取/寫入要求。 1 is a block diagram illustrating an electronic device 100 in which a data storage device includes a memory 102 and a memory controller 104. FIG. 2 is a timing diagram illustrating the host 106 and the memory controller 104. The interaction is in response to a read request from the host 106; the third diagram is a timing diagram illustrating the interaction between the host 106 and the memory controller 104 in response to a write request from the host 106; 4 is a flow diagram depicting how the memory controller 104 responds to read/write requests issued by the host 106 in accordance with an embodiment of the present invention.

以下敘述列舉本發明的多種實施例。以下敘述介紹本發明的基本概念,且並非意圖限制本發明內容。實際發明範圍應依照申請專利範圍界定之。 The following description sets forth various embodiments of the invention. The following description sets forth the basic concepts of the invention and is not intended to limit the invention. The scope of the actual invention shall be defined in accordance with the scope of the patent application.

第1圖為方塊圖,圖解一電子裝置100,其中配備的一資料儲存裝置包括一存儲器102以及一存儲器控制器104。存儲器102在該存儲器控制器104操作下由一主機106存取。 1 is a block diagram illustrating an electronic device 100 in which a data storage device is provided including a memory 102 and a memory controller 104. Memory 102 is accessed by a host 106 under the operation of the memory controller 104.

存儲器控制器104包括一處理單元108、一動態隨 機存取記憶體(DRAM,包括指令緊耦合存儲器(ICCM)110以及數據緊耦合存儲器(DCCM)112)、以及硬件或軟硬體結合實現的一儲存裝置傳輸協定核心114以及一觸發機116。 The memory controller 104 includes a processing unit 108, a dynamic random access memory (DRAM, including an instruction tight coupled memory (ICCM) 110 and a data tight coupled memory (DCCM) 112), and a hardware or software and hardware combination. The storage device transmits a protocol core 114 and a trigger 116.

處理單元108執行該指令緊耦合存儲器(ICCM)110內的指令,使該資料儲存裝置之韌體運行,回應該主機106所發下的指令。數據緊耦合存儲器(DCCM)112用於該存儲器102之讀/寫數據暫存、以及該資料儲存裝置對該主機106之通訊數據之暫存。儲存裝置傳輸協定核心114負責該存儲器控制器104以及該主機106之間的數據傳輸。主機106傳來的封包將由該儲存裝置傳輸協定核心114解封包,暫存至該數據緊耦合存儲器(DCCM)112。該儲存裝置傳輸協定核心114更會將該數據緊耦合存儲器(DCCM)112的內容包裝為封包傳遞給該主機106。該儲存裝置傳輸協定核心114是由該觸發機116觸發執行事項。資料儲存裝置之韌體在排程該儲存裝置傳輸協定核心114的待辦事項後,觸發機116將接棒全權負責在漫長時程中等待觸發該儲存裝置傳輸協定核心114依照排程運作。如此一來,資料儲存裝置之韌體在該儲存裝置傳輸協定核心114依照排程執行事項的期間得以有其他彈性運用。 The processing unit 108 executes the instructions in the instruction tightly coupled memory (ICCM) 110 to cause the firmware of the data storage device to operate, echoing the instructions issued by the host 106. The data tightly coupled memory (DCCM) 112 is used for temporary storage of read/write data of the memory 102 and for temporary storage of communication data of the data storage device with the host 106. The storage device transfer protocol core 114 is responsible for data transfer between the memory controller 104 and the host 106. The packet transmitted by the host 106 will be decapsulated by the storage device transport core 114 and temporarily stored in the data tightly coupled memory (DCCM) 112. The storage device transport protocol core 114 further packages the contents of the data tightly coupled memory (DCCM) 112 as packets for delivery to the host 106. The storage device transfer protocol core 114 is triggered by the trigger machine 116 to execute the transaction. After the firmware of the data storage device schedules the to-do list of the storage device core 114, the trigger 116 is fully responsible for waiting for the storage device to transfer the protocol core 114 to operate in accordance with the schedule in a long time course. As such, the firmware of the data storage device is otherwise resiliently utilized during the storage device transfer core 114 in accordance with the schedule execution.

如第1圖所示,該儲存裝置傳輸協定核心114包括暫存器118,且該觸發機116包括暫存器120。該儲存裝置傳輸協定核心114是根據暫存器118內容而做動。但是,本實施例中,暫存器118並非由資料儲存裝置之韌體直接填寫,而是由該觸發機116填寫。一種實施方式中,暫存器120空間可儲存N筆暫存器118狀況。資料儲存裝置之韌體是將其對該儲存裝置 傳輸協定核心114之排程條列至該觸發機116的暫存器120,隨後即自該儲存裝置傳輸協定核心114之操作脫身。該觸發機116接棒負責根據暫存器120所條列的排程,循序變化該儲存裝置傳輸協定核心114的暫存器118內容,使該儲存裝置傳輸協定核心114依照排程動作。上述暫存器118以及暫存器120可為其他形式之儲存空間。 As shown in FIG. 1, the storage device transfer protocol core 114 includes a scratchpad 118, and the trigger machine 116 includes a scratchpad 120. The storage device transfer protocol core 114 is actuated based on the contents of the scratchpad 118. However, in this embodiment, the register 118 is not directly filled in by the firmware of the data storage device, but is filled in by the trigger 116. In one embodiment, the scratchpad 120 space can store the status of the N-scratch register 118. The firmware of the data storage device is to queue the scheduler for the storage device transfer protocol core 114 to the scratchpad 120 of the trigger machine 116, and then to escape from the operation of the storage device transfer protocol core 114. The trigger 116 is responsible for sequentially changing the contents of the register 118 of the storage device core 114 according to the schedule of the register 120, so that the storage device transmits the protocol core 114 according to the scheduling action. The register 118 and the register 120 can be other forms of storage space.

在一種實施方式中,存儲器102可為快閃記憶體(flash memory)。儲存裝置傳輸協定核心114可以是為了通用快閃存儲(universal flash storage,簡稱UFS)技術而設立,稱為UFS傳輸協定核心(UFS transport protocol),簡稱UTP。存儲器102以及存儲器控制器104可實施成一通用快閃存儲(UFS),可為採用快閃記憶體的嵌入式、或外接式資料儲存裝置,用於電子裝置100。電子裝置100可為智慧型手機、穿戴裝置、平板電腦、虛擬實境設備…之類。主機106可為電子裝置100的中央處理單元(CPU)。 In one embodiment, the memory 102 can be a flash memory. The storage device transport protocol core 114 may be set up for a universal flash storage (UFS) technology, called a UFS transport protocol (UTP). The memory 102 and the memory controller 104 can be implemented as a general purpose flash memory (UFS), which can be an embedded or external data storage device using flash memory for the electronic device 100. The electronic device 100 can be a smart phone, a wearable device, a tablet computer, a virtual reality device, or the like. The host 106 can be a central processing unit (CPU) of the electronic device 100.

以下討論該存儲器控制器104如何實現該存儲器102之讀寫。 How the memory controller 104 implements the read and write of the memory 102 is discussed below.

第2圖為時序圖,舉例說明主機106與該存儲器控制器104之間的互動,係回應主機106發下的一讀取要求。如圖所示,韌體僅在前期作用,後期即閒置可實踐其他操作。 2 is a timing diagram illustrating the interaction between the host 106 and the memory controller 104 in response to a read request from the host 106. As shown in the figure, the firmware works only in the early stage, and other operations can be practiced in the later stage.

前期,韌體會訪問該存儲器102、並將取自該存儲器102的讀取數據暫存至該數據緊耦合存儲器(DCCM)112。此外,韌體會在該數據緊耦合存儲器(DCCM)112上更備妥標示數據傳輸結束的一通訊數據。此外,韌體會排程該儲存裝置傳輸 協定核心114之待辦事項,並且將排程結果條列於該觸發機116的暫存器120。 In the early stage, the firmware accesses the memory 102 and temporarily stores the read data taken from the memory 102 to the data tight coupled memory (DCCM) 112. In addition, the firmware will be more ready to indicate a communication data at the end of the data transmission on the data tight coupled memory (DCCM) 112. In addition, the firmware schedules the to-be-handled items of the storage device transfer core 114 and lists the scheduled results in the register 120 of the trigger 116.

後期,韌體閒置,由觸發機116接棒,依暫存器120條列的內容變化該儲存裝置傳輸協定核心114的暫存器118數值。該儲存裝置傳輸協定核心114隨著暫存器118內容變化而觸發進行相應動作,將排程的待辦事項一一完成。依照第2圖實施例,在觸發機116運作下,該儲存裝置傳輸協定核心114在三次發送讀取數據封包Data_In(data-in package,如Data IN UPIU封包)後,以一傳輸結束封包RSP(RSP package,如Response UPIU封包)告知主機106其讀取要求已被完成。關於讀取數據封包Data_In,該儲存裝置傳輸協定核心114包括自該數據緊耦合存儲器(DCCM)112獲得一段讀取數據,將該段讀取數據包裝為讀取數據封包Data_In並傳送給主機106。關於傳輸結束封包RSP,該儲存裝置傳輸協定核心114包括自該數據緊耦合存儲器(DCCM)112獲得封包內容,包裝為傳輸結束封包RSP並傳送給主機106。該儲存裝置傳輸協定核心114如此一連串”讀取數據封包Data_In發送→讀取數據封包Data_In發送→讀取數據封包Data_In發送→傳輸結束封包RSP發送”都無須韌體參與,而是由觸發機116根據韌體早先存於暫存器120的排程內容變化暫存器118而實現。閒置的韌體可進行其他操作,大幅提升資料儲存裝置之效能。 Later, the firmware is idle, and the trigger 116 is connected to the bar, and the value of the register 118 of the storage device core 114 is changed according to the contents of the 120 columns of the register. The storage device transfer protocol core 114 triggers a corresponding action as the contents of the register 118 changes, and completes the scheduled to-do items one by one. According to the embodiment of FIG. 2, under the operation of the triggering machine 116, the storage device transmission protocol core 114 ends the packet RSP with a transmission after transmitting the data packet (Data_in packet, such as Data IN UPIU packet) three times. The RSP package, such as the Response UPIU packet, informs the host 106 that its read request has been completed. Regarding reading data packet Data_In, the storage device transfer protocol core 114 includes obtaining a piece of read data from the data tightly coupled memory (DCCM) 112, wrapping the segment read data as a read data packet Data_In and transmitting it to the host 106. Regarding the end of transmission packet RSP, the storage device transport protocol core 114 includes obtaining the packet content from the data tightly coupled memory (DCCM) 112, packaged as a transport end packet RSP, and transmitted to the host 106. The storage device transmission protocol core 114 is thus subjected to a series of "read data packet Data_In transmission → read data packet Data_In transmission → read data packet Data_In transmission → transmission end packet RSP transmission" without the firmware participation, but by the trigger machine 116 The firmware is implemented in the schedule content change register 118 of the scratchpad 120. The idle firmware can perform other operations and greatly improve the performance of the data storage device.

第3圖為時序圖,舉例說明主機106與該存儲器控制器104之間的互動,係回應主機106發下的一寫入要求。如圖所示,韌體僅在前期作用,後期即閒置可實踐其他操作。 Figure 3 is a timing diagram illustrating the interaction between the host 106 and the memory controller 104 in response to a write request from the host 106. As shown in the figure, the firmware works only in the early stage, and other operations can be practiced in the later stage.

前期,韌體會在該數據緊耦合存儲器(DCCM)112上備妥通訊數據,用於預告準備好接收數據以及標示數據傳輸結束。此外,韌體會排程該儲存裝置傳輸協定核心114的待辦事項,並且將排程結果條列於該觸發機116的暫存器120。 In the early stage, the firmware prepares communication data on the data tightly coupled memory (DCCM) 112 for predicting that it is ready to receive data and indicating the end of data transmission. In addition, the firmware schedules the to-do items of the storage device transfer protocol core 114 and lists the scheduling results in the register 120 of the trigger 116.

後期,韌體閒置,由觸發機116接棒,依暫存器120條列的內容變化該儲存裝置傳輸協定核心114的暫存器118數值。該儲存裝置傳輸協定核心114隨著暫存器118內容變化而觸發進行相應動作,將排程的待辦事項完成。依照第3圖實施例,在觸發機116運作下,該儲存裝置傳輸協定核心114反覆三回發送預告封包RTT(如Ready To Transfer UPIU封包)以及接收寫入數據封包Data_Out(如Data IN UPIU封包)後,以傳輸一結束封包RSP(RSP package,如Response UPIU封包)告知主機106其寫入要求已被完成。關於預告封包RTT,該儲存裝置傳輸協定核心114是自該數據緊耦合存儲器(DCCM)112獲得封包內容,將之包裝為預告封包RTT後傳送給主機106。關於寫入數據封包Data_Out,該儲存裝置傳輸協定核心114將其解封包後,暫存至該數據緊耦合存儲器(DCCM)112,待稍後收集至該存儲器102。關於結束信息傳輸,該儲存裝置傳輸協定核心114包括自該數據緊耦合存儲器(DCCM)112獲得封包內容,包裝為傳輸結束封包RSP(RSP package,如Response UPIU封包)並傳送給主機106。該儲存裝置傳輸協定核心114如此一連串”預告封包RTT發送→寫入數據封包Data_Out接收→預告封包RTT發送→寫入數據封包Data_Out接收→預告封包RTT發送→寫入數據封包Data_Out接收→結束封包RSP發送”都無須韌體參與,而是由觸 發機116根據韌體早先存於暫存器120的排程內容變化暫存器118而實現。閒置的韌體可進行其他操作,大幅提升資料儲存裝置之效能。 Later, the firmware is idle, and the trigger 116 is connected to the bar, and the value of the register 118 of the storage device core 114 is changed according to the contents of the 120 columns of the register. The storage device transfer protocol core 114 triggers a corresponding action as the contents of the register 118 changes, and the scheduled to-do list is completed. According to the embodiment of FIG. 3, under the operation of the triggering machine 116, the storage device transmission protocol 114 sends a pre-report packet RTT (such as a Ready To Transfer UPIU packet) and a write data packet Data_Out (such as a Data IN UPIU packet). Thereafter, the RSP (RSP package, such as a Response UPIU packet) is sent to inform the host 106 that its write request has been completed. Regarding the trailer packet RTT, the storage device transport protocol core 114 obtains the packet content from the data tightly coupled memory (DCCM) 112, packages it as a trailer packet RTT, and transmits it to the host 106. Regarding the write data packet Data_Out, the storage device transport protocol core 114 decapsulates it and temporarily stores it in the data tightly coupled memory (DCCM) 112, which is to be collected later to the memory 102. Regarding the end information transmission, the storage device transport protocol core 114 includes obtaining the packet content from the data tightly coupled memory (DCCM) 112, packaged as a transport end packet RSP (RSP package, such as a Response UPIU packet), and transmitted to the host 106. The storage device transport protocol core 114 is thus in a series of "pre-announce packet RTT transmission→write data packet Data_Out reception→pre-packet packet RTT transmission→write data packet Data_Out reception→pre-packet packet RTT transmission→write data packet Data_Out reception→end packet RSP transmission "There is no need for the firmware to participate, but is implemented by the trigger 116 according to the schedule content change register 118 that the firmware previously stored in the register 120. The idle firmware can perform other operations and greatly improve the performance of the data storage device.

第4圖為流程圖,根據本案一種實施方式描述該存儲器控制器104如何回應主機106發下的讀取/寫入要求。步驟S402接收主機106發下的讀取/寫入要求。步驟S404中,資料儲存裝置之韌體運行,在該數據緊耦合存儲器(DCCM)112上準備數據,並排成該儲存裝置傳輸協定核心114的待辦事項,並將排程條列於觸發機116的暫存器120。步驟S406中,觸發機116依暫存器120條列內容變化該儲存裝置傳輸協定核心114之暫存器118數值,使該儲存裝置傳輸協定核心114依照排程動作。讀取/寫入要求隨之完整被回應。 4 is a flow diagram depicting how the memory controller 104 responds to read/write requests issued by the host 106 in accordance with an embodiment of the present invention. Step S402 receives the read/write request sent by the host 106. In step S404, the firmware of the data storage device runs, prepares data on the data tightly coupled memory (DCCM) 112, and arranges the to-do items of the storage device transmission protocol core 114, and lists the scheduling items on the trigger machine. The register 120 of 116. In step S406, the triggering machine 116 changes the value of the register 118 of the storage device transmission core 114 according to the contents of the register 120, so that the storage device transmits the protocol core 114 according to the scheduling action. The read/write request is then fully responded.

其他採用上述概念提升資料儲存裝置效能的技術都屬於本案所欲保護的範圍。基於以上技術內容,本案更涉及資料儲存裝置操作方法。 Other techniques for improving the performance of data storage devices using the above concepts are within the scope of the present invention. Based on the above technical content, the present invention further relates to a method of operating a data storage device.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟悉此項技藝者,在不脫離本發明之精神和範圍內,當可做些許更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.

Claims (20)

一種資料儲存裝置,包括:一儲存裝置傳輸協定核心,使該資料儲存裝置與一主機通訊;以及一觸發機,經該資料儲存裝置之韌體預存該儲存裝置傳輸協定核心之排程,並根據所預存之上述排程,代替上述韌體觸發該儲存裝置傳輸協定核心動作。  A data storage device includes: a storage device transmission protocol core that enables the data storage device to communicate with a host; and a trigger device that pre-stores the storage device transmission protocol core schedule via the firmware of the data storage device, and according to The pre-stored schedule, in place of the firmware, triggers the storage device transfer protocol core action.   如申請專利範圍第1項所述之資料儲存裝置,其中:該觸發機代替上述韌體觸發該儲存裝置傳輸協定核心依照上述排程動作時,上述韌體閒置待用於實現該資料儲存裝置其他功能。  The data storage device of claim 1, wherein: the trigger device replaces the firmware to trigger the storage device transmission protocol core according to the scheduling action, and the firmware is idle to be used to implement the data storage device. Features.   如申請專利範圍第1項所述之資料儲存裝置,其中:該儲存裝置傳輸協定核心內建一第一儲存空間,且該儲存裝置傳輸協定核心是根據該第一儲存空間的內容動作;且該觸發器是根據所預存之上述排程變化該第一儲存空間之內容,使該儲存裝置傳輸協定核心依照上述排程動作。  The data storage device of claim 1, wherein: the storage device transport protocol core has a first storage space built therein, and the storage device transfer protocol core operates according to the content of the first storage space; The trigger changes the content of the first storage space according to the pre-stored schedule, so that the storage device transmits the protocol core according to the scheduling action.   如申請專利範圍第3項所述之資料儲存裝置,其中:該觸發機內建一第二儲存空間條列上述排程;且該觸發機是循序查詢該第二儲存空間以變化該儲存裝置傳輸協定核心之該第一儲存空間的內容,使該儲存裝置傳輸協定核心根據上述排程動作。  The data storage device of claim 3, wherein: the triggering machine has a second storage space column for the above scheduling; and the triggering machine sequentially queries the second storage space to change the storage device transmission. The content of the first storage space of the core of the agreement causes the storage device to transfer the protocol core according to the scheduling action described above.   如申請專利範圍第4項所述之資料儲存裝置,其中:該第二儲存空間是由上述韌體填寫。  The data storage device of claim 4, wherein the second storage space is filled in by the firmware.   如申請專利範圍第5項所述之資料儲存裝置,其中: 該觸發機循序查詢該第二儲存空間而變化該儲存裝置傳輸協定核心之該第一儲存空間的內容時,上述韌體閒置待用於實現該資料儲存裝置其他功能。  The data storage device of claim 5, wherein: the triggering machine sequentially queries the second storage space to change the content of the first storage space of the storage device transfer protocol core, and the firmware is idle and ready to use. To achieve other functions of the data storage device.   如申請專利範圍第1項所述之資料儲存裝置,更包括:一存儲器;以及一動態隨機存取記憶體;其中,該主機對該資料儲存裝置發下讀取要求時,上述韌體除了根據該儲存裝置傳輸協定核心的待辦事項產生上述排程、並將上述排程預存至該觸發機外,更訪問該存儲器以取得讀取數據暫存至該動態隨機存取記憶體、且於該動態隨機存取記憶體備妥標示數據傳輸結束的一通訊數據。  The data storage device of claim 1, further comprising: a memory; and a dynamic random access memory; wherein, when the host sends a read request to the data storage device, the firmware is based on The storage device transmits the to-do list of the protocol core to generate the scheduling, and pre-stores the scheduling to the triggering machine, and further accesses the memory to obtain the read data temporarily stored in the dynamic random access memory, and The DRAM is ready to indicate a communication data at the end of the data transmission.   如申請專利範圍第7項所述之資料儲存裝置,其中:該儲存裝置傳輸協定核心是在該觸發器觸發下,讀取該動態隨機存取記憶體以取得並包裝上述讀取數據為讀取數據封包,並發送上述讀取數據封包至該主機;且該儲存裝置傳輸協定核心更在該觸發器觸發下,讀取該動態隨機存取記憶體以取得並包裝上述通訊數據為傳輸結束封包,並發送上述傳輸結束封包給該主機,以告知該主機上述讀取要求已被完成。  The data storage device of claim 7, wherein: the storage device transfer protocol core reads the dynamic random access memory to trigger and read the read data for reading. Data packet, and sending the read data packet to the host; and the storage device transfer protocol triggers the dynamic random access memory to acquire and package the communication data as a transmission end packet, triggered by the trigger. And sending the above-mentioned transmission end packet to the host to inform the host that the above read request has been completed.   如申請專利範圍第1項所述之資料儲存裝置,更包括:一存儲器;以及一動態隨機存取記憶體;其中,該主機對該資料儲存裝置發下寫入要求時,上述韌體除了根據該儲存裝置傳輸協定核心的待辦事項產生上述排 程、並將上述排程預存至該觸發機外,更於該動態隨機存取記憶體備妥通訊數據,用於預告準備好接收數據以及標示數據傳輸結束。  The data storage device of claim 1, further comprising: a memory; and a dynamic random access memory; wherein, when the host sends a write request to the data storage device, the firmware is based on the The storage device transmits the scheduled to-do list to generate the foregoing schedule, and pre-stores the schedule to the trigger machine, and prepares the communication data for the dynamic random access memory, and is used for predicting the ready to receive data and marking The data transfer ends.   如申請專利範圍第9項所述之資料儲存裝置,其中:該儲存裝置傳輸協定核心是在該觸發器觸發下,讀取該動態隨機存取記憶體以取得並包裝上述通訊數據中對應者為預告封包,並發送上述預告封包至該主機;發送上述預告封包至該主機後,該儲存裝置傳輸協定核心更在該觸發器觸發下,將自該主機取得的寫入數據暫存至該動態隨機存取記憶體待收集至該存儲器;且該儲存裝置傳輸協定核心更在該觸發器觸發下,讀取該動態隨機存取記憶體以取得並包裝上述通訊數據中對應者為傳輸結束封包,並發送上述傳輸結束封包給該主機,以告知該主機上述寫入要求已被完成。  The data storage device of claim 9, wherein: the storage device transfer protocol core reads, by the trigger, the dynamic random access memory to obtain and package the corresponding one of the communication data as Pre-packing the packet and sending the foregoing notification packet to the host; after transmitting the foregoing notification packet to the host, the storage device transfer protocol core temporarily stores the write data obtained from the host to the dynamic random The access memory is to be collected to the memory; and the storage device transfer core is further triggered by the trigger to read the dynamic random access memory to obtain and package the corresponding one of the communication data as the end of transmission packet, and Sending the above-mentioned transmission end packet to the host to inform the host that the above write request has been completed.   一種資料儲存裝置操作方法,包括:提供一儲存裝置傳輸協定核心,使該資料儲存裝置與一主機通訊;以及經該資料儲存裝置之韌體預存該儲存裝置傳輸協定核心之排程至一觸發器,使該觸發器根據所預存之上述排程,代替上述韌體觸發該儲存裝置傳輸協定核心動作。  A data storage device operating method includes: providing a storage device transmission protocol core to enable the data storage device to communicate with a host; and pre-storing the storage device transmission protocol core schedule to a trigger via the firmware of the data storage device And causing the trigger to trigger the storage device to transfer the core action according to the pre-stored schedule instead of the firmware.   如申請專利範圍第11項所述之資料儲存裝置操作方法,其中: 該觸發機代替上述韌體觸發該儲存裝置傳輸協定核心依照上述排程動作時,上述韌體閒置待用於實現該資料儲存裝置其他功能。  The data storage device operating method according to claim 11, wherein: the triggering machine replaces the firmware to trigger the storage device transmission protocol core according to the scheduling action, and the firmware is idle to be used for realizing the data storage. Other features of the device.   如申請專利範圍第11項所述之資料儲存裝置操作方法,更包括:於該儲存裝置傳輸協定核心內建一第一儲存空間;其中:該儲存裝置傳輸協定核心是根據該第一儲存空間的內容動作;且該觸發器是根據所預存之上述排程變化該第一儲存空間之內容,使該儲存裝置傳輸協定核心依照上述排程動作。  The method for operating the data storage device of claim 11, further comprising: constructing a first storage space in the core of the storage device transfer protocol; wherein: the storage device transfer protocol core is based on the first storage space The content action; and the trigger changes the content of the first storage space according to the pre-stored schedule, so that the storage device transmits the protocol core according to the scheduling action.   如申請專利範圍第13項所述之資料儲存裝置操作方法,更包括:於該觸發機內建一第二儲存空間,使上述排程條列於該第二儲存空間;其中,該觸發機是循序查詢該第二儲存空間以變化該儲存裝置傳輸協定核心之該第一儲存空間的內容,使該儲存裝置傳輸協定核心根據上述排程動作。  The method of operating the data storage device of claim 13 further includes: constructing a second storage space in the triggering machine, wherein the scheduling bar is listed in the second storage space; wherein the triggering device is The second storage space is sequentially queried to change the content of the first storage space of the storage device transfer protocol core, so that the storage device transmits the protocol core according to the scheduling action.   如申請專利範圍第14項所述之資料儲存裝置操作方法,其中:該第二儲存空間是由上述韌體填寫。  The method of operating a data storage device according to claim 14, wherein the second storage space is filled in by the firmware.   如申請專利範圍第15項所述之資料儲存裝置操作方法,其中: 該觸發機循序查詢該第二儲存空間而變化該儲存裝置傳輸協定核心之該第一儲存空間的內容時,上述韌體閒置待用於實現該資料儲存裝置其他功能。  The method of operating the data storage device of claim 15, wherein: the trigger idlely idles when the triggering device sequentially queries the second storage space to change the content of the first storage space of the storage device transfer protocol core To be used to implement other functions of the data storage device.   如申請專利範圍第11項所述之資料儲存裝置操作方法,其中:該主機對該資料儲存裝置發下讀取要求時,上述韌體除了根據該儲存裝置傳輸協定核心的待辦事項產生上述排程、並將上述排程預存至該觸發機外,更訪問該資料儲存裝置的一存儲器以取得讀取數據暫存至該資料儲存裝置的一動態隨機存取記憶體、且於該動態隨機存取記憶體備妥標示數據傳輸結束的一通訊數據。  The method for operating a data storage device according to claim 11, wherein: when the host sends a reading request to the data storage device, the firmware generates the row according to the to-do item of the storage protocol core according to the storage device. And storing the schedule to the trigger device, and accessing a memory of the data storage device to obtain the read data temporarily stored in a dynamic random access memory of the data storage device, and storing the dynamic random access memory The memory is ready to indicate a communication data at the end of the data transmission.   如申請專利範圍第17項所述之資料儲存裝置操作方法,其中:該儲存裝置傳輸協定核心是在該觸發器觸發下,讀取該動態隨機存取記憶體以取得並包裝上述讀取數據為讀取數據封包,並發送上述讀取數據封包至該主機;且該儲存裝置傳輸協定核心更在該觸發器觸發下,讀取該動態隨機存取記憶體以取得並包裝上述通訊數據為傳輸結束封包,並發送上述傳輸結束封包給該主機,以告知該主機上述讀取要求已被完成。  The data storage device operating method of claim 17, wherein: the storage device transfer protocol core reads the dynamic random access memory to obtain and package the read data under the trigger of the trigger. Reading the data packet, and sending the read data packet to the host; and the storage device transfer protocol core is further triggered by the trigger to read the dynamic random access memory to obtain and package the communication data for the end of the transmission. The packet is sent and the above-mentioned transmission end packet is sent to the host to inform the host that the above read request has been completed.   如申請專利範圍第11項所述之資料儲存裝置操作方法,其中:在該主機對該資料儲存裝置發下寫入要求時,上述韌體除了根據該儲存裝置傳輸協定核心的待辦事項產生上述排 程、並將上述排程預存至該觸發機外,更於該資料儲存裝置的一動態隨機存取記憶體備妥通訊數據,用於預告準備好接收數據以及標示數據傳輸結束。  The method of operating a data storage device according to claim 11, wherein: when the host sends a write request to the data storage device, the firmware generates the above-mentioned to-be-issue according to the storage protocol core of the storage device. The schedule is pre-stored to the trigger machine, and a dynamic random access memory of the data storage device is used to prepare communication data for predicting the ready to receive data and marking the end of the data transmission.   如申請專利範圍第19項所述之資料儲存裝置操作方法,其中:該儲存裝置傳輸協定核心是在該觸發器觸發下,讀取該動態隨機存取記憶體以取得並包裝上述通訊數據中對應者為預告封包,並發送上述預告封包至該主機;發送上述預告封包至該主機後,該儲存裝置傳輸協定核心更在該觸發器觸發下,將自該主機取得的寫入數據暫存至該動態隨機存取記憶體待收集至該資料儲存裝置的一存儲器;且該儲存裝置傳輸協定核心更在該觸發器觸發下,讀取該動態隨機存取記憶體以取得並包裝上述通訊數據中對應者為傳輸結束封包,並發送上述傳輸結束封包給該主機,以告知該主機上述寫入要求已被完成。  The method for operating a data storage device according to claim 19, wherein: the storage device transfer protocol core reads the dynamic random access memory to trigger and buffer the corresponding data in the communication data. The packet is a preview packet, and the foregoing notification packet is sent to the host; after the foregoing notification packet is sent to the host, the storage device transfer protocol core temporarily stores the write data obtained from the host to the trigger. The DRAM is to be collected to a memory of the data storage device; and the storage device transfer protocol core is further triggered by the trigger to read the DRAM to obtain and package the corresponding data in the communication data. The packet is terminated for transmission, and the above-mentioned transmission end packet is sent to the host to inform the host that the above write request has been completed.  
TW106121760A 2017-02-02 2017-06-29 Data storage device and operating method therefor TWI643072B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810001485.4A CN108388405B (en) 2017-02-02 2018-01-02 Data storage device and operation method thereof
US15/863,892 US10509566B2 (en) 2017-02-02 2018-01-06 Data storage device and operating method of data storage device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201762453565P 2017-02-02 2017-02-02
US62/453,565 2017-02-02

Publications (2)

Publication Number Publication Date
TW201830261A true TW201830261A (en) 2018-08-16
TWI643072B TWI643072B (en) 2018-12-01

Family

ID=63960317

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106121760A TWI643072B (en) 2017-02-02 2017-06-29 Data storage device and operating method therefor

Country Status (1)

Country Link
TW (1) TWI643072B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI727269B (en) * 2019-02-27 2021-05-11 瑞昱半導體股份有限公司 Usb device and data transfer method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7240143B1 (en) * 2003-06-06 2007-07-03 Broadbus Technologies, Inc. Data access and address translation for retrieval of data amongst multiple interconnected access nodes
US7979759B2 (en) * 2009-01-08 2011-07-12 International Business Machines Corporation Test and bring-up of an enhanced cascade interconnect memory system
US8443263B2 (en) * 2009-12-30 2013-05-14 Sandisk Technologies Inc. Method and controller for performing a copy-back operation
US9769092B2 (en) * 2010-01-18 2017-09-19 Marvell International Ltd. Packet buffer comprising a data section and a data description section
TWI559151B (en) * 2012-03-05 2016-11-21 祥碩科技股份有限公司 Control method of pipe schedule and control module thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI727269B (en) * 2019-02-27 2021-05-11 瑞昱半導體股份有限公司 Usb device and data transfer method thereof

Also Published As

Publication number Publication date
TWI643072B (en) 2018-12-01

Similar Documents

Publication Publication Date Title
US11216408B2 (en) Time sensitive networking device
US10453501B2 (en) Hybrid LPDDR4-DRAM with cached NVM and flash-NAND in multi-chip packages for mobile devices
WO2014106436A1 (en) Method and apparatus for managing and controlling data queue dequeuing
CN107992271B (en) Data pre-reading method, device, equipment and computer readable storage medium
CN107203335A (en) Storage system and its operating method
US10585822B2 (en) Operation method of host system including storage device and operation method of storage device controller
CN109564502A (en) Treating method and apparatus applied to the access request in storage equipment
CN115102908B (en) Method for generating network message based on bandwidth control and related device
TWI643072B (en) Data storage device and operating method therefor
US9727521B2 (en) Efficient CPU mailbox read access to GPU memory
TWI696949B (en) Direct memory access method, device, dedicated computing chip and heterogeneous computing system
JP2019133662A5 (en)
CN105164636B (en) The method, apparatus and processor of a kind of data communication in virtualized environment
CN108388405B (en) Data storage device and operation method thereof
US9244824B2 (en) Memory sub-system and computing system including the same
CN108319428A (en) A kind of method and device of digital independent
JP5911943B2 (en) At least partial provision of at least one indication that at least a portion of the data is available for processing
JP2008523485A5 (en)
US20150089264A1 (en) Processing apparatus and processing method
US20080010428A1 (en) Method and system for updating network flow statistics stored in an external memory
TWI556102B (en) System and method for accessing data
US20210056057A1 (en) Pcie controller and loopback data path using pcie controller
JP2004318877A (en) Intelligent waiting method
EP3588319A3 (en) Memory module
CN117194827B (en) CDN directory refreshing method and electronic equipment