WO2011082653A1 - 用于多存储器的控制器、终端设备及其启动和访问方法 - Google Patents

用于多存储器的控制器、终端设备及其启动和访问方法 Download PDF

Info

Publication number
WO2011082653A1
WO2011082653A1 PCT/CN2010/080605 CN2010080605W WO2011082653A1 WO 2011082653 A1 WO2011082653 A1 WO 2011082653A1 CN 2010080605 W CN2010080605 W CN 2010080605W WO 2011082653 A1 WO2011082653 A1 WO 2011082653A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
access request
controller
address
disk
Prior art date
Application number
PCT/CN2010/080605
Other languages
English (en)
French (fr)
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 US13/520,777 priority Critical patent/US9513808B2/en
Publication of WO2011082653A1 publication Critical patent/WO2011082653A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0605Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0632Configuration or reconfiguration of storage systems by initialisation or re-initialisation of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0664Virtualisation aspects at device level, e.g. emulation of a storage device or system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0689Disk arrays, e.g. RAID, JBOD

Definitions

  • the present invention relates to a controller for a multi-memory, a terminal device, and a method of starting and accessing the same. Background technique
  • the present invention provides a controller, a terminal device, and a method of starting and accessing the same that allows a physical disk storing system data and a physical disk storing user data to be combined into a single virtual memory.
  • a controller for a multi-memory including a first memory for storing data of an operating system and at least one second memory for storing user data, characteristics of the controller is provided
  • the controller is configured to form the first memory and the second memory as virtual memories capable of supporting operating system startup.
  • the controller converts the attribute information of the first memory and the attribute information of the second memory into attribute information of the virtual memory, and stores the information in the first memory.
  • controller masks access to the second memory before converting, and converting the attribute information includes converting at least one of an address of the first memory and an address of the second memory, and causing the converted first The address of the memory and the address of the second memory are consecutive.
  • the controller determines whether the access request is an access request to the second memory, and when the access request is an access request to the second memory, the controller converts the access request into a pair Two memory access requests.
  • the controller parses the access request to the virtual memory, and determines whether the target address of the access request is within the address range of the first memory. When the target address of the access request is not within the address range of the first memory, the controller determines the access request. Is an access request to the second memory.
  • the first memory is a solid state disk
  • the second memory is a hard disk.
  • a terminal device comprising: a multi-memory, including a first memory for storing data of an operating system and at least one second memory for storing user data; a file system module, Forming a file in a predetermined structure; a volume manager for label management of files; a partition manager for managing partitions of multiple memories; a controller; the terminal device is characterized in that: the controller sets the first memory and the second memory Formed as a virtual memory capable of supporting operating system boot.
  • a method for booting a terminal device comprising: a multi-memory, including a first memory for storing data of an operating system and at least one second memory for storing user data a file system module for forming a file in a predetermined structure; a volume manager for label management of files; a partition manager for managing partitions of multiple memories; a controller for using the first memory and the second
  • the memory is formed as a virtual memory capable of supporting an operating system booting; the booting method is characterized in that the attribute information of the first memory and the attribute information of the second memory are converted into attribute information of the virtual memory and stored in the first memory.
  • masking access to the second memory includes converting at least one of an address of the first memory and an address of the second memory, and causing the converted first memory The address and the address of the second memory are consecutive.
  • an access method for a terminal device comprising: a multi-memory, including a first memory for storing data of an operating system and at least one second memory for storing user data a file system module for forming a file in a predetermined structure; a volume manager for label management of files; a partition manager for managing partitions of multiple memories; a controller for using the first memory and the second
  • the memory is formed as a virtual memory capable of supporting an operating system booting; the access method is characterized in that, when receiving an access request to the virtual memory, determining whether the access request is an access request to the second memory, when the access request is to the second memory When the access request is made, the access request is converted into an access request to the second memory.
  • the access request to the virtual memory is parsed, and then the target address of the access request is determined to be within the address range of the first memory.
  • the target address of the access request is not within the address range of the first memory, determining that the access request is the second Memory access request.
  • FIG. 1 is a functional configuration diagram illustrating a terminal device according to an embodiment of the present invention.
  • Fig. 2 is a flow chart for explaining in detail the virtual disk management in the startup process of the terminal device according to the embodiment of the present invention.
  • Figure 3 is a flow chart detailing virtual disk management during access of a terminal device in accordance with an embodiment of the present invention. detailed description
  • FIG. 1 is a functional configuration diagram illustrating a terminal device according to an embodiment of the present invention.
  • a terminal device 100 includes: a plurality of disks (including a first disk 101a and a second disk 101b), a file system module 102, a volume manager 103, a partition manager 104, and a control module. 105 and an input/output interface (not shown), a display unit (not shown), and the like. Since the functions, structures, and operations of the respective units not shown in the drawings do not involve improvements to the prior art, a detailed description thereof will be omitted herein.
  • the first disk 101a is for storing data of an operating system
  • the second disk 101b is for storing user data
  • the control module 105 is for using the first disk 101a and the
  • the second disk 101b is formed as a virtual memory capable of supporting the operating system booting
  • the partition manager 104 is configured to manage a partition of the virtual memory including the first disk 101a and the second disk 101b
  • the volume manager 103 is used to The partition of the virtual memory is managed by a volume label to provide volume semantics (ie, a drive letter) to the user
  • the file system module 102 is configured to define a file structure (such as NTFS and FAT32) for the corresponding volume, thereby being able to form a file in a predetermined structure. .
  • the process is described in detail.
  • Figure 1 is a flow chart detailing virtual disk management during startup of a terminal device in accordance with an embodiment of the present invention.
  • the control module 105 When the terminal device 100 starts up, the operating system and the startup type driver file are loaded, and the control module 105 is activated. In the initialization phase of the operating system and the bootable driver file, the control module 105 also performs a corresponding initialization process by which the second disk 101b is shielded from the operating system of the terminal device 100. Specifically, the initialization process first confirms which one of the disks is used. The first disk 101a storing the system data; then, according to the confirmation result, all the read and write requests for the second disk 101b are masked, so that the operating system of the terminal device 100 cannot recognize the partition information of the second disk 101b, thereby failing to be in the second disk.
  • the control module 105 stores a correspondence relationship between the partition table of the virtual disk and the partition table of the first disk 101a and the second disk 101b.
  • the first disk 101a and the second disk 101b constitute a single virtual disk.
  • the control module 105 shields all read and write access to the second disk 101b, and merges the partition table of the second disk 101b into the first disk 101a to form a partition table of the virtual disk
  • the terminal device The operating system of 100 can only access the first disk 101a and obtain the partition table of the virtual disk.
  • the operating system can only recognize the first disk 101a, and based on the virtual partition table obtained from the first disk 101a, the first disk 101a is considered to have the sum of the first disk 101a and the second disk 101b. Capacity of the disk. Therefore, the operating system of the terminal device 100 cannot recognize that the virtual disk is composed of the first disk 101a storing the system data of the operating system and the second disk 101b storing the user data, so that the blue screen of the operating system does not occur.
  • Figure 3 is a flow chart detailing virtual disk management during access of a terminal device in accordance with an embodiment of the present invention.
  • the operating system of the terminal device 100 When the user invokes the file, the operating system of the terminal device 100 generates a file I/O (input/output) request.
  • step S111 the file system module 102 executes the volume-based sector-level I/O according to the file I/O request, generates a volume-based I/O request, and sends it to the volume manager 103.
  • the volume manager 103 receives a volume-based I/O request from the file system module 102, performs disk-based sector-level I/O, generates a disk-based I/O request, and sends it to the partition manager. 104.
  • the partition manager 104 receives the disk-based I/O request from the volume manager 103 and forwards the received disk-based I/O request to the control module 105.
  • the control module 105 receives the I/O request from the partition manager 104, Parsing the I/O request, and then based on the target address (virtual address) in the parsed I/O request, and the correspondence between the partition table of the virtual disk and the partition table of the first disk and the second disk And determining whether the target address is within an address range of the first disk 101a.
  • the target address within the I/O request is directly used without converting the target address.
  • the target address of the I/O request is not within the address range of the first disk 101a, it is determined that the access request is an access request to the second disk 101b. And then creating a secondary I/O request based on the target address in the parsed I/O request and the correspondence between the partition table of the virtual disk and the partition table of the first disk and the second disk, the auxiliary I The target address of the /O request points to the actual physical address in the second disk 101b, so that the actual addresses of the different disks (the first disk 101a and the second disk 101b) can be accessed based on the target address (virtual address).
  • a solid state disk (SSD) is selected as a first disk for storing system data
  • a hard disk (Hard Disk DT, HDD) is selected as a storage user.
  • the second disk of data The access speed of the SSD disk is significantly higher than that of the HDD, and the price of the SSD disk is much higher than that of the HDD disk.
  • a high-capacity HDD is used as the second disk storing the user data by using the high-capacity SSD having a smaller capacity as the first disk storing the system data,
  • the operating speed of the operating system of the terminal device 100 can be effectively improved, and the cost of the large-capacity virtual disk including the first disk and the second disk can be effectively controlled.
  • the terminal device may include a plurality of second disks to provide a larger storage capacity.
  • the partition table of the second disk 101b is converted and then loaded into the first disk 101a to form a virtual partition table.
  • the partition table of the first disk 101a and the second disk 101b can be arbitrarily reallocated (e.g., converted) as long as the generated virtual partition table is continuous.
  • the user data is stored in the second magnetic disk 101b
  • the system data is stored in the first magnetic disk 101a.
  • the present invention is not limited thereto, and system data and user data can be arbitrarily stored at any position in the first disk 101a and the second disk 101b.
  • the present invention has been described using a magnetic disk as a memory.
  • the present invention is not limited thereto, and any nonvolatile memory such as a magnetic disk, a flash memory, or the like can be used.
  • Embodiments of the present invention are applicable to terminal devices such as notebook computers, personal computers, servers.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Description

