TW201423567A - Data writing method and system - Google Patents

Data writing method and system Download PDF

Info

Publication number
TW201423567A
TW201423567A TW101146708A TW101146708A TW201423567A TW 201423567 A TW201423567 A TW 201423567A TW 101146708 A TW101146708 A TW 101146708A TW 101146708 A TW101146708 A TW 101146708A TW 201423567 A TW201423567 A TW 201423567A
Authority
TW
Taiwan
Prior art keywords
access
data
storage unit
type
application
Prior art date
Application number
TW101146708A
Other languages
Chinese (zh)
Other versions
TWI539368B (en
Inventor
Po-Wei Wu
Hsin-Yu Chen
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to TW101146708A priority Critical patent/TWI539368B/en
Publication of TW201423567A publication Critical patent/TW201423567A/en
Application granted granted Critical
Publication of TWI539368B publication Critical patent/TWI539368B/en

Links

Abstract

A data writing method and a system using the same are provided for writing data from a host system into a storage device having a first storage unit and a second storage unit. The method includes providing an application characteristic database. The method also includes receiving a write command from an application running on the host system. The method further includes obtaining a data access pattern corresponding to the application from the application characteristic database, and selecting one of the first storage unit and the second storage unit for writing data therein according to the obtained data access pattern and a management strategy.

Description

資料寫入方法與系統 Data writing method and system

本發明是有關於一種資料寫入方法,且特別是有關於一種將資料寫入具有數類儲存單元之儲存裝置的方法與系統。 The present invention relates to a method of writing data, and more particularly to a method and system for writing data to a storage device having a plurality of types of storage units.

所謂的雙碟式儲存系統是以傳統硬碟(Hard Disk Drive,HDD)搭配固態硬碟(Solid State Disk,SSD)所組成,其兼具傳統硬碟之高容量以及固態硬碟之高速度的特點,而逐漸被廣泛使用於電腦系統。 The so-called two-disc storage system is a combination of a traditional hard disk drive (HDD) and a solid state disk (SSD). It combines the high capacity of a traditional hard disk with the high speed of a solid state hard disk. Features are gradually being widely used in computer systems.

詳言之,固態硬碟雖具有讀寫速度快的優點,但由於其價格高於傳統硬碟許多,因此若僅使用固態硬碟作為儲存媒介,則容易導致儲存系統的成本過高。基此,在講求高儲存容量的儲存系統之中,仍會以傳統硬碟作為主要的儲存媒介,並搭配相對來說容量較小的固態硬碟以作為資料緩存之用。也就是說,大多數的雙碟式儲存系統在接收到電腦系統欲寫入的資料時,會先將資料存入存取速度較快的固態硬碟,待系統空閒時再將資料由固態硬碟搬移至傳統硬碟。據此可確保資料存取速度以及儲存容量都能符合使用者的需求。 In detail, although the solid-state hard disk has the advantage of fast reading and writing speed, since the price is higher than that of the conventional hard disk, if only the solid-state hard disk is used as the storage medium, the cost of the storage system is likely to be too high. Therefore, in a storage system that emphasizes high storage capacity, a conventional hard disk is still used as a main storage medium, and a relatively small-capacity solid-state hard disk is used as a data cache. In other words, most of the two-disc storage systems will store the data in a solid-state hard disk with a fast access speed when receiving the data to be written by the computer system. The disc is moved to a traditional hard drive. This ensures that the data access speed and storage capacity are consistent with the needs of the user.

然而,正由於雙碟式儲存系統中的固態硬碟只能提供較小的儲存容量,因此如何更有效地將資料寫入以讓使用者更明確感受到固態硬碟的優點,則是相關業者在開發產 品時的重要課題之一。 However, because the SSD in the dual-disc storage system can only provide a small storage capacity, how to write the data more effectively so that the user can more clearly feel the advantages of the solid-state hard disk is the relevant industry. Developing and producing One of the important topics in product time.

有鑑於此,本發明提供一種資料寫入方法與系統,能有效改善具有數類儲存單元之儲存裝置的效能、功耗以及裝置壽命。 In view of this, the present invention provides a data writing method and system, which can effectively improve the performance, power consumption, and device life of a storage device having several types of storage units.

本發明提出資料寫入方法,用以從主機系統將資料寫入具有第一儲存單元與第二儲存單元的儲存裝置,此方法包括提供應用程式特性資料庫。接收執行於主機系統之應用程式欲將資料寫入儲存裝置的寫入指令。自應用程式特性資料庫取得應用程式所對應的資料存取型態。並且依據資料存取型態與存取管理策略選擇將資料寫入至第一儲存單元或第二儲存單元。 The invention provides a data writing method for writing data from a host system to a storage device having a first storage unit and a second storage unit, the method comprising providing an application property database. A write command is received from an application executing on the host system to write data to the storage device. Get the data access type corresponding to the application from the application property database. And selecting data to be written to the first storage unit or the second storage unit according to the data access type and the access management policy.

在本發明之一實施例中,其中存取管理策略包括第一儲存單元所對應的第一類存取規則以及第二儲存單元所對應的第二類存取規則。 In an embodiment of the present invention, the access management policy includes a first type of access rule corresponding to the first storage unit and a second type of access rule corresponding to the second storage unit.

在本發明之一實施例中,其中資料存取型態包括存取頻率、檔案大小與單一指令存取資料量個別的統計值,而依據資料存取型態與存取管理策略選擇將資料寫入至第一儲存單元或第二儲存單元的步驟包括當存取頻率、檔案大小與單一指令存取資料量個別的統計值符合第一類存取規則時,將資料寫入第一儲存單元。當存取頻率、檔案大小與單一指令存取資料量個別的統計值符合第二類存取規則時,將資料寫入第二儲存單元。 In an embodiment of the present invention, the data access type includes an access frequency, a file size, and a single instruction access data amount, and the data is written according to the data access type and the access management policy. The step of entering the first storage unit or the second storage unit includes writing the data to the first storage unit when the access frequency, the file size, and the individual statistical value of the single instruction access data amount conform to the first type of access rule. When the access frequency, the file size, and the individual statistical value of the single instruction access data amount conform to the second type of access rule, the data is written into the second storage unit.

在本發明之一實施例中,其中提供應用程式特性資料庫的步驟包括在特定期間內收集應用程式之存取頻率、檔案大小與單一指令存取資料量的多個實際值。根據上述實際值計算存取頻率、檔案大小與單一指令存取資料量個別的統計值。將存取頻率、檔案大小與單一指令存取資料量個別的統計值記錄於應用程式特性資料庫。 In an embodiment of the invention, the step of providing an application property database includes collecting an application access frequency, a file size, and a plurality of actual values of a single instruction access data amount during a specific period. According to the above actual value, the statistical value of the access frequency, the file size and the single instruction access data amount are calculated. The statistics of the access frequency, the file size, and the single instruction access data amount are recorded in the application property database.

在本發明之一實施例中,此資料寫入方法更包括根據寫入指令的內容更新記錄在應用程式特性資料庫中應用程式所對應的資料存取型態。並且,定期依據儲存裝置的運作表現修正第一類存取規則及/或第二類存取規則。 In an embodiment of the invention, the data writing method further comprises updating the data access type corresponding to the application recorded in the application property database according to the content of the write command. Moreover, the first type of access rules and/or the second type of access rules are periodically modified according to the operational performance of the storage device.

在本發明之一實施例中,其中第一儲存單元為快閃記憶體儲存單元,且第一類存取規則至少包括高存取頻率門檻值與隨機存取模式,而第二儲存單元為磁碟片儲存單元,且第二類存取規則至少包括大檔案容量下限值與連續存取模式。 In an embodiment of the invention, the first storage unit is a flash memory storage unit, and the first type of access rule includes at least a high access frequency threshold and a random access mode, and the second storage unit is magnetic. A disc storage unit, and the second type of access rule includes at least a large file capacity lower limit value and a continuous access mode.

從另一觀點來看,本發明提出一種資料寫入系統,包括相互耦接的應用程式特性資料庫以及決策模組。其中,決策模組在接收執行於主機系統之應用程式欲將一資料寫入儲存裝置的寫入指令時,自應用程式特性資料庫取得應用程式所對應的資料存取型態,並且依據資料存取型態與存取管理策略選擇將資料寫入至儲存裝置的第一儲存單元或第二儲存單元。 From another point of view, the present invention provides a data writing system including an application property database and a decision module coupled to each other. The decision module obtains the data access type corresponding to the application from the application property database when receiving the write command executed by the application executed by the host system to write a data to the storage device, and saves the data according to the data. The fetching mode and the access management policy select to write the data to the first storage unit or the second storage unit of the storage device.

在本發明之一實施例中,其中存取管理策略包括第一儲存單元所對應的第一類存取規則以及第二儲存單元所對 應的第二類存取規則。 In an embodiment of the present invention, the access management policy includes a first type of access rule corresponding to the first storage unit and a second storage unit The second type of access rule should be.

在本發明之一實施例中,其中資料存取型態包括存取頻率、檔案大小與單一指令存取資料量個別的統計值,而決策模組在存取頻率、檔案大小與單一指令存取資料量個別的統計值符合第一類存取規則時,選擇將資料寫入第一儲存單元。並且,決策模組在存取頻率、檔案大小與單一指令存取資料量個別的統計值符合第二類存取規則時,選擇將資料寫入第二儲存單元。 In an embodiment of the invention, the data access type includes an access frequency, a file size, and a single instruction access data amount, and the decision module accesses the frequency, the file size, and the single instruction access. When the individual statistics of the data volume meet the first type of access rules, the data is selected to be written into the first storage unit. Moreover, the decision module selects to write the data to the second storage unit when the access frequency, the file size, and the individual statistic value of the single instruction access data amount meet the second type of access rule.

在本發明之一實施例中,資料寫入系統更包括資料庫建立模組,其耦接至應用程式特性資料庫。資料庫建立模組在一特定期間內收集應用程式之存取頻率、檔案大小與單一指令存取資料量的多個實際值,根據上述實際值計算存取頻率、檔案大小與單一指令存取資料量個別的統計值,以及將存取頻率、檔案大小與單一指令存取資料量個別的統計值記錄於應用程式特性資料庫。 In an embodiment of the present invention, the data writing system further includes a database building module coupled to the application property database. The database building module collects the actual frequency of the application access frequency, the file size and the single instruction access data amount in a specific period, and calculates the access frequency, the file size and the single instruction access data according to the actual value. The individual statistical values, as well as the individual statistics of the access frequency, file size and single instruction access data, are recorded in the application property database.

在本發明之一實施例中,其中決策模組根據寫入指令的內容更新記錄在應用程式特性資料庫中應用程式所對應的資料存取型態,並定期依據儲存裝置的運作表現修正第一類存取規則及/或第二類存取規則。 In an embodiment of the present invention, the decision module updates the data access type corresponding to the application recorded in the application property database according to the content of the write command, and periodically corrects the first according to the operation performance of the storage device. Class access rules and/or second class access rules.

在本發明之一實施例中,其中第一儲存單元為快閃記憶體儲存單元,且第一類存取規則至少包括高存取頻率門檻值與隨機存取模式,而第二儲存單元為磁碟片儲存單元,且第二類存取規則至少包括大檔案容量下限值與連續存取模式。 In an embodiment of the invention, the first storage unit is a flash memory storage unit, and the first type of access rule includes at least a high access frequency threshold and a random access mode, and the second storage unit is magnetic. A disc storage unit, and the second type of access rule includes at least a large file capacity lower limit value and a continuous access mode.

基於上述,本發明所述之資料寫入方法與系統能適當地選擇將資料寫入儲存裝置的第一儲存單元或第二儲存單元,據此發揮不同類型之儲存單元的優勢,以提升儲存裝置的整體效能,同時達到有效控管儲存裝置的耗電量並延長裝置使用壽命的目的。 Based on the above, the data writing method and system of the present invention can appropriately select the data to be written into the first storage unit or the second storage unit of the storage device, thereby utilizing the advantages of different types of storage units to enhance the storage device. The overall performance, while achieving the purpose of effectively controlling the power consumption of the storage device and extending the life of the device.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the present invention will be more apparent from the following description.

圖1是依照本發明之一實施例所繪示之資料寫入系統的使用示意圖。請參閱圖1,資料寫入系統100係配置於主機系統10。在本實施例中,主機系統10可以是桌上型電腦、筆記型電腦、平板電腦,或各種具備運算處理能力的電子裝置,在此並不限制其種類。作業系統13係用以管理主機系統10的硬體及軟體資源,而其餘可執行於主機系統10的應用程式(application)151至15n(n為正整數)則必須透過作業系統13來使用主機系統10的硬體資源。 1 is a schematic diagram of the use of a data writing system according to an embodiment of the invention. Referring to FIG. 1, the data writing system 100 is configured in the host system 10. In this embodiment, the host system 10 may be a desktop computer, a notebook computer, a tablet computer, or various electronic devices having arithmetic processing capabilities, and the types thereof are not limited herein. The operating system 13 is used to manage the hardware and software resources of the host system 10, and the remaining applications 15 1 to 15 n (n is a positive integer) executable in the host system 10 must be used by the operating system 13. The hardware resources of the host system 10.

儲存裝置20可內建於主機系統10,或透過傳輸線外接於主機系統10。詳言之,儲存裝置20具有第一儲存單元21與第二儲存單元23,其中第一儲存單元21與第二儲存單元23分別採用不同類型的儲存媒介。為了方便說明,在以下的實施例中均假設第一儲存單元21是以快閃記憶體(flash memory)作為儲存媒介的快閃記憶體儲存單元,例如固態硬碟(Solid State Disk,SSD),而第二儲存單元 23則是以磁碟片作為儲存媒介的磁碟片儲存單元,例如硬碟(Hard Disk Drive,HDD)。也就是說,第一儲存單元21的資料存取速度會高於第二儲存單元23。然而基於成本考量,在儲存裝置20中第二儲存單元23的容量則大於第一儲存單元21。 The storage device 20 can be built into the host system 10 or externally connected to the host system 10 via a transmission line. In detail, the storage device 20 has a first storage unit 21 and a second storage unit 23, wherein the first storage unit 21 and the second storage unit 23 respectively use different types of storage media. For convenience of description, it is assumed in the following embodiments that the first storage unit 21 is a flash memory storage unit using a flash memory as a storage medium, such as a Solid State Disk (SSD). Second storage unit 23 is a disk storage unit using a disk as a storage medium, such as a Hard Disk Drive (HDD). That is to say, the data access speed of the first storage unit 21 is higher than that of the second storage unit 23. However, based on cost considerations, the capacity of the second storage unit 23 in the storage device 20 is greater than that of the first storage unit 21.

資料寫入系統100用以將來自主機系統10的資料寫入至儲存裝置20,特別是將應用程式151至15n所產生的資料寫入儲存裝置20。如圖1所示,資料寫入系統100包括應用程式特性資料庫110、決策模組120與資料庫建立模組130。其中,決策模組120與資料庫建立模組130個別耦接至應用程式特性資料庫110。資料寫入系統100之各構件的功能茲分述如下: 應用程式特性資料庫110用以記錄安裝於主機系統10之各種應用程式151至15n與其資料存取型態。在本實施例中,應用程式特性資料庫110是由資料庫建立模組130收集應用程式151至15n的實際執行狀況所建立而成。然而在其他實施例中,應用程式特性資料庫110也可以是由主機系統10的製造商所提供,並由使用者自行將其載入資料寫入系統100。 The data writing system 100 is used to write data from the host system 10 to the storage device 20, and in particular to write the data generated by the applications 15 1 to 15 n to the storage device 20. As shown in FIG. 1, the data writing system 100 includes an application property database 110, a decision module 120, and a database creation module 130. The decision module 120 and the database creation module 130 are individually coupled to the application property database 110. The functions of the components of the data writing system 100 are described as follows: The application property database 110 is used to record various applications 15 1 to 15 n installed in the host system 10 and their data access types. In the present embodiment, the application property database 110 is created by the database creation module 130 collecting the actual execution status of the applications 15 1 to 15 n . In other embodiments, however, the application property database 110 may also be provided by the manufacturer of the host system 10 and written by the user to the system 100.

決策模組120用以在執行於主機系統10的任一應用程式欲將資料寫入儲存裝置20時,根據應用程式特性資料庫110提供的資訊來預測此應用程式對於儲存裝置20的讀寫需求,並據以決定要將資料寫入第一儲存單元21或第二儲存單元23。透過決策模組120的運作能發揮不同類型之 儲存單元的優點。例如,適時利用第一儲存單元21所具有的高存取速度來降低使用者等待資料存取的時間,並利用第二儲存單元23價格較低廉之優點,提高儲存裝置20的儲存容量以滿足使用者對儲存容量的需求。 The decision module 120 is configured to predict the read and write requirements of the application for the storage device 20 according to the information provided by the application property database 110 when any application executed by the host system 10 is to be written into the storage device 20. And accordingly, it is decided to write the data into the first storage unit 21 or the second storage unit 23. Through the operation of the decision module 120, different types can be used. The advantages of the storage unit. For example, the high access speed of the first storage unit 21 is used to reduce the time for the user to wait for data access, and the storage capacity of the storage device 20 is increased to meet the use of the second storage unit 23. The need for storage capacity.

在本實施例中,決策模組120可為具有處理能力的硬體元件,例如中央處理單元(Central Processing Unit,CPU)或微處理器(Microprocessor)等,或是由邏輯閘及相關電路所構成。在又一實施例中,決策模組120也可以是具有邏輯運算及處理能力的軟體元件(例如應用程式)。在其他實施例中,決策模組120也可以是前述硬體元件及軟體元件的組合。 In this embodiment, the decision module 120 can be a hardware component with processing capability, such as a central processing unit (CPU) or a microprocessor (Microprocessor), or a logic gate and related circuits. . In yet another embodiment, the decision module 120 can also be a software component (eg, an application) having logical operations and processing capabilities. In other embodiments, the decision module 120 can also be a combination of the aforementioned hardware components and software components.

以下將以圖1搭配圖2來說明本實施例之資料寫入系統100的詳細運作方式。請同時參閱圖1及圖2。 The detailed operation of the data writing system 100 of the present embodiment will be described below with reference to FIG. Please also refer to Figure 1 and Figure 2.

首先如步驟S210所示,提供應用程式特性資料庫110。具體來說,由於不同類型的應用程式在使用上往往對應不同的資料存取型態,例如多媒體播放應用程式所存取的多半是較大且連續的檔案,而文書處理應用程式相對來說則常存取較小的檔案。舉例來說,圖3是關於試算表應用程式、文書處理應用程式、電子郵件應用程式、簡報應用程式,以及影像編輯應用程式分別之於不同資料存取型態的表現。請參閱圖3,在隨機讀取的資料量不超過16千位元組(KiloByte,KB)的這類資料存取型態中,文書處理應用程式的比例高於其他應用程式,表示由文書處理應用程式建立的資料在日後讀取上多為小容量的隨機讀取。 而在連續讀取的這類資料存取型態中,影像編輯應用程式的比例遠高於其他應用程式,表示由影像編輯應用程式建立的資料在日後讀取上多為連續讀取。為了能針對各應用程式的特性來選擇適用的儲存單元,針對可執行於主機系統10的應用程式151至15n,資料庫建立模組130將在一段特定期間內收集各應用程式執行時的資料存取型態。例如收集存取頻率、檔案大小、單一讀取或寫入指令所對應的存取資料量等各種資料存取型態的實際值。再根據上述實際值計算每一應用程式之存取頻率、檔案大小與單一指令存取資料量個別的統計值,並將上述統計值記錄於應用程式特性資料庫以做為應用程式的資料存取型態。 First, as shown in step S210, an application property database 110 is provided. Specifically, since different types of applications often use different data access types, for example, multimedia playback applications access large and continuous files, while document processing applications are relatively large. Frequent access to smaller files. For example, Figure 3 shows the performance of the spreadsheet application, the word processing application, the email application, the newsletter application, and the image editing application for different data access types. Referring to FIG. 3, in such a data access type in which the amount of data read randomly does not exceed 16 kilobytes (KiloByte, KB), the proportion of the word processing application is higher than that of other applications, indicating that the file is processed by the word processing. The data created by the application will be read as a small random read in the future. In the continuous access of such data access types, the proportion of image editing applications is much higher than other applications, indicating that the data created by the image editing application is continuously read in the future. In order to select suitable storage units for the characteristics of each application, for the applications 15 1 to 15 n executable in the host system 10, the database creation module 130 will collect the execution time of each application during a specific period of time. Data access type. For example, the actual value of various data access types such as the access frequency, the file size, and the amount of access data corresponding to a single read or write command are collected. Calculate the statistics of each application's access frequency, file size and single instruction access data according to the actual value, and record the above statistics in the application property database as the application data access. Type.

爾後,當執行於主機系統10的某一應用程式(例如,應用程式151)欲將資料寫入儲存裝置20時,作業系統13會將寫入指令與欲寫入的資料傳送給決策模組120,故如步驟S220所示,決策模組120接收到應用程式151欲將資料寫入儲存裝置的寫入指令。 Then, when an application (for example, the application program 15 1 ) executing in the host system 10 wants to write data to the storage device 20 , the operating system 13 transmits the write command and the data to be written to the decision module. 120. Therefore, as shown in step S220, the decision module 120 receives a write command from the application program 15 1 to write data to the storage device.

接著在步驟S230中,決策模組120自應用程式特性資料庫110取得應用程式151所對應的資料存取型態,包括存取頻率、檔案大小與單一指令存取資料量個別的統計值。並且如步驟S240所示,決策模組120依據資料存取型態與一存取管理策略選擇將資料寫入至儲存裝置20的第一儲存單元21或第二儲存單元23。 Next, at step S230, the decision module 120 from the application database 110 to obtain characteristic application 151 corresponding to the data access type, including an access frequency, a single instruction, file size and access data amount of individual statistics. And as shown in step S240, the decision module 120 selects to write the data to the first storage unit 21 or the second storage unit 23 of the storage device 20 according to the data access type and an access management policy.

在本實施例中,存取管理策略包括第一儲存單元21所對應的第一類存取規則以及第二儲存單元23所對應的 第二類存取規則。進一步來說,當第一儲存單元21為快閃記憶體儲存單元,第一類存取規則至少包括高存取頻率門檻值與隨機存取模式,當第二儲存單元23為磁碟片儲存單元,第二類存取規則至少包括大檔案容量下限值與連續存取模式。 In this embodiment, the access management policy includes a first type of access rule corresponding to the first storage unit 21 and a corresponding one of the second storage unit 23 The second type of access rules. Further, when the first storage unit 21 is a flash memory storage unit, the first type of access rule includes at least a high access frequency threshold and a random access mode, and when the second storage unit 23 is a disk storage unit. The second type of access rule includes at least a large file capacity lower limit value and a continuous access mode.

圖4是依照本發明之一實施例所繪示之依據資料存取型態與存取管理策略選擇將資料寫入第一或第二儲存單元的流程圖。 4 is a flow chart of selecting data to be written into a first or second storage unit according to a data access type and an access management policy according to an embodiment of the invention.

如圖4之步驟S410所示,決策模組120會判斷應用程式151之存取頻率、檔案大小與單一指令存取資料量個別的統計值是符合第一類存取規則或第二類存取規則。當符合第一類存取規則時,如步驟S420所示,決策模組120選擇將資料寫入第一儲存單元21。而在符合第二類存取規則時,如步驟S430所示,決策模組120選擇將資料寫入第二儲存單元23。 Step S410 of FIG. 4, the decision module 120 determines 151 the application access frequency and file size of individual single instruction, access the data amount is consistent with the statistical value of the first type or the second type of memory access rule Take the rules. When the first type of access rule is met, the decision module 120 selects to write the data to the first storage unit 21 as shown in step S420. When the second type of access rule is met, the decision module 120 selects to write the data to the second storage unit 23 as shown in step S430.

舉例來說,在一實施例中,決策模組120將取自應用程式特性資料庫110之存取頻率的統計值與高存取頻率門檻值進行比較。若存取頻率到達高存取頻率門檻值,則判斷應用程式151可能經常有高頻率的寫入及讀取操作,故決策模組120會選擇具有高讀寫速度的第一儲存單元21來儲存資料。反之,便以第二儲存單元23來儲存資料。例如,當使用者利用文書處理應用程式或試算表應用程式來撰寫報告或記錄實驗數據時,由於這些檔案在近期內再被讀取或修改的機會較高,因此將資料寫入第一儲存單元21 能大幅縮短使用者等待檔案開啟的時間。 For example, in one embodiment, the decision module 120 compares the statistics of the access frequency taken from the application profile database 110 with the high access frequency threshold. If the access frequency reaches the high access frequency threshold, it is determined that the application 15 1 may often have high frequency write and read operations, so the decision module 120 selects the first storage unit 21 with high read/write speed. Store data. Instead, the second storage unit 23 stores the data. For example, when a user writes a report or records experimental data using a word processing application or a spreadsheet application, the data is written to the first storage unit because the files are more likely to be read or modified in the near future. 21 can significantly shorten the time the user waits for the file to open.

在另一實施例中,決策模組120將取自應用程式特性資料庫110之檔案大小的統計值與大檔案容量下限值進行比較。若檔案大小到達大檔案容量下限值,決策模組120將選擇以第二儲存單元23來儲存資料,以避免大檔案太快將第一儲存單元21的可用空間耗盡。舉例來說,高畫質影片的檔案大小動輒數十億位元組(GigaByte,GB),且通常在儲存之後被使用者經常再讀取或編輯的機會不大。倘若都將這類檔案存入容量較小的第一儲存單元21,則很快便無法利用第一儲存單元21的快速讀寫能力來處理後續欲寫入及讀取的資料。而倘若將其存入容量高出第一儲存單元21許多的第二儲存單元23則可避免上述情況,且由於這類檔案日後被存取的次數較不頻繁,故即便第二儲存單元23的存取速度較慢,對使用者來說也不會明顯感受到差異。 In another embodiment, the decision module 120 compares the statistical value of the file size taken from the application property database 110 with the large file capacity lower limit. If the file size reaches the upper limit of the large file capacity, the decision module 120 will select to store the data in the second storage unit 23 to prevent the large file from exhausting the available space of the first storage unit 21 too quickly. For example, high-definition movies have file sizes that are billions of bits (GigaByte, GB) and are often less likely to be read or edited by users after storage. If such a file is stored in the first storage unit 21 having a small capacity, the fast reading and writing capability of the first storage unit 21 cannot be quickly utilized to process the data to be subsequently written and read. If the second storage unit 23 having a capacity higher than the first storage unit 21 is stored, the above situation can be avoided, and since the number of times such files are accessed later is less frequent, even the second storage unit 23 The access speed is slower and the difference is not obvious to the user.

此外,由於快閃記憶體儲存單元是以實體區塊作為資料抹除的單位,並以實體頁面作為資料寫入的單位。而每一實體區塊會包括數個實體頁面。因此當決策模組120選擇要將資料寫入第一儲存單元21時,則可以進一步判斷欲寫入的資料是否超過一個實體區塊的容量,若是,則以整塊區塊寫入(Entire Block Write,EBW)的方式來將資料以連續的方式寫入,以提升資料寫入速度。反之,倘若欲寫入的資料未超過一個實體區塊的容量,則以一般方式將資料寫入。 In addition, since the flash memory storage unit is a unit that erases physical blocks as data, and uses a physical page as a unit for data writing. Each physical block will include several physical pages. Therefore, when the decision module 120 selects to write data to the first storage unit 21, it can further determine whether the data to be written exceeds the capacity of one physical block, and if so, writes in a whole block (Entire Block) Write, EBW) way to write data in a continuous manner to improve data writing speed. Conversely, if the data to be written does not exceed the capacity of one physical block, the data is written in a normal manner.

