Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory device and data access method for memory unit

A technology of data access and data access device, which is applied in the field of data access of memory, and can solve problems such as system performance degradation and large data capacity

Active Publication Date: 2013-07-31
SILICON MOTION INC (CN)
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the data capacity of one page of the memory is relatively large (about 8K Bytes). When the host wants to repeatedly store a small amount of data (for example, each data size is only a few Bytes) into the memory, the controller must repeatedly access the same page of the memory. Causes additional work load on the controller
For example, when the host wants to store file allocation table (file allocation table) data, since the file allocation table is stored with multiple pieces of file allocation data with a very small amount of data, the host will send multiple data to the controller to access the same page of the memory. Write command, which causes additional work load for the controller to clear and rewrite the memory when processing the write command, and leads to a decrease in system performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory device and data access method for memory unit
  • Memory device and data access method for memory unit
  • Memory device and data access method for memory unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] figure 1 is a block diagram of the memory device 104 of the present invention. The memory device 104 is coupled to a host 102 to store data for the host 102 . The host 102 supports a native command queuing (NCQ) function. In one embodiment, the memory device 104 includes a controller 112 and at least one memory 114 . The controller 112 includes a command queue 122 and a register 124 . After the controller 112 receives a plurality of commands from the host 102 , the controller 112 stores the commands in the command queue 122 . Next, if there are multiple write commands in the command queue 122 , the controller 112 checks whether the logical address ranges accessed by the multiple write commands in the command queue 122 overlap with each other. If the logical address ranges accessed by multiple write commands in the command queue 122 overlap with each other, the controller 112 combines and stores multiple pieces of write data corresponding to the write commands in the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a data access method for a memory unit, comprising the following steps of: (1) storing a plurality of commands received from a host computer into a command queue; (2) calculating the ranges of logical addresses accessed by the commands; (3) selecting a plurality of write commands from the commands, wherein the ranges of logical addresses accessed by the write commands areoverlapped; (4) merging a plurality of of write data corresponding to the write commands into a merged write datum according to the ranges of the logical addresses accessed by the write commands if aread command or a plurality of read commands are not inserted among the write commands; and (5) sending a merged write command and the merged write datum to the memory unit so as to drive the memory unit to execute the write command. The invention also relates to a memory device. The system performance is improved by the merging application of the plurality of write commands in which the ranges of the logical addresses accessed by the write commands are overlapped and the merging application of a plurality of write commands in which the ranges of logical addresses accessed by the write commands are positioned on the same page of the memory unit.

Description

technical field [0001] The present invention relates to the technical field related to data access of memory, and more specifically, to a memory device and a data access method of memory. Background technique [0002] The memory device stores data for the host. A common memory device, such as a memory card, includes a controller and at least one memory. The controller acts as a medium for data access between the host and the memory. When the host wants to access the memory, the host sends an access command to the controller. After receiving the access command sent by the host, the controller processes the access command and then forwards it to the memory, so that the memory executes the access action corresponding to the access command. [0003] Generally speaking, the controller only converts the format of the access command received from the host, converts the logical address to be accessed by the access command into a physical address, and then sends the access command...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/02
Inventor 林仁文
Owner SILICON MOTION INC (CN)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products