用于多存储器的控制器、 终端设备及其启动和访问方法 技术领域
本发明涉及用于多存储器的控制器、 终端设备及其启动和访问方法。 背景技术
目前, 存在多种动态磁盘技术, 允许将多个物理磁盘或存储介质合并为 单个虚拟存储器。 然而, 由于诸如 Windows®之类的操作系统的限制, 不允 许将存储系统数据的物理磁盘和存储用户数据的物理磁盘合并为单个虚拟 存储器。 如果用户利用动态磁盘技术强制将存储系统数据的物理磁盘和存储 用户数据的物理磁盘合并为单个虚拟存储器, 则操作系统在启动过程中能够 识别出所述单个虚拟存储器实际上由存储系统数据的物理磁盘和存储用户 数据的物理磁盘组成, 而这会导致操作系统出现蓝屏死机的情况, 从而无法 进入系统, 影响用户的使用。 发明内容
有鉴于上述问题,本发明提供了一种允许将存储系统数据的物理磁盘和 存储用户数据的物理磁盘合并为单个虚拟存储器的控制器、终端设备及其启 动和访问方法。
根据本发明的一个方面, 提供了一种用于多存储器的控制器, 多存储器 包括用于存储操作系统的数据的第一存储器和至少一个用于存储用户数据 的第二存储器, 控制器的特征在于: 控制器将第一存储器和第二存储器形成 为能够支持操作系统启动的虚拟存储器。
其中, 当启动操作系统时, 控制器将第一存储器的属性信息和第二存储 器的属性信息转换为虛拟存储器的属性信息, 并存储在第一存储器中。
此外, 控制器在转换之前, 屏蔽对第二存储器的访问, 而属性信息的转 换包括转换所述第一存储器的地址和所述第二存储器的地址中的至少一个, 并且使转换后的第一存储器的地址和第二存储器的地址连续。
此外, 当接收到对虚拟存储器的访问请求时, 控制器判断访问请求是否 是对第二存储器的访问请求, 当访问请求是对第二存储器的访问请求时, 控 制器将访问请求转换为对第二存储器的访问请求。 此外, 控制器解析对虚拟存储器的访问请求, 并判断访问请求的目标地 址是否在第一存储器的地址范围内, 当访问请求的目标地址不在第一存储器 的地址范围内时, 控制器判断访问请求是对第二存储器的访问请求。
此外, 第一存储器是固态盘, 并且第二存储器是硬盘。
根据本发明另一方面, 提供了一种终端设备, 包括: 多存储器, 包括用 于存储操作系统的数据的第一存储器和至少一个用于存储用户数据的第二 存储器; 文件系统模块, 用于以预定结构形成文件; 卷管理器, 用于对文件 进行卷标管理; 分区管理器, 用于管理多存储器的分区; 控制器; 终端设备 的特征在于: 控制器将第一存储器和第二存储器形成为能够支持操作系统启 动的虚拟存储器。
根据本发明另一方面, 提供了一种用于终端设备的启动方法, 终端设备 包括: 多存储器, 包括用于存储操作系统的数据的第一存储器和至少一个用 于存储用户数据的第二存储器; 文件系统模块, 用于以预定结构形成文件; 卷管理器, 用于对文件进行卷标管理; 分区管理器, 用于管理多存储器的分 区; 控制器, 用于将第一存储器和第二存储器形成为能够支持操作系统启动 的虚拟存储器; 启动方法的特征在于, 将第一存储器的属性信息和第二存储 器的属性信息转换为虚拟存储器的属性信息, 并存储在第一存储器中。
其中, 在转换之前, 屏蔽对第二存储器的访问, 而属性信息的转换包括 转换所述第一存储器的地址和所述第二存储器的地址中的至少一个, 并且使 转换后的第一存储器的地址和第二存储器的地址连续。
根据本发明另一方面, 提供了一种用于终端设备的访问方法, 终端设备 包括: 多存储器, 包括用于存储操作系统的数据的第一存储器和至少一个用 于存储用户数据的第二存储器; 文件系统模块, 用于以预定结构形成文件; 卷管理器, 用于对文件进行卷标管理; 分区管理器, 用于管理多存储器的分 区; 控制器, 用于将第一存储器和第二存储器形成为能够支持操作系统启动 的虚拟存储器;访问方法的特征在于,当接收到对虛拟存储器的访问请求时, 判断访问请求是否是对第二存储器的访问请求, 当访问请求是对第二存储器 的访问请求时, 将访问请求转换为对第二存储器的访问请求。
此外, 解析对虚拟存储器的访问请求, 然后判断访问请求的目标地址是 否在第一存储器的地址范围内, 当访问请求的目标地址不在第一存储器的地 址范围内时, 判断访问请求是对第二存储器的访问请求。 附图说明
图 1是图示根据本发明实施例的终端设备的功能配置图。
图 2是详细说明根据本发明实施例的终端设备的启动过程中的虚拟磁 盘管理的流程图。
图 3是详细说明根据本发明实施例的终端设备的访问过程中的虚拟磁 盘管理的流程图。 具体实施方式
以下将参照附图详细描述本发明实施例。
图 1是图示根据本发明实施例的终端设备的功能配置图。 如图 1所示, 根据本发明实施例的终端设备 100包括: 多个磁盘 (包括第一磁盘 101a和 第二磁盘 101b )、 文件系统模块 102、 卷管理器 103、 分区管理器 104、 控制 模块 105以及输入输出接口 (未示出)、 显示单元 (未示出)等。 由于附图 中未示出的各单元的功能、 结构和操作不涉及对现有技术的改进, 因此这里 省略对其的详细描述。
在根据本发明实施例的终端设备 100中, 第一磁盘 101 a用于存储操作 系统的数据, 第二磁盘 101b用于存储用户数据; 控制模块 105用于将所述 第一磁盘 101a和所述第二磁盘 101b形成为能够支持所述操作系统启动的虚 拟存储器; 分区管理器 104用于管理包括第一磁盘 101a和第二磁盘 101b的 所述虚拟存储器的分区; 卷管理器 103用于对所述虚拟存储器的分区进行卷 标管理, 以便向用户提供卷语义(即, 盘符); 文件系统模块 102用于对相 应的卷定义文件结构 (如 NTFS和 FAT32 ), 从而能够以预定结构形成文件。 过程进行详细描述。
图 1是详细说明根据本发明实施例的终端设备的启动过程中的虚拟磁 盘管理的流程图。
当终端设备 1 00启动时, 加载操作系统与启动型驱动文件, 并激活控制 模块 105。 在操作系统和启动型驱动文件的初始化阶段, 所述控制模块 105 也进行相应的初始化过程, 通过该初始化过程向终端设备 100的操作系统屏 蔽第二磁盘 101b。具体地, 所述初始化过程首先确认所述磁盘中哪一个是用 于存储系统数据的第一磁盘 101a; 然后根据确认结果, 屏蔽针对第二磁盘 101b的所有读写请求, 使终端设备 100的操作系统无法识别第二磁盘 101b 的分区信息, 从而无法在第二磁盘 101b上加载任何分区; 最后, 转换第二 磁盘 101b的分区表, 然后将其加载到第一磁盘 101a中, 以与第一磁盘 101a 的分区表合并来作为虛拟磁盘的分区表,使得所述虚拟磁盘的空间地址都是 连续的。 然后, 所述控制模块 105存储所述虚拟磁盘的分区表与所述第一磁 盘 101a和第二磁盘 101b的分区表之间的对应关系。
通过上述初始化过程 , 由于虚拟磁盘的空间地址都是连续的 , 因此第一 磁盘 101a和第二磁盘 101b组成了一个单一的虚拟磁盘。 此外, 通过上述配 置, 由于控制模块 105屏蔽了对第二磁盘 101b的所有读写访问, 并且将第 二磁盘 101b的分区表合并到第一磁盘 101a中以形成虚拟磁盘的分区表, 因 此终端设备 100的操作系统只能访问第一磁盘 101a ,且获得的是虚拟磁盘的 分区表。 在这种情况下, 操作系统只能识别出第一磁盘 101a , 并且根据从第 一磁盘 101a获得的虚拟分区表,认为该第一磁盘 101a是具有第一磁盘 101a 和第二磁盘 101b之和的容量的磁盘。 因此, 终端设备 100的操作系统不能 识别出虚拟磁盘由存储操作系统的系统数据的第一磁盘 101a和存储用户数 据的第二磁盘 101b组成, 从而不会出现操作系统蓝屏死机的现象。
下面详细描述根据本发明实施例的终端设备的访问过程中的虚拟磁盘 管理的过程。
图 3是详细说明根据本发明实施例的终端设备的访问过程中的虚拟磁 盘管理的流程图。
当用户调用文件时, 终端设备 100的操作系统产生文件 I/O (输入 /输 出)请求。
然后, 在步骤 S111 , 文件系统模块 102根据所述文件 I/O请求执行基 于卷的扇区级的 I/O, 产生基于卷的 I /O请求并将其发送到卷管理器 103。
在步骤 S112 , 卷管理器 103从文件系统模块 102接收基于卷的 I/O请 求, 执行基于磁盘的扇区级的 I/O , 产生基于磁盘的 I/O请求并将其发送到 分区管理器 104。
在步骤 S113, 分区管理器 104从卷管理器 103接收基于盘的 I/O请求, 并将所接收到的基于盘的 I/O请求转发到控制模块 105。
在步骤 S114 , 控制模块 105接收来自分区管理器 104的 I/O请求, 解 析所述 I/O请求, 然后基于所解析的 I/O请求中的目标地址 (虚拟地址)、 以及虚拟磁盘的分区表与所述第一磁盘和第二磁盘的分区表之间的对应关 系, 判断所述目标地址是否在所述第一磁盘 101 a的地址范围内。
当所述 I/O请求的目标地址在所述第一磁盘 101a的地址范围内时, 直 接使用所述 I / 0请求内的目标地址, 而不对所述目标地址进行转换。
当所述 I/O请求的目标地址不在所述第一磁盘 101a的地址范围内时, 确定所述访问请求是对第二磁盘 101b的访问请求。 然后,基于所解析的 I/O 请求中的目标地址、 以及虚拟磁盘的分区表与所述第一磁盘和第二磁盘的分 区表之间的对应关系, 创建辅助 I/O请求, 该辅助 I/O请求的目标地址指向 第二磁盘 101b中的实际物理地址, 从而可以基于目标地址(虚拟地址)访 问不同的磁盘 (第一磁盘 101a和第二磁盘 101b ) 的实际地址。
此外,根据本发明的一个实施例, 选择固态盘(Sol id Sta te Di sk, SSD ) 作为用于存储系统数据的第一磁盘, 选择硬盘 (Hard Dr ive Di sk, HDD )作 为用于存储用户数据的第二磁盘。 SSD盘的访问速度明显高于 HDD的访问速 度, 且 SSD盘的价格远远高于 HDD盘。 基于根据本发明的实施例中的控制模 块 105的控制, 通过将容量较小的高速 SSD用作存储系统数据的第一磁盘, 而将容量很大的 HDD用作存储用户数据的第二磁盘, 可以有效地提升终端设 备 100的操作系统的运行速度, 并且可以有效地控制包括第一磁盘和第二磁 盘的大容量虚拟磁盘的成本。
此外 ,根据本发明实施例的终端设备可以包括多个第二磁盘以提供更大 的存储容量。
此外, 在本发明上述实施例中, 转换第二磁盘 101b的分区表, 然后将 其加载到第一磁盘 101a中以形成虚拟分区表。 然而, 替代地, 只要所产生 的虚拟分区表是连续的, 就可以任意地重新分配(如, 转换)第一磁盘 101a 和第二磁盘 101b的分区表。
另外, 根据本发明的上述实施例, 用户数据存储在第二磁盘 101b中, 而系统数据存储在第一磁盘 101 a中。 然而, 本发明不限于此, 可以任意地 将系统数据和用户数据存储在所述第一磁盘 101a和第二磁盘 101b中的任意 位置上。
另外, 在上述实施例中, 使用磁盘作为存储器对本发明进行了描述。 然 而, 本发明不限于此, 诸如磁盘、 闪存之类的任何非易失性存储器均可用作 根据本发明实施例的终端设备的存储设备。
本发明实施例可应用到诸如笔记本电脑、 个人计算机、 服务器之类的终 端设备。
本领域的技术人员应该理解, 根据设计要求和其他因素, 可能出现各种 修改、 组合、 子组合和变更, 它们在所附权利要求或者其等价物的范围内。