在又一實施例中,決策模組120根據取自應用程式特性資料庫110之單一指令存取資料量的統計值來判斷應用程式151是較常採用隨機存取模式或連續存取模式。舉例來說,在隨機存取模式下每一指令的存取資料量多半不超過16千位元組,因此倘若取自應用程式特性資料庫110的單一指令存取資料量的統計值小於上述門檻值,則決策模組120判斷應用程式151較常採用隨機存取模式,故選擇以存取速度較快的第一儲存單元21來儲存應用程式151欲寫入之資料。反之,決策模組120判斷應用程式151較常採用連續存取模式,由於在連續存取模式下,第一儲存單元21之高存取速度的優勢較不易完全展現,因此決策模組120將選擇以第二儲存單元23來儲存應用程式151欲寫入之資料。 In another embodiment, the decision module 120 determines that the application program 15 1 is more commonly used in a random access mode or a continuous access mode according to a statistical value of a single instruction access data amount taken from the application property database 110. For example, in the random access mode, the amount of data accessed per instruction does not exceed 16 kilobytes, so if the single instruction access data amount from the application property database 110 is less than the above threshold. For example, the decision module 120 determines that the application program 15 1 uses the random access mode. Therefore, the first storage unit 21 with a faster access speed is selected to store the data to be written by the application program 15 1 . On the contrary, the decision module 120 determines that the application program 15 1 adopts the continuous access mode. Since the advantage of the high access speed of the first storage unit 21 is not fully displayed in the continuous access mode, the decision module 120 will The second storage unit 23 is selected to store the data to be written by the application 15 1 .

