TWI718642B - Memory device managing method and memory device managing system - Google Patents
Memory device managing method and memory device managing system Download PDFInfo
- Publication number
- TWI718642B TWI718642B TW108130521A TW108130521A TWI718642B TW I718642 B TWI718642 B TW I718642B TW 108130521 A TW108130521 A TW 108130521A TW 108130521 A TW108130521 A TW 108130521A TW I718642 B TWI718642 B TW I718642B
- Authority
- TW
- Taiwan
- Prior art keywords
- memory device
- electronic device
- data
- memory
- command
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Biophysics (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
Description
本發明是有關於一種記憶體裝置管理方法及記憶體裝置管理系統,且特別是有關於一種增加記憶體裝置效能的記憶體裝置管理方法及記憶體裝置管理系統。The present invention relates to a memory device management method and a memory device management system, and more particularly to a memory device management method and a memory device management system that increase the performance of the memory device.
一般來說,記憶體裝置控制器會儲存韌體來控制記憶體裝置的存取操作。然而,同一個版本的韌體無法在不同使用者的使用模式下都讓記憶體裝置有最佳效能表現。因此,如何讓記憶體裝置在不同使用者的使用模式下都能有最佳效能表現是本領域技術人員應致力的目標。Generally, the memory device controller stores firmware to control the access operations of the memory device. However, the same version of the firmware cannot allow the memory device to have the best performance under different user usage modes. Therefore, how to make the memory device have the best performance under different user usage modes is the goal that those skilled in the art should strive for.
本發明提供一種記憶體裝置管理方法及記憶體裝置管理系統,能有效增加記憶體裝置的效能。The invention provides a memory device management method and a memory device management system, which can effectively increase the performance of the memory device.
本發明的提出一種記憶體裝置管理方法,適用於伺服器及耦接到伺服器的電子裝置。電子裝置包括記憶體裝置。記憶體裝置管理方法包括:通過電子裝置的應用程式獲得記憶體裝置的使用者行為資料,並將使用者行為資料傳送到伺服器;伺服器根據使用者行為資料從多個韌體版本中選出最佳韌體版本,並將最佳韌體版本傳送到電子裝置;以及應用程式根據最佳韌體版本來更新記憶體裝置的控制器。The present invention provides a memory device management method, which is suitable for a server and an electronic device coupled to the server. The electronic device includes a memory device. The memory device management method includes: obtaining the user behavior data of the memory device through the application of the electronic device, and sending the user behavior data to the server; the server selects the most recent firmware version according to the user behavior data The best firmware version, and the best firmware version is sent to the electronic device; and the application program updates the controller of the memory device according to the best firmware version.
本發明的提出一種記憶體裝置管理系統,包括伺服器以及電子裝置耦接到伺服器。電子裝置包括記憶體裝置。電子裝置的應用程式獲得記憶體裝置的使用者行為資料,並將使用者行為資料傳送到伺服器。伺服器根據使用者行為資料從多個韌體版本中選出最佳韌體版本,並將最佳韌體版本傳送到電子裝置。應用程式根據最佳韌體版本來更新記憶體裝置的控制器。The present invention provides a memory device management system, including a server and an electronic device coupled to the server. The electronic device includes a memory device. The application program of the electronic device obtains the user behavior data of the memory device and sends the user behavior data to the server. The server selects the best firmware version from multiple firmware versions according to the user behavior data, and transmits the best firmware version to the electronic device. The application updates the controller of the memory device according to the best firmware version.
基於上述,本發明的記憶體裝置管理方法及記憶體裝置管理系統能記錄記憶體裝置的使用者行為並將使用者行為傳送到伺服器。伺服器根據使用者行為選出能提高記憶體裝置效能的最佳韌體版本並將最佳韌體版本傳送到電子裝置。電子裝置再根據最佳韌體版本來更新記憶體裝置的控制器。Based on the above, the memory device management method and the memory device management system of the present invention can record the user behavior of the memory device and transmit the user behavior to the server. The server selects the best firmware version that can improve the performance of the memory device according to the user's behavior and transmits the best firmware version to the electronic device. The electronic device then updates the controller of the memory device according to the best firmware version.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.
圖1為根據本發明一實施例的記憶體裝置管理系統的方塊圖。FIG. 1 is a block diagram of a memory device management system according to an embodiment of the invention.
請參照圖1,本發明一實施例的記憶體裝置管理系統100包括伺服器110及耦接到伺服器110的電子裝置120。電子裝置120可通過有線或無線通訊耦接到伺服器110。電子裝置120包括記憶體裝置121。電子裝置120例如是個人電腦(Personal Computer,PC)、智慧型手機、平板電腦或其他類似裝置。記憶體裝置121例如是硬碟(Hard Disk Drive,HDD)、固態硬碟(Solid State Drive,SSD)、安全數位(Secure Digital,SD)卡或其他類似裝置。Please refer to FIG. 1, a memory
在一實施例中,電子裝置120可通過電子裝置120的應用程式獲得記憶體裝置121的使用者行為資料,並將使用者行為資料傳送到伺服器110。伺服器110可根據使用者行為資料從多個韌體版本中選出最佳韌體版本,並將最佳韌體版本傳送到電子裝置120。電子裝置120的可應用程式根據最佳韌體版本來更新記憶體裝置121的控制器。In one embodiment, the
具體來說,電子裝置120的應用程式可通過應用程式下層的作業系統驅動器或記憶體裝置121的控制器韌體的人工智慧(Artificial Intelligence,AI)模組的學習功能來區分使用者的常用資料(即,熱資料)及非常用資料(即,冷資料)來產生使用者行為資料。人工智慧模組例如可通過卷積神經網路(Convolutional Neural Networks,CNN)來學習使用者行為。除此之外,人工智慧模組還可通過使用者執行不同程式(例如,遊戲程式、資料擷取程式、網路瀏覽程式、效能測試程式等)的比例來學習並產生使用者行為資料。上述使用者行為資料都可被傳送到伺服器110。伺服器110可針對使用者行為資料從現有的多個韌體版本中選出最佳韌體版本,並將最佳韌體版本傳送到電子裝置120,使該電子裝置120根據最佳韌體版本來更新記憶體裝置121的控制器。如此一來,電子裝置120就可在使用者行為改變時自動更新最佳韌體版本而獲得更好的記憶體裝置121存取效能。Specifically, the application program of the
在一實施例中,電子裝置120可通過應用程式將記憶體裝置120的部分區塊組成獨立磁碟冗餘陣列(Redundant Array of Independent Disk,RAID)磁碟。部分區塊的實際區塊大小大於獨立磁碟冗餘陣列磁碟的可用空間大小。當電子裝置120寫入第一資料到記憶體裝置121且第一資料符合第一狀態時,電子裝置120利用主機閒置時間將第一資料同步儲存到獨立磁碟冗餘陣列磁碟中,其中第一狀態代表了第一資料為重要資料(例如,憑證資料)。舉例來說,記憶體裝置121為容量128GB的固態硬碟且電子裝置120將固態硬碟的其中20GB(即,實際區塊大小)組成10GB(即,可用空間大小)的獨立磁碟冗餘陣列磁碟(例如,RAID 1)。當有一筆重要資料(即,第一資料符合第一狀態)要寫入記憶體裝置121時,電子裝置120可利用主機閒置時間將此重要資料同步儲存到獨立磁碟冗餘陣列磁碟中,以確保重要資料的安全性。In one embodiment, the
在一實施例中,當電子裝置120傳送資料存取命令到記憶體裝置121時,電子裝置120通過作業系統驅動程式來執行對應此命令的至少一部份運算操作。舉例來說,電子裝置120傳送的資料存取命令可能包括大量的資料壓縮及資料解壓縮操作。電子裝置120可通過作業系統驅動程式來執行上述大量的資料壓縮及資料解壓縮操作藉此分散記憶體裝置121的控制器的運算負載。如此一來,記憶體裝置121存取資料的延遲時間可大幅下降。In one embodiment, when the
在一實施例中,電子裝置120的應用程式可將電子裝置120的隨機存取記憶體(未繪示於圖中)的至少一部份設定為隨機存取記憶體磁碟(ramdisk)。電子裝置120可將隨機存取記憶體磁碟作為記憶體裝置121的快取(cache)記憶體來提升記憶體裝置121的存取效能。舉例來說,當電子裝置120判斷要傳送到記憶體裝置121的命令所對應的資料傳送時間遠大於命令執行時間(即,資料傳送時間與命令執行時間的比值大於一門檻值),電子裝置120可將此命令所對應的資料暫存在隨機存取記憶體磁碟中,並等候記憶體裝置121的控制器有空閒時間再將隨機存取記憶體磁碟中的暫存資料傳送到記憶體裝置121。In one embodiment, the application program of the
圖2為根據本發明一實施例的電子裝置的方塊圖。FIG. 2 is a block diagram of an electronic device according to an embodiment of the invention.
請參照圖2,本發明一實施例的電子裝置200包括處理器210、驅動程式220、第一記憶體裝置230及第二記憶體裝置240。處理器210可包括多個核心,每個核心都可包括L1快取及L2快取且所有核心可共用一個L3快取。驅動程式220例如是作業系統驅動程式。第一記憶體裝置230例如是固態硬碟。第二記憶體裝置240例如是隨機存取記憶體磁碟(ramdisk)或固態硬碟。當處理器210傳送命令到驅動程式220且命令對應的資料為可壓縮時,資料可通過資料壓縮模組221進行資料壓縮操作且壓縮後的資料通過第一記憶體裝置230的主機介面231傳送到快閃記憶體模組232。當處理器210從快閃記憶體模組232讀取壓縮資料時,壓縮資料可通過資料解壓縮模組222進行解壓縮操作且解壓縮後的資料進一步傳送到處理器210。當有大量資料需要進行資料壓縮操作時,驅動程式220可將第二記憶體裝置240作為快取記憶體來暫存待壓縮的資料。Please refer to FIG. 2, an
在一實施例中,當處理器210判斷第一記憶體裝置230中的第一資料被存取的頻率大於門檻值時,處理器210將第一資料移動到第二記憶體裝置240(例如,ramdisk)的第二區塊。也就是說,第二區塊可用來儲存熱資料。當處理器210判斷第一記憶體裝置230中的第二資料超過時間門檻值未被存取時,處理器210可產生提示訊息來提醒使用者哪些資料已經很久未使用,並詢問使用者是否移除這些資料。此外,處理器210還可規劃第一記憶體裝置230的第三區塊用來儲存重要資料。處理器210可通過加密方式進行第三區塊的資料可存取或對第三區塊的資料進行自動備份操作。In one embodiment, when the
在一實施例中,處理器210還可包括人工智慧(Artificial Intelligence,AI)控制模組(未繪示於圖中)。人工智慧控制模組可將使用者行為輸入例如卷積神經網路(Convolutional Neural Networks,CNN)的類神經網路並學習出一套更有效率的存取方式。當人工智慧控制模組通過更多的使用者進行機器學習之後,就可對第一記憶體裝置230有更快的存取速度。In an embodiment, the
圖3為根據本發明一實施例的記憶體裝置管理方法的流程圖。FIG. 3 is a flowchart of a method for managing a memory device according to an embodiment of the invention.
請參照圖3,在步驟S301中,通過電子裝置的應用程式獲得記憶體裝置的使用者行為資料,並將使用者行為資料傳送到伺服器。Referring to FIG. 3, in step S301, the user behavior data of the memory device is obtained through the application of the electronic device, and the user behavior data is sent to the server.
在步驟S302中,伺服器根據使用者行為資料從多個韌體版本中選出最佳韌體版本,並將最佳韌體版本傳送到電子裝置。In step S302, the server selects the best firmware version from the multiple firmware versions according to the user behavior data, and transmits the best firmware version to the electronic device.
在步驟S303中,應用程式根據最佳韌體版本來更新記憶體裝置的控制器。In step S303, the application program updates the controller of the memory device according to the best firmware version.
綜上所述,本發明的記憶體裝置管理方法及記憶體裝置管理系統能記錄記憶體裝置的使用者行為並將使用者行為傳送到伺服器。伺服器根據使用者行為選出能提高記憶體裝置效能的最佳韌體版本並將最佳韌體版本傳送到電子裝置。電子裝置再根據最佳韌體版本來更新記憶體裝置的控制器。本發明的記憶體裝置管理方法及記憶體裝置管理系統還可通過人工智慧學習功能來區分使用者的熱資料及冷資料,並通過資料壓縮操作減少記憶體裝置的存取時間以提高記憶體裝置的效能。本發明的記憶體裝置管理方法及記憶體裝置管理系統還可組成獨立磁碟冗餘陣列磁碟並將獨立磁碟冗餘陣列磁碟作為安全儲存區域以確保重要資料的安全性。本發明的記憶體裝置管理方法及記憶體裝置管理系統還可將大量的運算操作移轉到作業系統驅動程式以分散記憶體裝置控制器的運算負載。In summary, the memory device management method and the memory device management system of the present invention can record user behavior of the memory device and transmit the user behavior to the server. The server selects the best firmware version that can improve the performance of the memory device according to the user's behavior and transmits the best firmware version to the electronic device. The electronic device then updates the controller of the memory device according to the best firmware version. The memory device management method and the memory device management system of the present invention can also distinguish the user's hot data and cold data through the artificial intelligence learning function, and reduce the access time of the memory device through the data compression operation to improve the memory device The effectiveness of. The memory device management method and the memory device management system of the present invention can also form a redundant array of independent disks and use the redundant array of independent disks as a safe storage area to ensure the safety of important data. The memory device management method and the memory device management system of the present invention can also transfer a large number of computing operations to the operating system driver to distribute the computing load of the memory device controller.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention shall be determined by the scope of the attached patent application.
100:記憶體裝置管理系統 110:伺服器 120:電子裝置 121:記憶體裝置 210:處理器 220:驅動程式 221:資料壓縮模組 222:資料解壓縮模組 230:第一記憶體裝置 231:主機介面 232:快閃記憶體模組 240:第二記憶體裝置 S301、S302、S303:記憶體裝置管理方法的步驟 100: Memory Device Management System 110: server 120: electronic device 121: memory device 210: processor 220: Driver 221: Data Compression Module 222: Data Decompression Module 230: The first memory device 231: Host Interface 232: flash memory module 240: second memory device S301, S302, S303: steps of the memory device management method
圖1為根據本發明一實施例的記憶體裝置管理系統的方塊圖。 圖2為根據本發明一實施例的電子裝置的方塊圖。 圖3為根據本發明一實施例的記憶體裝置管理方法的流程圖。 FIG. 1 is a block diagram of a memory device management system according to an embodiment of the invention. FIG. 2 is a block diagram of an electronic device according to an embodiment of the invention. FIG. 3 is a flowchart of a method for managing a memory device according to an embodiment of the invention.
S301、S302、S303:記憶體裝置管理方法的步驟 S301, S302, S303: steps of the memory device management method
Claims (12)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108130521A TWI718642B (en) | 2019-08-27 | 2019-08-27 | Memory device managing method and memory device managing system |
CN201911005656.1A CN112445730A (en) | 2019-08-27 | 2019-10-22 | Memory device management method and memory device management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108130521A TWI718642B (en) | 2019-08-27 | 2019-08-27 | Memory device managing method and memory device managing system |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI718642B true TWI718642B (en) | 2021-02-11 |
TW202109290A TW202109290A (en) | 2021-03-01 |
Family
ID=74733126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108130521A TWI718642B (en) | 2019-08-27 | 2019-08-27 | Memory device managing method and memory device managing system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112445730A (en) |
TW (1) | TWI718642B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080178171A1 (en) * | 2007-01-23 | 2008-07-24 | Masahiro Sueyoshi | Management System, Management Method, Terminal Device, Management Server and Program |
TW201207731A (en) * | 2010-08-06 | 2012-02-16 | Universal Scient Ind Shanghai | Embedded system with plural firmware and firmware updating method thereof |
CN105893075A (en) * | 2015-12-28 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Update method and device of application |
US20160379268A1 (en) * | 2013-12-10 | 2016-12-29 | Tencent Technology (Shenzhen) Company Limited | User behavior data analysis method and device |
TW201913406A (en) * | 2017-08-17 | 2019-04-01 | 佳能企業股份有限公司 | Data transmission method and communication system |
CN110018966A (en) * | 2018-01-09 | 2019-07-16 | 阿里巴巴集团控股有限公司 | A kind of memory, storage system, host and data manipulation, rubbish recovering method |
TWI668636B (en) * | 2018-08-01 | 2019-08-11 | 技嘉科技股份有限公司 | Update method for server firmware |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE19732324A1 (en) * | 1997-07-28 | 1999-02-04 | Kloeckner Moeller Gmbh | Circuit arrangement and method for memory space management and for processing user programs in small control systems |
US20130185487A1 (en) * | 2012-01-18 | 2013-07-18 | Samsung Electronics Co., Ltd | Memory system and mobile device including host and flash memory-based storage device |
CN109101257A (en) * | 2018-08-16 | 2018-12-28 | 珠海格力电器股份有限公司 | A kind of circulation remote firmware update system and method for open upgrading authority |
CN109788025B (en) * | 2018-12-12 | 2022-06-28 | 北京世纪互联宽带数据中心有限公司 | Data grading method and device, electronic equipment and computer readable medium |
-
2019
- 2019-08-27 TW TW108130521A patent/TWI718642B/en active
- 2019-10-22 CN CN201911005656.1A patent/CN112445730A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080178171A1 (en) * | 2007-01-23 | 2008-07-24 | Masahiro Sueyoshi | Management System, Management Method, Terminal Device, Management Server and Program |
TW201207731A (en) * | 2010-08-06 | 2012-02-16 | Universal Scient Ind Shanghai | Embedded system with plural firmware and firmware updating method thereof |
US20160379268A1 (en) * | 2013-12-10 | 2016-12-29 | Tencent Technology (Shenzhen) Company Limited | User behavior data analysis method and device |
CN105893075A (en) * | 2015-12-28 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Update method and device of application |
TW201913406A (en) * | 2017-08-17 | 2019-04-01 | 佳能企業股份有限公司 | Data transmission method and communication system |
CN110018966A (en) * | 2018-01-09 | 2019-07-16 | 阿里巴巴集团控股有限公司 | A kind of memory, storage system, host and data manipulation, rubbish recovering method |
TWI668636B (en) * | 2018-08-01 | 2019-08-11 | 技嘉科技股份有限公司 | Update method for server firmware |
Also Published As
Publication number | Publication date |
---|---|
CN112445730A (en) | 2021-03-05 |
TW202109290A (en) | 2021-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11500810B2 (en) | Techniques for command validation for access to a storage device by a remote client | |
KR102403034B1 (en) | Dynamic garbage collection p/e policies for redundant storage blocks and distributed software stacks | |
JP6231669B2 (en) | Data write request processing method and storage array | |
US9986028B2 (en) | Techniques to replicate data between storage servers | |
CN106909314B (en) | Storage system and control method | |
US10649667B2 (en) | Mitigating GC effect in a RAID configuration | |
EP3000042B1 (en) | Dirty data management for hybrid drives | |
CN103946790A (en) | Adjustment of destage rate based on read and write response time requirements | |
JP6254293B2 (en) | Data deduplication method and storage array | |
JP2019174941A (en) | Storage device, computer system and operating method for storage device | |
CN108205478B (en) | Intelligent sequential SCSI physical layer power management | |
JP2005115600A (en) | Information processor and method | |
JP2011238038A (en) | Disk array device, disk array device control system, and disk array device control program | |
TWI718642B (en) | Memory device managing method and memory device managing system | |
JP2018010698A (en) | Data writing request processing method and storage array | |
JP4936088B2 (en) | Disk array device, disk array system, and cache control method | |
US10324660B2 (en) | Determining whether to compress data prior to storage thereof | |
TW202205106A (en) | Content provider system and method for content provider system | |
TWI715162B (en) | Memory verifying method and memory verifying system | |
TW201546614A (en) | Electronic device and method for writing data | |
JP6733924B1 (en) | Storage control device, storage control method, and storage control program | |
US11194493B2 (en) | Data storage system capable of using high speed channel to access data, and using low speed channel to manage data exchanging, copying, and moving | |
US20220121590A1 (en) | System and method to handle uncompressible data with a compression accelerator | |
CN112306804A (en) | Processing method and processing device | |
JP2001312372A (en) | Disk controller |