Claims

权利要求书
1. 一种用于多存储器的控制器, 所述多存储器包括用于存储操作系统 的数据的第一存储器和至少一个用于存储用户数据的第二存储器, 特征在 于,
所述控制器将所述第一存储器和所述第二存储器形成为能够支持所述 操作系统启动的虚拟存储器。
2. 如权利要求 1所述的控制器, 其特征在于, 当启动所述操作系统时, 所述控制器将所述第一存储器的属性信息和所述第二存储器的属性信息转 换为所述虚拟存储器的属性信息, 并存储在所述第一存储器中。
3. 如权利要求 2所述的控制器, 其特征在于, 所述控制器在所述转换 之前, 屏蔽对所述第二存储器的访问, 而所述属性信息的转换包括转换所述 第一存储器的地址和所述第二存储器的地址中的至少一个, 并且使转换后的 所述第一存储器的地址和所述第二存储器的地址连续。
4. 如权利要求 1所述的控制器, 其特征在于, 当接收到对所述虚拟存 储器的访问请求时, 所述控制器判断所述访问请求是否是对第二存储器的访 问请求, 当所述访问请求是对所述第二存储器的访问请求时, 所述控制器将 所述访问请求转换为对所述第二存储器的访问请求。
5. 如权利要求 4所述的控制器, 其特征在于, 所述控制器解析对所述 虚拟存储器的访问请求, 并判断所述访问请求的目标地址是否在所述第一存 储器的地址范围内, 当所述访问请求的目标地址不在所述第一存储器的地址 范围内时, 所述控制器确定所述访问请求是对第二存储器的访问请求。
6. 如权利要求 1到 5的任一所述的控制器, 其特征在于, 所述第一存 储器是固态盘, 并且所述第二存储器是硬盘。
7. 一种终端设备, 包括:
多存储器,包括用于存储操作系统的数据的第一存储器和至少一个用于 存储用户数据的第二存储器;
文件系统模块, 用于以预定结构形成文件;
卷管理器, 用于对所述文件进行卷标管理;
分区管理器, 用于管理所述多存储器的分区;
控制器,用于将所述第一存储器和所述第二存储器形成为能够支持所述 操作系统启动的虚拟存储器。
8. 一种用于终端设备的启动方法, 其特征在于, 所述方法应用于所述 终端设备中, 所述终端设备包括: 多存储器, 包括用于存储操作系统的数据 的第一存储器和至少一个用于存储用户数据的第二存储器; 文件系统模块, 用于以预定结构形成文件; 卷管理器, 用于对所述文件进行卷标管理; 分区 管理器, 用于管理所述多存储器的分区; 控制器, 用于将所述第一存储器和 所述第二存储器形成为能够支持所述操作系统启动的虚拟存储器;
所述启动方法包括:
将所述第一存储器的属性信息和所述第二存储器的属性信息转换为所 述虚拟存储器的属性信息, 并存储在所述第一存储器中。
9. 如权利要求 8所述的启动方法, 其特征在于, 在所述转换之前, 屏 蔽对所述第二存储器的访问, 而所述属性信息的转换包括转换所述第一存储 器的地址和所述第二存储器的地址中的至少一个, 并且使转换后的所述第一 存储器的地址和所述第二存储器的地址连续。
10. 一种用于终端设备的访问方法, 其特征在于, 所述方法应用于所述 终端设备中, 所述终端设备包括: 多存储器, 包括用于存储操作系统的数据 的第一存储器和至少一个用于存储用户数据的第二存储器; 文件系统模块, 用于以预定结构形成文件; 卷管理器, 用于对所述文件进行卷标管理; 分区 管理器, 用于管理所述多存储器的分区; 控制器, 用于将所述第一存储器和 所述第二存储器形成为能够支持所述操作系统启动的虚拟存储器;
所述访问方法包括:
当接收到对所述虚拟存储器的访问请求时,判断所述访问请求是否是对 第二存储器的访问请求, 当所述访问请求是对所述第二存储器的访问请求 时, 将所述访问请求转换为对所述第二存储器的访问请求。
11. 如权利要求 10所述的访问方法, 其特征在于, 解析对所述虚拟存 储器的访问请求, 然后判断所述访问请求的目标地址是否在所述第一存储器 的地址范围内, 当所述访问请求的目标地址不在所述第一存储器的地址范围 内时, 确定所述访问请求是对第二存储器的访问请求。
PCT/CN2010/080605 2010-01-05 2010-12-31 用于多存储器的控制器、终端设备及其启动和访问方法 WO2011082653A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/520,777 US9513808B2 (en) 2010-01-05 2010-12-31 Controller used for multi-storages, terminal device and start-up and access method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010120104.8A CN102117184B (zh) 2010-01-05 2010-01-05 用于多存储器的控制器、终端设备及其启动和访问方法
CN201010120104.8 2010-01-05