值得一提的是,決策模組120會根據每次接收到之寫入指令的內容來更新記錄在應用程式特性資料庫110中相對應之應用程式的資料存取型態。例如,調整存取頻率、檔案大小與單一指令存取資料量個別的統計值。並且,決策模組120會定期依據儲存裝置20的運作表現來修正第一類存取規則及/或第二類存取規則。 It is worth mentioning that the decision module 120 updates the data access type of the corresponding application recorded in the application property database 110 according to the content of the write command received each time. For example, adjust the access frequency, file size, and individual instruction to access individual statistics. Moreover, the decision module 120 periodically corrects the first type of access rules and/or the second type of access rules according to the operational performance of the storage device 20.

舉例來說,假設應用程式特性資料庫110所記錄之文書處理應用程式的資料存取型態係符合第一類存取規則,那麼決策模組120會選擇將文書處理應用程式所產生的資料寫入第一儲存單元21。然而,倘若一使用者每次利用文書處理應用程式所建立的檔案都超過大檔案容量下限值, 在依照既有規則將文書處理應用程式建立的檔案都寫入第一儲存單元21後,儲存裝置20會將第一儲存單元21之可用空間被快速耗盡的訊息回傳給決策模組120,基此,決策模組120可得知目前的存取規則並不適用於該使用者的使用習慣,進而會調整存取規則的內容來確保之後文書處理應用程式所建立的檔案會被寫入第二儲存單元23,而不再是寫入第一儲存單元21。也就是說,儲存裝置20在配合決策模組120的控制而寫入資料後,亦會在資料存取的過程中主動偵測第一儲存單元21及第二儲存單元23的使用表現,並將其回饋給決策模組120,據以讓決策模組120依據儲存裝置20所回報的資訊來更新第一類存取規則及/或第二類存取規則,以符合個別使用者的使用習慣。 For example, if the data access type of the document processing application recorded by the application property database 110 conforms to the first type of access rules, the decision module 120 will select to write the data generated by the document processing application. The first storage unit 21 is entered. However, if a user creates a file with a file processing application that exceeds the upper limit of the large file capacity, After the files created by the document processing application are written into the first storage unit 21 according to the existing rules, the storage device 20 returns the fast-depleted information of the first storage unit 21 to the decision module 120. Based on this, the decision module 120 can know that the current access rule does not apply to the user's usage habits, and then adjusts the content of the access rule to ensure that the file created by the document processing application is written. The storage unit 23 is no longer written to the first storage unit 21. In other words, the storage device 20 actively detects the usage performance of the first storage unit 21 and the second storage unit 23 during the data access process after the data is written by the control module 120. The feedback module 120 is configured to cause the decision module 120 to update the first type of access rules and/or the second type of access rules according to the information reported by the storage device 20 to conform to the usage habits of the individual users.

