Information storage and reading method of computing equipment and shared virtual medium bearing chip
阅读说明:本技术 计算设备的信息存储、读取方法及共享虚拟介质承载芯片 (Information storage and reading method of computing equipment and shared virtual medium bearing chip ) 是由 吴建元 王磊 陈锋 韩文报 于 2019-10-29 设计创作,主要内容包括:本发明涉及信息处理技术,具体涉及一种计算设备的信息存储、读取方法及共享虚拟介质承载芯片,如果由一个或多个处理单元所运行,则所述指令执行一种方法,包括:接收包括逻辑地址的存储器访问请求;利用虚拟芯片使能数据结构将虚拟芯片使能号码从所述逻辑地址转换为设备标识符并确定一个或多个操作参数;将虚拟地址转译为物理地址;以及使用所述设备标识符来使能可适用的存储器设备,路由所述存储器访问请求至所述可适用的存储器设备,并使所述可适用的存储器设备使用可适用的操作参数来运行所述存储器访问请求。(The invention relates to an information processing technology, in particular to an information storage and reading method of a computing device and a shared virtual medium bearing chip, wherein if the information storage and reading method is executed by one or more processing units, an instruction executes a method, which comprises the following steps: receiving a memory access request comprising a logical address; translating a virtual chip enable number from the logical address to a device identifier and determining one or more operating parameters using a virtual chip enable data structure; translating the virtual address into a physical address; and enabling an applicable memory device using the device identifier, routing the memory access request to the applicable memory device, and causing the applicable memory device to execute the memory access request using applicable operating parameters.)
1. An information storage and reading method of a computing device and a shared virtual medium bearing chip are characterized in that: if executed by one or more processing units, the instructions perform a method comprising: receiving a memory access request comprising a logical address; translating a virtual chip enable number from the logical address to a device identifier and determining one or more operating parameters using a virtual chip enable data structure; translating the virtual address into a physical address; and enabling an applicable memory device using the device identifier, routing the memory access request to the applicable memory device, and causing the applicable memory device to execute the memory access request using applicable operating parameters.
2. The information storage and reading method of the computing device and the shared virtual medium bearing chip according to claim 1, wherein: a wear leveling algorithm is used to translate the virtual address to a physical address.
3. The information storage and reading method of the computing device and the shared virtual medium bearing chip according to claim 1, wherein: discovering each of the plurality of memory devices; determining an operating parameter for each discovered memory device; and establishing the virtual chip enable data structure that maps one or more virtual chip enable numbers to the operating parameters of one or more discovered memory devices and corresponding memory devices.
4. The information storage and reading method of the computing device and the shared virtual medium bearing chip according to claim 3, wherein: wherein the virtual chip enable data structure comprises a plurality of virtual chip enable entries, each virtual chip enable entry comprising a virtual chip enable number, a device identifier, and operating parameters of the corresponding memory device.
5. The information storage and reading method of the computing device and the shared virtual medium bearing chip according to claim 3, wherein: where a given virtual chip enables coverage of multiple physical memory devices.
6. The information storage and reading method of the computing device and the shared virtual medium bearing chip according to claim 3, wherein: where a given plurality of virtual chips enables coverage of a single physical memory device.
Technical Field
The invention relates to an information processing technology, in particular to an information storage and reading method of computing equipment and a shared virtual medium bearing chip.
Background
Various types of memory are designed such that most of the memory is erasable and programmable, and are commonly referred to as flash memories. Such memory devices may withstand a limited number of erase cycles during their operational lifetime. The number of erase cycles that a flash memory can withstand and continue to operate reliably may be expressed as the endurance (endiurance) of the memory device. Typically, a given memory cell of current flash memory devices can be erased between 10,000 and 100,000 times before it can not operate reliably. The endurance of a memory device may depend on the semiconductor process used to manufacture the device and the architecture of the memory device.
Flash memory is common in a variety of conventional electronic devices. When the endurance of the flash memory is exceeded, the performance of the flash memory and/or the electronic device containing the flash memory may be adversely affected, or it may even stop operating. Accordingly, there is a continuing need to improve the endurance of memory devices, such as flash memory.
In addition, flash memory devices come in a variety of geometries and sizes, require different ECC protection, use different protocols, operate in Single Data Rate (SDR) and/or Double Data Rate (DDR) modes. Accordingly, there is a continuing need for improvements in controller interfaces to cooperate with different flash memory devices.
Disclosure of Invention
The invention aims to solve the technical defects and provides an information storage and reading method of a computing device and a shared virtual medium bearing chip.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows: an information storage, reading method and a shared virtual medium carrier chip of a computing device, the instructions, if executed by one or more processing units, performing a method comprising: receiving a memory access request comprising a logical address; translating a virtual chip enable number from the logical address to a device identifier and determining one or more operating parameters using a virtual chip enable data structure; translating the virtual address into a physical address; and enabling an applicable memory device using the device identifier, routing the memory access request to the applicable memory device, and causing the applicable memory device to execute the memory access request using applicable operating parameters.
Preferably, a wear leveling algorithm is used to translate the virtual addresses to physical addresses.
Preferably, each of the plurality of memory devices is discovered; determining an operating parameter for each discovered memory device; and establishing the virtual chip enable data structure that maps one or more virtual chip enable numbers to the operating parameters of one or more discovered memory devices and corresponding memory devices.
Preferably, the virtual chip enable data structure comprises a plurality of virtual chip enable entries, each virtual chip enable entry comprising a virtual chip enable number, a device identifier and operating parameters of the respective memory device.
Preferably, wherein a given virtual chip enables to cover multiple physical memory devices.
Preferably, wherein a given plurality of virtual chips enables to overlay a single physical memory device.
The invention achieves the following beneficial effects: the information storage and reading method of the computing equipment and the shared virtual medium load-bearing chip of the invention convert the virtual chip enable number (enabler number) in the logic address into the physical chip enable by using the virtual chip enable data structure. One or more operating parameters are also determined from the virtual chip enable data structure. The virtual address is then translated into a physical address. Thereafter, the applicable memory device may be enabled using the physical chip enable, and the memory access request may be routed to the applicable memory device, whereupon the memory access request is executed using the applicable operating parameters.
Drawings
FIG. 1 shows a block diagram of an exemplary block programmable memory device, in accordance with one embodiment of the present technology.
FIG. 2 illustrates a block diagram of an exemplary electronic device, in accordance with one embodiment of the present technology.
FIGS. 3A and 3B illustrate a flow diagram of a method of enabling virtualization of a chip, according to one embodiment of the present technology.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
As shown in the figure: an information storage, reading method and a shared virtual medium carrier chip of a computing device, the instructions, if executed by one or more processing units, performing a method comprising: receiving a memory access request comprising a logical address; translating a virtual chip enable number from the logical address to a device identifier and determining one or more operating parameters using a virtual chip enable data structure; translating the virtual address into a physical address; and using the device identifier to enable an applicable memory device, route the memory access request to the applicable memory device, and cause the applicable memory device to execute the memory access request using applicable operating parameters; translating the virtual address to a physical address using a wear leveling algorithm; discovering each of the plurality of memory devices; determining an operating parameter for each discovered memory device; and establishing the virtual chip enable data structure that maps one or more virtual chip enable numbers to the operating parameters of one or more discovered memory devices and corresponding memory devices; wherein the virtual chip enable data structure comprises a plurality of virtual chip enable entries, each virtual chip enable entry comprising a virtual chip enable number, a device identifier, and operating parameters of the corresponding memory device; wherein a given virtual chip enables to overlay multiple physical memory devices; where a given plurality of virtual chips enables coverage of a single physical memory device.
The information storage and reading method of the computing equipment and the shared virtual medium load-bearing chip of the invention convert the virtual chip enable number (enable number) in the logic address into the physical chip enable by using the virtual chip enable data structure. One or more operating parameters are also determined from the virtual chip enable data structure. The virtual address is then translated into a physical address. Thereafter, the applicable memory device may be enabled using the physical chip enable, and the memory access request may be routed to the applicable memory device, whereupon the memory access request is executed using the applicable operating parameters.
Referring to FIG. 1, an exemplary block programmable memory device in accordance with one embodiment of the present technology is shown. The
Flash memory such a circuit and memory cell architecture enables new data to be written to erased
Referring now to FIG. 2, an exemplary electronic device is shown, in accordance with one embodiment of the present technology. The
The
One or more of the block
Although embodiments of the present technology are described herein with reference to block programmable memory devices and more specifically with reference to flash memory devices, embodiments of the present technology may also be practiced with any other Integrated Circuit (IC) memory devices. Embodiments of the present technology may be used with a plurality of integrated circuit memory devices, where the memory devices may have non-uniform operating parameters.
The
The
A memory controller, such as a non-volatile memory host interface controller (NVMHCI), may present the concept of a port to an Operating System (OS) to present a single storage entity. Thus, chip-enabled virtualization advantageously allows non-uniform block programmable memory devices to be grouped into a single NVMHCI port.
In an exemplary implementation, an electronic device may include both multi-level cells (MLC) and single-level cells (SLC) on the same flash die (die). The type of flash memory is determined by the address. However, wear leveling algorithms typically operate on a full Chip Enable (CE) or Logical Unit (LUN). Virtualization of chip enables allows wear leveling algorithms to be applied across multiple non-uniform block programmable memory devices. Chip-enabled virtualization allows for the maintenance of the same level of abstraction layer regardless of how the flash device is physically partitioned. In chip enable virtualization techniques, a single physical chip enable may be split into separate, completely independent virtual chip enables when presented to a memory controller. The memory controller utilizes the virtual chip enable data structure to apply the correct ECC, size operations, etc. to access the multi-level cell and single-level cell partitions without the operating system having to know the corresponding parameters of the flash memory device. In another implementation, the virtualized remapping of chip enables provides a way for a memory controller to manage more chip enables than there are hardware resources.
Referring now to fig. 3A and 3B, a method of chip enable virtualization in accordance with one embodiment of the present technology is shown. The method may be embodied in computing device readable instructions stored on one or more computing device readable media (e.g., memory) that, if executed by a processing unit, perform one or more processes including Chip Enable (CE) virtualization. The method may also be implemented in hardware and/or firmware. The method includes a setup phase and a memory access phase. In the setup phase, each of a plurality of block programmable memory devices is discovered 305. In one implementation, a memory controller of an electronic device discovers each of a plurality of block programmable memory devices of the electronic device. At 310, operating parameters are determined for each discovered block programmable memory device. In one implementation, a memory controller determines operating parameters for each block programmable memory device. The operating parameters of the block programmable memory device may include information regarding pin mapping, page size, sector size, number of logical units, number of blocks per logical unit, number of pages per block, level of ECC protection, protocol usage, and/or the like. At 315, a Virtual Chip Enable (VCE) data structure is established. In one implementation, a memory controller establishes a Virtual Chip Enable (VCE) data structure. The Virtual Chip Enable (VCE) data structure includes one or more Virtual Chip Enable (VCE) entries for one or more of the discovered block programmable memory devices. Each Virtual Chip Enable (VCE) entry may include a VCE number (e.g., a tag), a device identifier, and one or more operating parameters of the corresponding block programmable memory device. The device identifier may identify a physical or logical device, or a physical or logical partition of a device.
After the setup phase is complete, the memory controller may operate in a memory access phase. In the memory access phase, at 320, a memory access request including a logical address is received. The memory access request may be received by the memory controller from an application or operating system running on the electronic device. At 325, the VCE number in the logical address is translated to a device identifier of the one or more flash memory devices and the applicable operating parameters for the corresponding physical memory device are determined using the virtual chip enable data structure. In one implementation, the flash controller uses a virtual chip enable data structure to translate the VCE number to chip enable and determine applicable operating parameters. At 330, the logical address is translated to a physical address. A given wear leveling algorithm may be used to translate logical addresses to physical addresses across one or more physical or logical devices. In one implementation, the memory controller also utilizes page tables, translation look-aside buffers, and/or the like to translate logical addresses to physical addresses. At 335, the applicable block programmable memory device is enabled using physical chip enable, the memory access command is routed to the applicable memory device, and the applicable memory device then executes the memory access request using the applicable operating parameters. In one implementation, the memory controller uses the device identifier to enable the applicable block programmable memory device, routes the memory access command to the applicable memory device, and causes the applicable memory device to execute the memory access request using the applicable operating parameters.
Virtual chip enable is a construct that advantageously includes attributes that correspond to unique targets for the memory controller. These attributes may be utilized to access the corresponding memory device, implement a wear leveling algorithm, prepare for the operation of a non-volatile memory host control interface (NVMHCI), and so on. These embodiments advantageously allow block programmable memory devices operating at different rates, protocol standards, and/or the like to be mixed and matched on a system.
The above is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种PXI总线开关模块控制系统及方法