Publications (1)

Publication Number Publication Date
WO2011082653A1 true WO2011082653A1 (zh) 2011-07-14

Family

ID=44215971

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/080605 WO2011082653A1 (zh) 2010-01-05 2010-12-31 用于多存储器的控制器、终端设备及其启动和访问方法

Country Status (3)

Country Link
US (1) US9513808B2 (zh)
CN (1) CN102117184B (zh)
WO (1) WO2011082653A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851383A (zh) * 2016-04-29 2020-02-28 华为技术有限公司 一种管理存储系统的方法及设备

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8359431B2 (en) * 2009-08-20 2013-01-22 Hitachi, Ltd. Storage subsystem and its data processing method for reducing the amount of data to be stored in a semiconductor nonvolatile memory
CN102566938A (zh) * 2011-12-16 2012-07-11 云海创想信息技术(天津)有限公司 一种实现源卷与多个相关卷关联的方法
CN103678428B (zh) * 2012-09-26 2018-08-31 联想(北京)有限公司 一种文件系统的创建方法及装置
CN104142838A (zh) * 2014-07-02 2014-11-12 青岛海信移动通信技术股份有限公司 一种移动通信终端开机启动的方法和设备
GB2539429B (en) * 2015-06-16 2017-09-06 Advanced Risc Mach Ltd Address translation
WO2017126097A1 (ja) * 2016-01-22 2017-07-27 株式会社日立製作所 計算機システム、計算機
US20210271572A1 (en) * 2018-07-20 2021-09-02 Huawei Technologies Co., Ltd. Data Backup Method and Terminal
WO2023077519A1 (zh) * 2021-11-08 2023-05-11 华为技术有限公司 支持多操作系统的存储设备、配置方法以及计算机系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987565A (en) * 1997-06-25 1999-11-16 Sun Microsystems, Inc. Method and apparatus for virtual disk simulation
CN1553345A (zh) * 2003-06-06 2004-12-08 英业达股份有限公司 多卷磁盘阵列管理方法与系统
CN1945537A (zh) * 2006-07-27 2007-04-11 清华大学 基于存储区域网络的高速固态存储设备的实现方法
CN101398822A (zh) * 2007-09-26 2009-04-01 新奥特硅谷视频技术有限责任公司 利用虚拟文件系统技术实现动态扩展网络存储空间的方法

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0447145B1 (en) * 1990-03-12 2000-07-12 Hewlett-Packard Company User scheduled direct memory access using virtual addresses
JPH07191944A (ja) * 1991-09-11 1995-07-28 Internatl Business Mach Corp <Ibm> 多重プロセッサによる多数の資源への命令におけるデッドロックを防止するためのシステムおよび方法
US6889296B2 (en) * 2001-02-20 2005-05-03 International Business Machines Corporation Memory management method for preventing an operating system from writing into user memory space
US20040230963A1 (en) * 2003-05-12 2004-11-18 Rothman Michael A. Method for updating firmware in an operating system agnostic manner
US9104315B2 (en) * 2005-02-04 2015-08-11 Sandisk Technologies Inc. Systems and methods for a mass data storage system having a file-based interface to a host and a non-file-based interface to secondary storage
US7480791B2 (en) * 2005-09-15 2009-01-20 Intel Corporation Method and apparatus for quick resumption where the system may forego initialization of at least one memory range identified in the resume descriptor
KR100755701B1 (ko) * 2005-12-27 2007-09-05 삼성전자주식회사 내장형 시스템을 위한 요구 페이징 장치 및 방법
CN100456253C (zh) * 2005-12-28 2009-01-28 英业达股份有限公司 存储系统的高速缓存数据的保护方法
CN100418319C (zh) * 2006-05-18 2008-09-10 清华大学 透明计算系统中端设备间数据的传送方法
JP2008217855A (ja) * 2007-02-28 2008-09-18 Fujitsu Ltd 記憶装置用制御装置、記憶装置およびそのデータ記憶制御方法
US8082411B1 (en) * 2008-04-30 2011-12-20 Netapp, Inc. Method and system for logical unit substitution
US8578483B2 (en) * 2008-07-31 2013-11-05 Carnegie Mellon University Systems and methods for preventing unauthorized modification of an operating system
US8285915B2 (en) * 2010-01-13 2012-10-09 International Business Machines Corporation Relocating page tables and data amongst memory modules in a virtualized environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987565A (en) * 1997-06-25 1999-11-16 Sun Microsystems, Inc. Method and apparatus for virtual disk simulation
CN1553345A (zh) * 2003-06-06 2004-12-08 英业达股份有限公司 多卷磁盘阵列管理方法与系统
CN1945537A (zh) * 2006-07-27 2007-04-11 清华大学 基于存储区域网络的高速固态存储设备的实现方法
CN101398822A (zh) * 2007-09-26 2009-04-01 新奥特硅谷视频技术有限责任公司 利用虚拟文件系统技术实现动态扩展网络存储空间的方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851383A (zh) * 2016-04-29 2020-02-28 华为技术有限公司 一种管理存储系统的方法及设备
CN110851383B (zh) * 2016-04-29 2023-08-22 华为技术有限公司 一种管理存储系统的方法及设备