在上述實施例中,決策模組120能根據應用程式特性資料庫110提供的資訊來決定將應用程式151欲寫入的資料寫入第一儲存單元21或第二儲存單元23。進一步來說,決策模組120能依據應用程式151的資料存取型態有效率地分配空間以及管理寫入的檔案,並且盡可能地將檔案以連續的方式讀寫,減少因隨機存取而所造成的速度下降,據此得到更佳的讀寫表現。 In the above embodiment, the decision module 120 can determine, according to the information provided by the application property database 110, the data to be written by the application 15 1 to be written into the first storage unit 21 or the second storage unit 23. Furthermore, the decision module 120 can be assigned based on application data access patterns for the 151 space efficient writing and management files, and file reading and writing as much as possible in a continuous manner, reduce the random access The resulting speed drop, resulting in better read and write performance.

從另一方面來看,透過決策模組120的上述運作方式也能夠減少以快閃記憶體做為儲存媒介之第一儲存單元21中的零碎空間(fragmented space)產生,直接降低垃圾回收(Garbage Collection,GC)的頻率與成本,並有效抑制寫入放大因子(Write Amplification Factor,WAF),降 低第一儲存單元21中的記憶胞的抹除次數(Erase count),使得第一儲存單元21的壽命得以延長,並提升其可靠度。 On the other hand, the above operation mode of the decision module 120 can also reduce the fragmented space in the first storage unit 21 using the flash memory as a storage medium, and directly reduce garbage collection (Garbage). Collection, GC) frequency and cost, and effectively suppress the Write Amplification Factor (WAF), drop The Erase count of the memory cells in the first storage unit 21 is such that the lifetime of the first storage unit 21 is prolonged and the reliability thereof is improved.

再者,由於在讀寫相同的外部工作量條件之下,決策模組120的運作能有效降低第一儲存單元21的實際寫入次數。且對第一儲存單元21來說,由於其受到小容量的限制,若無法妥善分配儲存空間,則必定會很快面臨到容量不足的困境,而為了解決此種困境,就必須頻繁地做內部垃圾回收、資料搬移以及將檔案回存至其他儲存裝置中,如此一來,讀寫與抹除的操作就會更為頻繁,同時也變得更加耗電,因此藉由有效率地寫入檔案亦能使其在功耗表現上有所改善。 Moreover, the operation of the decision module 120 can effectively reduce the actual number of writes of the first storage unit 21 due to the same external workload. Moreover, for the first storage unit 21, since it is limited by a small capacity, if the storage space cannot be properly allocated, the shortage of capacity will be quickly encountered, and in order to solve such a dilemma, it is necessary to frequently do the internals. Garbage collection, data movement, and storage of files back to other storage devices, so that reading, writing, and erasing operations are more frequent and more power-hungry, so by writing files efficiently It can also improve its power consumption performance.

綜上所述,本發明所述之資料寫入方法與系統能依據應用程式的資料存取型態選擇不同類型的儲存單元來儲存應用程式欲寫入的資料。據此確保儲存裝置在讀寫表現、可靠度,以及電源功耗等方面都有大幅進步,進而讓使用者同時享受不同類型之儲存媒介所帶來的優勢。 In summary, the data writing method and system of the present invention can select different types of storage units according to the data access type of the application to store the data to be written by the application. This ensures that the storage device has made significant advances in terms of read and write performance, reliability, and power consumption, allowing users to enjoy the benefits of different types of storage media.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