Also Published As

Publication number Publication date
US20120284451A1 (en) 2012-11-08
CN102117184B (zh) 2017-06-27
US9513808B2 (en) 2016-12-06
CN102117184A (zh) 2011-07-06

Similar Documents

Publication Publication Date Title
WO2011082653A1 (zh) 用于多存储器的控制器、终端设备及其启动和访问方法
US9760497B2 (en) Hierarchy memory management
US8397046B2 (en) Method and apparatus for deploying virtual hard disk to storage system
KR101930117B1 (ko) 비휘발성 스토리지 장치 세트의 휘발성 메모리 표현 기법
JP5276218B2 (ja) リアルタイムでlunをファイルに、またはファイルをlunに変換すること
US20170344470A1 (en) Range based stream detection for flash memory device
US7886115B2 (en) Techniques for implementing virtual storage devices
US20120191929A1 (en) Method and apparatus of rapidly deploying virtual machine pooling volume
US9990136B2 (en) Methods and devices for booting a network attached storage with two logical units
US9170824B2 (en) Virtualized boot block with discovery volume
US20070294459A1 (en) Apparatus for bridging a host to a SAN
US8433847B2 (en) Memory drive that can be operated like optical disk drive and method for virtualizing memory drive as optical disk drive
CN113126910A (zh) 存储设备及其操作方法
US20110060883A1 (en) Method and apparatus for external logical storage volume management
TWI326831B (zh)
JP2008071189A (ja) ディスクアレイ装置、raidコントローラおよびディスクアレイ装置のディスクアレイ構築方法
US10983819B2 (en) Dynamic provisioning and delivery of virtual applications
US10209923B2 (en) Coalescing configuration engine, coalescing configuration tool and file system for storage system
JP7067270B2 (ja) 情報処理装置,ロードプログラムおよびロード方法
KR20150074546A (ko) 대용량 스토리지 제공 방법 및 시스템
TW201140316A (en) Storage apparatus and associated controlling method applied to computer system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10841996

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 13520777

Country of ref document: US

122 Ep: pct application non-entry in european phase

Ref document number: 10841996

Country of ref document: EP

Kind code of ref document: A1