10‧‧‧主機系統 10‧‧‧Host system

13‧‧‧作業系統 13‧‧‧Operating system

151、15n‧‧‧應用程式 15 1 , 15 n ‧‧‧Applications

20‧‧‧儲存裝置 20‧‧‧Storage device

21‧‧‧第一儲存單元 21‧‧‧First storage unit

23‧‧‧第二儲存單元 23‧‧‧Second storage unit

100‧‧‧資料寫入系統 100‧‧‧data writing system

110‧‧‧應用程式特性資料庫 110‧‧‧Application Properties Database

120‧‧‧決策模組 120‧‧‧Decision module

130‧‧‧資料庫建立模組 130‧‧‧Database building module

S210~S240‧‧‧本發明之一實施例所述之資料寫入方法的各步驟 S210~S240‧‧‧ steps of the data writing method according to an embodiment of the present invention

S410~S430‧‧‧本發明之一實施例所述之依據資料存取型態與存取管理策略選擇將資料寫入第一或第二儲存單元的各步驟 S410~S430‧‧‧ Steps for selecting data to be written into the first or second storage unit according to the data access type and the access management policy according to an embodiment of the present invention

圖1是依照本發明之一實施例所繪示之資料寫入系統的使用示意圖。 1 is a schematic diagram of the use of a data writing system according to an embodiment of the invention.

圖2是依照本發明之一實施例所繪示之資料寫入方法的流程圖。 2 is a flow chart of a method of writing data according to an embodiment of the invention.

圖3是依照本發明之一實施例所繪示之應用程式與存取型態的長條圖。 3 is a bar graph of an application and an access type according to an embodiment of the invention.

圖4是依照本發明之一實施例所繪示之依據資料存取型態與存取管理策略選擇將資料寫入第一或第二儲存單元的流程圖。 4 is a flow chart of selecting data to be written into a first or second storage unit according to a data access type and an access management policy according to an embodiment of the invention.

S210~S240‧‧‧本發明之一實施例所述之資料寫入方法的各步驟 S210~S240‧‧‧ steps of the data writing method according to an embodiment of the present invention

Claims (12)

一種資料寫入方法,用以從一主機系統將一資料寫入具有一第一儲存單元與一第二儲存單元的一儲存裝置,該方法包括:提供一應用程式特性資料庫;接收執行於該主機系統之一應用程式欲將該資料寫入該儲存裝置的一寫入指令;自該應用程式特性資料庫取得該應用程式所對應的一資料存取型態;以及依據該資料存取型態與一存取管理策略選擇將該資料寫入至該第一儲存單元或該第二儲存單元。 A data writing method for writing a data from a host system to a storage device having a first storage unit and a second storage unit, the method comprising: providing an application property database; receiving and executing An application of the host system to write the data to a write command of the storage device; obtaining a data access type corresponding to the application from the application property database; and accessing the data according to the data access type And the access management policy selects to write the data to the first storage unit or the second storage unit. 如申請專利範圍第1項所述之資料寫入方法,其中該存取管理策略包括該第一儲存單元所對應的一第一類存取規則以及該第二儲存單元所對應的一第二類存取規則。 The data writing method of claim 1, wherein the access management policy includes a first type of access rule corresponding to the first storage unit and a second type corresponding to the second storage unit. Access rules. 如申請專利範圍第2項所述之資料寫入方法,其中該資料存取型態包括一存取頻率、一檔案大小與一單一指令存取資料量個別的一統計值,而依據該資料存取型態與該存取管理策略選擇將該資料寫入至該第一儲存單元或該第二儲存單元的步驟包括:當該存取頻率、該檔案大小與該單一指令存取資料量個別的該統計值符合該第一類存取規則時,將該資料寫入該第一儲存單元;以及當該存取頻率、該檔案大小與該單一指令存取資料量個別的該統計值符合該第二類存取規則時,將該資料寫入 該第二儲存單元。 The method for writing data according to claim 2, wherein the data access type comprises an access frequency, a file size, and a single instruction to access a certain amount of data, and the data is stored according to the data. The fetching mode and the access management policy selecting to write the data to the first storage unit or the second storage unit include: when the access frequency, the file size, and the single instruction access data amount are individual When the statistical value conforms to the first type of access rule, the data is written into the first storage unit; and when the access frequency, the file size, and the single instruction access data amount are respectively compliant with the statistical value Write the data when the second type of access rule The second storage unit. 如申請專利範圍第3項所述之資料寫入方法,其中提供該應用程式特性資料庫的步驟包括:在一特定期間內收集該應用程式之該存取頻率、該檔案大小與該單一指令存取資料量的多個實際值;根據該些實際值計算該存取頻率、該檔案大小與該單一指令存取資料量個別的該統計值;以及將該存取頻率、該檔案大小與該單一指令存取資料量個別的該統計值記錄於該應用程式特性資料庫。 The method for writing data according to claim 3, wherein the step of providing the application property database comprises: collecting the access frequency of the application, the file size, and the single instruction in a specific period of time. Taking a plurality of actual values of the data amount; calculating, according to the actual values, the access frequency, the file size, and the statistical value of the single instruction access data amount; and the access frequency, the file size, and the single The statistical value of the instruction access data amount is recorded in the application property database. 如申請專利範圍第2項所述之資料寫入方法,更包括:根據該寫入指令的內容更新記錄在該應用程式特性資料庫中該應用程式所對應的該資料存取型態;以及定期依據該儲存裝置的一運作表現修正該第一類存取規則及/或該第二類存取規則。 The method for writing data according to item 2 of the patent application scope further includes: updating, according to the content of the write instruction, the data access type corresponding to the application recorded in the application property database; and periodically The first type of access rules and/or the second type of access rules are modified in accordance with an operational performance of the storage device. 如申請專利範圍第2項所述之資料寫入方法,其中該第一儲存單元為一快閃記憶體儲存單元,且該第一類存取規則至少包括一高存取頻率門檻值與一隨機存取模式,而該第二儲存單元為一磁碟片儲存單元,且該第二類存取規則至少包括一大檔案容量下限值與一連續存取模式。 The data writing method of claim 2, wherein the first storage unit is a flash memory storage unit, and the first type of access rule includes at least a high access frequency threshold and a random number. The access mode, wherein the second storage unit is a disk storage unit, and the second type of access rule includes at least a large file capacity lower limit value and a continuous access mode. 一種資料寫入系統,包括:一應用程式特性資料庫;以及一決策模組,耦接該應用程式特性資料庫,該決策模組在接收執行於一主機系統之一應用程式欲將一資料寫入 一儲存裝置的一寫入指令時,自該應用程式特性資料庫取得該應用程式所對應的一資料存取型態,並且依據該資料存取型態與一存取管理策略選擇將該資料寫入至該儲存裝置的一第一儲存單元或一第二儲存單元。 A data writing system includes: an application property database; and a decision module coupled to the application property database, the decision module is configured to execute an application executed in a host system to write a data Enter When a write command of the storage device is obtained, a data access type corresponding to the application is obtained from the application property database, and the data is selected according to the data access mode and an access management policy. And entering a first storage unit or a second storage unit of the storage device. 如申請專利範圍第7項所述之資料寫入系統,其中該存取管理策略包括該第一儲存單元所對應的一第一類存取規則以及該第二儲存單元所對應的一第二類存取規則。 The data writing system of claim 7, wherein the access management policy includes a first type of access rule corresponding to the first storage unit and a second type corresponding to the second storage unit. Access rules. 如申請專利範圍第8項所述之資料寫入系統,其中該資料存取型態包括一存取頻率、一檔案大小與一單一指令存取資料量個別的一統計值,而該決策模組在該存取頻率、該檔案大小與該單一指令存取資料量個別的該統計值符合該第一類存取規則時,選擇將該資料寫入該第一儲存單元,該決策模組在該存取頻率、該檔案大小與該單一指令存取資料量個別的該統計值符合該第二類存取規則時,選擇將該資料寫入該第二儲存單元。 The data writing system described in claim 8 wherein the data access type includes an access frequency, a file size, and a single instruction access data amount, and the decision module When the access frequency, the file size, and the statistic value of the single instruction access data amount meet the first type of access rule, the data is selected to be written into the first storage unit, and the decision module is in the When the access frequency, the file size, and the statistic value of the single instruction access data amount conform to the second type of access rule, the data is selected to be written into the second storage unit. 如申請專利範圍第9項所述之資料寫入系統,更包括:一資料庫建立模組,耦接該應用程式特性資料庫,該資料庫建立模組在一特定期間內收集該應用程式之該存取頻率、該檔案大小與該單一指令存取資料量的多個實際值,根據該些實際值計算該存取頻率、該檔案大小與該單一指令存取資料量個別的該統計值,以及將該存取頻率、該檔案大小與該單一指令存取資料量個別的該統計值記錄 於該應用程式特性資料庫。 The data writing system of claim 9 further includes: a database building module coupled to the application property database, the database building module collecting the application during a specific period of time The access frequency, the file size, and the plurality of actual values of the single instruction access data amount, and calculating the access frequency, the file size, and the statistical value of the single instruction access data amount according to the actual values, And recording the statistical value of the access frequency, the file size, and the single instruction access data amount In the application feature database. 如申請專利範圍第8項所述之資料寫入系統,其中該決策模組根據該寫入指令的內容更新記錄在該應用程式特性資料庫中該應用程式所對應的該資料存取型態,並定期依據該儲存裝置的一運作表現修正該第一類存取規則及/或該第二類存取規則。 The data writing system of claim 8, wherein the decision module updates the data access type corresponding to the application recorded in the application property database according to the content of the write command. The first type of access rules and/or the second type of access rules are periodically modified based on an operational performance of the storage device. 如申請專利範圍第8項所述之資料寫入系統,其中該第一儲存單元為一快閃記憶體儲存單元,且該第一類存取規則至少包括一高存取頻率門檻值與一隨機存取模式,而該第二儲存單元為一磁碟片儲存單元,且該第二類存取規則至少包括一大檔案容量下限值與一連續存取模式。 The data writing system of claim 8, wherein the first storage unit is a flash memory storage unit, and the first type of access rule includes at least a high access frequency threshold and a random number. The access mode, wherein the second storage unit is a disk storage unit, and the second type of access rule includes at least a large file capacity lower limit value and a continuous access mode.
TW101146708A 2012-12-11 2012-12-11 Data writing method and system TWI539368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101146708A TWI539368B (en) 2012-12-11 2012-12-11 Data writing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101146708A TWI539368B (en) 2012-12-11 2012-12-11 Data writing method and system

Publications (2)

Publication Number Publication Date
TW201423567A true TW201423567A (en) 2014-06-16
TWI539368B TWI539368B (en) 2016-06-21

Family

ID=51394045

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101146708A TWI539368B (en) 2012-12-11 2012-12-11 Data writing method and system

Country Status (1)

Country Link
TW (1) TWI539368B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204775A (en) * 2014-06-26 2015-12-30 宏碁股份有限公司 Electronic equipment and data writing method
TWI718532B (en) * 2019-05-10 2021-02-11 技嘉科技股份有限公司 Solid-state drive and performance optimization method for solid-state drive

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204775A (en) * 2014-06-26 2015-12-30 宏碁股份有限公司 Electronic equipment and data writing method
CN105204775B (en) * 2014-06-26 2018-08-07 宏碁股份有限公司 Electronic device and method for writing data
TWI718532B (en) * 2019-05-10 2021-02-11 技嘉科技股份有限公司 Solid-state drive and performance optimization method for solid-state drive
US11262914B2 (en) 2019-05-10 2022-03-01 Giga-Byte Technology Co., Ltd. Solid-state drive and performance optimization method for solid-state drive

Also Published As

Publication number Publication date
TWI539368B (en) 2016-06-21

Similar Documents

Publication Publication Date Title
TWI446345B (en) Method for performing block management, and associated memory device and controller thereof
TWI425357B (en) Method for performing block management, and associated memory device and controller thereof
JP5413572B2 (en) Memory storage device and control method thereof
CN105637470B (en) Method and computing device for dirty data management
JP2017021805A (en) Interface providing method capable of utilizing data attribute reference data arrangement in nonvolatile memory device and computer device
JP6711121B2 (en) Information processing apparatus, cache memory control method, and cache memory control program
CN110674056B (en) Garbage recovery method and device
JP2013041547A (en) Information processing apparatus, performance evaluation tool, and performance evaluation tool of external storage device
CN111880723A (en) Data storage device and data processing method
TW201532064A (en) Heal leveling method, system, and associated data structure
JP5447523B2 (en) Data processing apparatus, data recording method, and data recording program
US20100125697A1 (en) Computing device having storage, apparatus and method of managing storage, and file system recorded recording medium
US11693570B2 (en) Machine learning to improve caching efficiency in a storage system
TWI539368B (en) Data writing method and system
JP5971509B2 (en) Information processing apparatus and method, and recording medium
Kim et al. HybridPlan: a capacity planning technique for projecting storage requirements in hybrid storage systems
US20110264848A1 (en) Data recording device
US11249921B2 (en) Page modification encoding and caching
US20100191899A1 (en) Information Processing Apparatus and Data Storage Apparatus
JP6107341B2 (en) Data management program, data management device, and data management method
Rahiman et al. Solid state disk: A new storage device for video storage server
JP5206103B2 (en) Storage device, storage device control system, storage device control method, and program
Singleton et al. Flash on disk for low-power multimedia computing
CN103902226B (en) Method for writing data and system
US11232024B2 (en) Predictive caching in device for media seek in playback or scrolling