[go: up one dir, main page]

CN103870208B - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN103870208B
CN103870208B CN201210549720.4A CN201210549720A CN103870208B CN 103870208 B CN103870208 B CN 103870208B CN 201210549720 A CN201210549720 A CN 201210549720A CN 103870208 B CN103870208 B CN 103870208B
Authority
CN
China
Prior art keywords
file
storage unit
reading
stored
electronic device
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201210549720.4A
Other languages
Chinese (zh)
Other versions
CN103870208A (en
Inventor
丁刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710708280.5A priority Critical patent/CN107704198B/en
Priority to CN201210549720.4A priority patent/CN103870208B/en
Publication of CN103870208A publication Critical patent/CN103870208A/en
Application granted granted Critical
Publication of CN103870208B publication Critical patent/CN103870208B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

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

Abstract

The invention discloses an information processing method and electronic equipment, wherein the electronic equipment comprises a first storage unit and a second storage unit, a first operating system is installed in the first storage unit, whether a first file is stored in the second storage unit or not is judged in the process that the first operating system reads a first part of the first file from the first storage unit, when the first file is stored in the second storage unit, a second part of the first file starts to be read from the second storage unit in advance during the period of reading the first part of the first file from the first storage unit, and the second part of the first file is different from the first part of the first file.

Description

信息处理的方法及电子设备Information processing method and electronic device

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种信息处理的方法及电子设备。The invention relates to the field of computer technology, in particular to an information processing method and electronic equipment.

背景技术Background technique

随着计算机技术的发展,现有的电子设备为了加快硬盘读写性能或者稳定性,通常使用独立硬盘冗余阵列(RAID)技术,比如RAID0是把连续的数据分散到多个硬盘上存取,这样,系统有数据请求时就可以被多个硬盘并行的执行,每个硬盘执行属于它自己的那部分数据请求,从而提升硬盘组合的数据读取性能;而RAID1是通过硬盘数据镜像实现数据冗余,在成对的独立硬盘上产生互为备份的数据,从而提升硬盘的可靠性。With the development of computer technology, existing electronic devices usually use Redundant Array of Independent Hard Disks (RAID) technology in order to speed up hard disk read and write performance or stability. For example, RAID0 disperses continuous data to multiple hard disks for access. In this way, when the system has a data request, it can be executed by multiple hard disks in parallel, and each hard disk executes its own part of the data request, thereby improving the data reading performance of the hard disk combination; and RAID1 realizes data redundancy through hard disk data mirroring. In addition, the data for mutual backup is generated on the paired independent hard disks, thereby improving the reliability of the hard disks.

本申请发明人在实现本申请实施例技术方案的过程中,至少发现现有技术中存在如下技术问题:In the process of implementing the technical solutions of the embodiments of the present application, the inventors of the present application at least found the following technical problems in the prior art:

现有的电子设备使用RAID0技术时,由于数据是分散存储的,任何一块硬盘的损坏都会导致所有数据的丢失,而多块硬盘损坏的概率要大于单个硬盘,从而降低了硬盘整体的可靠性,安全性较低;而在使用RAID1技术时,虽然提升了硬盘整体运行的可靠性,但由于是采用冗余备份的方法,使得数据读取速度较低。如此,使得现有的电子设备在从硬盘中读取数据时,存在数据读取速度快时、安全性低;和安全性高时,数据读取速度慢的技术问题。When the existing electronic equipment uses RAID0 technology, since the data is stored in a dispersed manner, the damage of any hard disk will lead to the loss of all data, and the probability of damage to multiple hard disks is greater than that of a single hard disk, thereby reducing the overall reliability of the hard disk. The security is low; when using RAID1 technology, although the reliability of the overall operation of the hard disk is improved, the data reading speed is low due to the redundant backup method. In this way, when the existing electronic equipment reads data from the hard disk, there are technical problems that when the data reading speed is fast, the security is low; and when the security is high, the data reading speed is slow.

发明内容Contents of the invention

本申请实施例通过提供一种信息处理的方法及电子设备,用以解决现有技术中的电子设备在从硬盘中读取数据时,数据读取速度快时、安全性低;和安全性高时,数据读取速度慢的技术问题。The embodiment of the present application provides an information processing method and electronic equipment to solve the problem of high data reading speed and low security when electronic equipment in the prior art reads data from a hard disk; and high security. , the technical problem of slow data reading speed.

本申请实施例提供了一种信息处理的方法,应用于电子设备,所述电子设备包括第一存储单元和第二存储单元,所述第一存储单元中安装有第一操作系统,所述方法包括:An embodiment of the present application provides an information processing method, which is applied to an electronic device. The electronic device includes a first storage unit and a second storage unit, and a first operating system is installed in the first storage unit. The method include:

在所述第一操作系统从所述第一存储单元中读取第一文件的第一部分文件的过程中,判断所述第一文件是否有存储在所述第二存储单元中;During the process of the first operating system reading the first part of the first file from the first storage unit, it is determined whether the first file is stored in the second storage unit;

在所述第一文件存储在所述第二存储单元中时,在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第一文件的第二部分文件,其中,所述第二部分文件与所述第一部分文件不同。When the first file is stored in the second storage unit, during the period of reading the first part of the file from the first storage unit, pre-reading the first file from the second storage unit is started. A second partial file of a file, wherein the second partial file is different from the first partial file.

可选的,所述第二存储单元是挂载在所述电子设备的第一目录下,所述第一目录为所述第一存储单元的多个目录中的一个目录。Optionally, the second storage unit is mounted under the first directory of the electronic device, and the first directory is one of the multiple directories of the first storage unit.

可选的,所述第一文件存储在所述第二存储单元中,具体包括:基于一预设规则,从所述第一存储单元存储的文件包中获取第一文件,生成第一控制指令;执行所述第一控制指令,将所述第一文件的第一数据内容备份在所述第二存储单元中的预设空间中。Optionally, storing the first file in the second storage unit specifically includes: based on a preset rule, obtaining the first file from a file package stored in the first storage unit, and generating a first control instruction ; executing the first control instruction, and backing up the first data content of the first file in a preset space in the second storage unit.

可选的,在所述执行所述第一控制指令,将所述第一文件的第一数据内容备份在所述第二存储单元中的预设空间中之后,所述方法还包括:获取所述第一数据内容在所述第二存储单元中的第一路径参数;将所述第一路径参数存储在所述电子设备的第一内存中,以使所述第一内存能够通过所述第一路径参数读取所述第一文件的第一数据内容。Optionally, after the first control instruction is executed to back up the first data content of the first file in a preset space in the second storage unit, the method further includes: acquiring the the first path parameter of the first data content in the second storage unit; store the first path parameter in the first memory of the electronic device, so that the first memory can pass through the first memory A path parameter reads the first data content of the first file.

可选的,在所述第一文件存储在所述第二存储单元中时,在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第一文件的第二部分文件,具体包括:在所述第一文件存储到所述第二存储单元中时,从所述第一文件中获取在所述第一部分文件之后的第一标识信息;基于所述第一标识信息,获取所述第一文件的第二部分文件;在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第二部分文件。Optionally, when the first file is stored in the second storage unit, pre-reading from the second storage unit is started while the first part of the file is being read from the first storage unit Retrieving the second partial file of the first file specifically includes: when the first file is stored in the second storage unit, obtaining the first partial file after the first partial file from the first file identification information; based on the first identification information, acquire a second partial file of the first file; during the period of reading the first partial file from the first storage unit, start to read from the second storage unit The second portion of the file is pre-read.

可选的,所述在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第二部分文件,具体包括:在从所述第一存储单元读取所述第一部分文件的期间,获取所述第二部分文件在所述第二存储单元中的第二路径参数;基于所述第二路径参数,通过所述第一内存预读取所述第二部分文件的第二数据内容。Optionally, during the period of reading the first partial file from the first storage unit, starting to pre-read the second partial file from the second storage unit specifically includes: While the first storage unit is reading the first partial file, acquire a second path parameter of the second partial file in the second storage unit; The second data content of the second part of the file is read.

可选的,在所述开始从所述第二存储单元中读取所述第二部分文件之后,所述方法还包括:检测所述第一文件是否发生改变,在所述第一文件发生改变时,获取第二文件,其中,所述第二文件为所述第一文件发生改变后的文件;将存储在所述第二存储单元中的所述第一文件用所述第二文件进行替换。Optionally, after the start of reading the second part of the file from the second storage unit, the method further includes: detecting whether the first file changes, and when the first file changes , obtain a second file, wherein the second file is a changed file of the first file; replace the first file stored in the second storage unit with the second file .

本申请实施例还提供了一种电子设备,所述电子设备包括第一存储单元和第二存储单元,所述第一存储单元中安装有第一操作系统,所述电子设备包括:The embodiment of the present application also provides an electronic device, the electronic device includes a first storage unit and a second storage unit, a first operating system is installed in the first storage unit, and the electronic device includes:

电路板;circuit board;

处理芯片,设置于所述电路板上,在所述第一操作系统从所述第一存储单元中读取第一文件的第一部分文件的过程中,用于判断所述第一文件是否有存储在所述第二存储单元中,在所述第一文件存储在所述第二存储单元中时,在从所述第一存储单元读取所述第一部分文件的期间,用于开始从所述第二存储单元中预读取所述第一文件的第二部分文件,其中,所述第二部分文件与所述第一部分文件不同。The processing chip is arranged on the circuit board and is used to determine whether the first file is stored in the process of the first operating system reading the first part of the first file from the first storage unit. In the second storage unit, when the first file is stored in the second storage unit, during the period of reading the first part of the file from the first storage unit, starting from the A second partial file of the first file is pre-read in the second storage unit, wherein the second partial file is different from the first partial file.

可选的,所述处理芯片包括挂载单元,用于将所述第二存储单元挂载在所述电子设备的第一目录下,所述第一目录为所述第一存储单元的多个目录中的一个目录。Optionally, the processing chip includes a mounting unit, configured to mount the second storage unit under the first directory of the electronic device, and the first directory is a plurality of files of the first storage unit. A directory within a directory.

可选的,所述处理芯片包括数据备份单元,所述第一文件存储在所述第二存储单元中,基于一预设规则,用于从所述第一存储单元存储的文件包中获取第一文件,生成第一控制指令,并执行所述第一控制指令,用于将所述第一文件的第一数据内容备份在所述第二存储单元中的预设空间中。Optionally, the processing chip includes a data backup unit, the first file is stored in the second storage unit, and based on a preset rule, is used to obtain the first file from the file package stored in the first storage unit. A file, generating a first control instruction, and executing the first control instruction, for backing up the first data content of the first file in a preset space in the second storage unit.

可选的,所述处理芯片包括路径参数存储单元,在所述执行所述第一控制指令,将所述第一文件的第一数据内容备份在所述第二存储单元中的预设空间中之后,用于获取所述第一数据内容在所述第二存储单元中的第一路径参数,并将所述第一路径参数存储在所述电子设备的第一内存中,以使所述第一内存能够通过所述第一路径参数读取所述第一文件的第一数据内容。Optionally, the processing chip includes a path parameter storage unit, and when the first control instruction is executed, the first data content of the first file is backed up in a preset space in the second storage unit Afterwards, it is used to obtain a first path parameter of the first data content in the second storage unit, and store the first path parameter in the first memory of the electronic device, so that the first A memory can read the first data content of the first file through the first path parameter.

可选的,所述处理芯片包括第一读取单元,在所述第一文件存储到所述第二存储单元中时,用于从所述第一文件中获取在所述第一部分文件之后的第一标识信息,并基于所述第一标识信息,用于获取所述第一文件的第二部分文件,在从所述第一存储单元读取所述第一部分文件的期间,用于开始从所述第二存储单元中预读取所述第二部分文件。Optionally, the processing chip includes a first reading unit, configured to obtain from the first file after the first part of the file when the first file is stored in the second storage unit First identification information, and based on the first identification information, used to obtain the second partial file of the first file, during the period when the first partial file is read from the first storage unit, used to start from The second part of the file is pre-read in the second storage unit.

可选的,所述第一读取单元包括第二读取单元,在从所述第一存储单元读取所述第一部分文件的期间,用于获取所述第二部分文件在所述第二存储单元中的第二路径参数,并基于所述第二路径参数,用于通过所述第一内存预读取所述第二部分文件的第二数据内容。Optionally, the first reading unit includes a second reading unit, configured to acquire the second part of the file in the second part during reading the first part of the file from the first storage unit. The second path parameter in the storage unit is used to pre-read the second data content of the second part of the file through the first memory based on the second path parameter.

可选的,所述处理芯片包括提示单元,在所述开始从所述第二存储单元中读取所述第二部分文件之后,用于检测所述第一文件是否发生改变,在所述第一文件发生改变时,用于获取第二文件,其中,所述第二文件为所述第一文件发生改变后的文件,并将存储在所述第二存储单元中的所述第一文件用所述第二文件进行替换。Optionally, the processing chip includes a prompting unit, configured to detect whether the first file has changed after the start of reading the second part of the file from the second storage unit. When a file is changed, it is used to obtain a second file, wherein the second file is a changed file of the first file, and the first file stored in the second storage unit is used The second file is replaced.

本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

其一、由于本申请实施例在所述第一操作系统从所述第一存储单元中读取第一文件的第一部分文件的过程中,在检测到所述第一文件存储到所述第二存储单元时,在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第一文件中与所述第一部分文件不同的第二部分文件。如此,在所述第二存储单元存储有所述第一存储单元中的一部分数据,在读取所述一部分数据时,可以同时从所述第一存储单元和所述第二存储单元中读取所述一部分数据,用以解决现有技术中的电子设备在从硬盘中读取数据时,数据读取速度快时、安全性低和安全性高时,数据读取速度慢的技术问题,进而实现了所述电子设备从硬盘中读取数据时,数据读取速度较快且安全性也较高的技术效果,进而使得更方便用户使用,用户体验更好。First, due to the embodiment of the present application, when the first operating system reads the first part of the first file from the first storage unit, it detects that the first file is stored in the second storage unit, during the period of reading the first partial file from the first storage unit, start to pre-read the second part of the first file that is different from the first partial file from the second storage unit part of the file. In this way, a part of data in the first storage unit is stored in the second storage unit, and when reading the part of data, it can be read from the first storage unit and the second storage unit at the same time. The part of the data is used to solve the technical problem that the electronic device in the prior art reads data from the hard disk, the data reading speed is fast, the security is low, and the security is high, and the data reading speed is slow, and then When the electronic device reads data from the hard disk, the technical effect of faster data reading speed and higher security is achieved, thereby making it more convenient for users to use and having better user experience.

其二、由于本申请实施例在从所述第一存储单元读取所述第一部分文件的期间,所述第一内存通过所述第二路径参数来预读取所述第二部分文件的第二数据内容。如此,使得所述第一内存可以直接通过获取所述第二部分文件在所述第二存储单元中的第二路径参数来获取所述第二数据内容,提高读取所述第二数据内容的速度,进一步方便用户使用,使得用户的体验更好。Second, because the embodiment of the present application reads the first part of the file from the first storage unit, the first memory uses the second path parameter to pre-read the first part of the second part of the file. 2. Data content. In this way, the first memory can directly obtain the second data content by obtaining the second path parameter of the second part of the file in the second storage unit, thereby improving the efficiency of reading the second data content. The speed further facilitates the user's use and makes the user's experience better.

其三、由于本申请实施例是在所述第一文件发生改变时,获取所述第一文件发生改变后的第二文件,并将存储在所述第二存储单元中的所述第一文件用所述第二文件进行替换。如此,在所述第一文件发生改变时,所述第二存储单元存储的所述第一文件也会随之改变,以使所述第二存储单元和所述第一存储单元中的数据保持同步,进一步方便用户使用,用户体验更好。Third, since the embodiment of the present application is to obtain the second file after the first file is changed when the first file is changed, and store the first file in the second storage unit Replace with said second file. In this way, when the first file changes, the first file stored in the second storage unit will also change accordingly, so that the data in the second storage unit and the first storage unit remain Synchronization further facilitates user use and better user experience.

附图说明Description of drawings

图1为本申请实施例中信息处理的方法的流程图;Fig. 1 is the flowchart of the method for information processing in the embodiment of the present application;

图2为本申请实施例中电子设备的结构示意图。FIG. 2 is a schematic structural diagram of an electronic device in an embodiment of the present application.

具体实施方式detailed description

本申请实施例通过提供一种信息处理的方法及电子设备,用以解决现有技术中的电子设备在从硬盘中读取数据时,数据读取速度快时、安全性低和安全性高时,数据读取速度慢的技术问题。The embodiment of the present application provides an information processing method and electronic equipment to solve the problem of high data reading speed, low security and high security when electronic equipment in the prior art reads data from a hard disk. , The technical problem of slow data reading speed.

本申请实施例的技术方案为解决上述技术的问题,总体思路如下:The technical solution of the embodiment of the present application is to solve the problems of the above-mentioned technologies, and the general idea is as follows:

由于本申请实施例在所述第一操作系统从所述第一存储单元中读取第一文件的第一部分文件的过程中,在检测到所述第一文件存储到所述第二存储单元时,在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第一文件中与所述第一部分文件不同的第二部分文件。如此,在所述第二存储单元存储有所述第一存储单元中的一部分数据,在读取所述一部分数据时,可以同时从所述第一存储单元和所述第二存储单元中读取所述一部分数据,用以解决现有技术中的电子设备在从硬盘中读取数据时,数据读取速度快时、安全性低和安全性高时,数据读取速度慢的技术问题,进而实现了所述电子设备从硬盘中读取数据时,数据读取速度较快且安全性也较高的技术效果,进而使得更方便用户使用,用户体验更好。Since in the embodiment of the present application, during the process of the first operating system reading the first part of the first file from the first storage unit, when it is detected that the first file is stored in the second storage unit , during the period of reading the first partial file from the first storage unit, start to pre-read a second partial file in the first file that is different from the first partial file from the second storage unit. In this way, a part of data in the first storage unit is stored in the second storage unit, and when reading the part of data, it can be read from the first storage unit and the second storage unit at the same time. The part of the data is used to solve the technical problem that the electronic device in the prior art reads data from the hard disk, the data reading speed is fast, the security is low, and the security is high, and the data reading speed is slow, and then When the electronic device reads data from the hard disk, the technical effect of faster data reading speed and higher security is achieved, thereby making it more convenient for users to use and having better user experience.

为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技术方案进行详细的说明。In order to better understand the above-mentioned technical solution, the above-mentioned technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

本申请一实施例提供了一种信息处理的方法,应用于电子设备,所述电子设备包括第一存储单元和第二存储单元,所述第一存储单元中安装有第一操作系统。所述电子设备例如是平板电脑、笔记本电脑、手机等电子设备。An embodiment of the present application provides an information processing method applied to an electronic device, where the electronic device includes a first storage unit and a second storage unit, and a first operating system is installed in the first storage unit. The electronic device is, for example, a tablet computer, a notebook computer, a mobile phone and other electronic devices.

其中,所述第一存储单元例如是固态硬盘(SSD)和机械硬盘(HDD)等电子设备,进一步的,所述第二存储单元例如是固态硬盘(SSD)和机械硬盘(HDD)等电子设备。Wherein, the first storage unit is, for example, an electronic device such as a solid state disk (SSD) and a mechanical hard disk (HDD), and further, the second storage unit is, for example, an electronic device such as a solid state disk (SSD) or a mechanical hard disk (HDD). .

请参考图1,所述方法包括:Referring to Figure 1, the method includes:

步骤101:在所述第一操作系统从所述第一存储单元中读取第一文件的第一部分文件的过程中,判断所述第一文件是否有存储在所述第二存储单元中;Step 101: During the process of the first operating system reading the first part of the first file from the first storage unit, determine whether the first file is stored in the second storage unit;

步骤102:在所述第一文件存储在所述第二存储单元中时,在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第一文件的第二部分文件,其中,所述第二部分文件与所述第一部分文件不同。Step 102: When the first file is stored in the second storage unit, start pre-reading from the second storage unit while reading the first part of the file from the first storage unit A second partial file of the first file, wherein the second partial file is different from the first partial file.

其中,在步骤101中,在所述第一操作系统从所述第一存储单元中读取第一文件的第一部分文件的过程中,判断所述第一文件是否有存储在所述第二存储单元中。在具体实施过程中,首先检测所述电子设备是否处于开启状态,在所述电子设备处于开启状态时,检测所述第一操作系统是否从所述第一存储单元中读取第一文件的第一部分文件,在所述第一操作系统从所述第一存储单元中读取所述第一文件的第一部分文件的过程中,判断所述第一文件是否有存储在所述第二存储单元中。Wherein, in step 101, during the process of the first operating system reading the first part of the first file from the first storage unit, it is judged whether the first file is stored in the second storage unit. in the unit. In the specific implementation process, it is first detected whether the electronic device is in the on state, and when the electronic device is in the on state, it is detected whether the first operating system reads the first file of the first file from the first storage unit. For a part of files, during the process of the first operating system reading the first part of the first file from the first storage unit, it is determined whether the first file is stored in the second storage unit .

其中,所述第一操作系统可以是Windows、Unix、Linux、ios、Android等操作系统。Wherein, the first operating system may be operating systems such as Windows, Unix, Linux, ios, and Android.

具体来讲,以所述电子设备为笔记本电脑为例,该笔记本安装有第一个HDD硬盘和第二个HDD硬盘,在所述第一个HDD硬盘上安装的第一操作系统为Windows XP,所述第二个HDD硬盘在该笔记本电脑通电并通过开关键进行开启之后,启动所述Windows XP,所述Windows XP从所述第一HDD硬盘中读取相应的启动文件以启动所述电子设备,在当前时刻,获取所述WindowsXP从所述第一HDD硬盘中读取所述启动文件的第一文件,在所述WindowsXP从所述第一HDD硬盘中读取所述第一文件的第一部分文件的过程中,判断所述第一文件是否存储在所述第二个HDD硬盘中。Specifically, taking the electronic device as a notebook computer as an example, the notebook is equipped with a first HDD hard disk and a second HDD hard disk, and the first operating system installed on the first HDD hard disk is Windows XP, The second HDD hard disk starts the Windows XP after the notebook computer is powered on and turned on by the switch key, and the Windows XP reads the corresponding startup file from the first HDD hard disk to start the electronic device , at the current moment, acquire the first file of the startup file read by Windows XP from the first HDD hard disk, and read the first part of the first file from the first HDD hard disk by Windows XP During the file process, it is judged whether the first file is stored in the second HDD hard disk.

在具体实施过程中,所述第二存储单元是挂载在所述第一电子设备的第一目录下,所述第一目录为所述第一存储单元的多个目录中的一个目录。具体来讲,以所述第一存储单元为HDD-A硬盘为例,所述HDD-A硬盘划分为3个分区,分别为C盘、D盘和E盘,其中,在所述C盘中安装的第一操作系统为ios6.0,在所述D盘的目录下面新建一个第一目录为D:\HDD-B,作为所述第二存储单元的HDD-B的硬盘挂载在所述第一目录下。同样,在所述C盘和所述E盘的目录下也可以新建一个第一目录,所述第一目录用于挂载所述HDD-B硬盘。In a specific implementation process, the second storage unit is mounted under the first directory of the first electronic device, and the first directory is one directory among the multiple directories of the first storage unit. Specifically, taking the HDD-A hard disk as an example of the first storage unit, the HDD-A hard disk is divided into three partitions, which are respectively C disk, D disk and E disk, wherein, in the C disk The installed first operating system is ios6.0, and under the directory of the D disk, a new first directory is D:\HDD-B, and the hard disk of the HDD-B as the second storage unit is mounted on the under the first directory. Similarly, a first directory may also be created under the directories of the C disk and the E disk, and the first directory is used to mount the HDD-B hard disk.

其中,所述第一目录也可以不为所述第一存储单元的多个目录中的任何一个。比如所述电子设备为台式电脑时,所述台式电脑上安装的第一操作系统为Linux,所述第一存储单元为SSD-A硬盘,且所述SSD-A硬盘的挂载点为mount/dev/sdb1/media,在所述第二存储单元为SSD-B硬盘接入所述台式电脑时,所述SSD-B硬盘的挂载点为mount/dev/sdb2/media,如此,使得所述SSD-A硬盘和所述SSD-B硬盘挂载在所述电子设备的不同的目录下。Wherein, the first directory may not be any one of the multiple directories of the first storage unit. For example, when the electronic device is a desktop computer, the first operating system installed on the desktop computer is Linux, the first storage unit is an SSD-A hard disk, and the mount point of the SSD-A hard disk is mount/ dev/sdb1/media, when the second storage unit is an SSD-B hard disk connected to the desktop computer, the mount point of the SSD-B hard disk is mount/dev/sdb2/media, so that the The SSD-A hard disk and the SSD-B hard disk are mounted in different directories of the electronic device.

在所述第一文件存储在所述第二存储单元中时,执行步骤102,在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第一文件的第二部分文件,其中,所述第二部分文件与所述第一部分文件不同。When the first file is stored in the second storage unit, perform step 102, during which the first part of the file is read from the first storage unit, start pre-reading from the second storage unit A second partial file of the first file is obtained, wherein the second partial file is different from the first partial file.

其中,所述第一文件存储在所述第二存储单元中,具体包括:基于一预设规则,从所述第一存储单元存储的文件包中获取第一文件,生成第一控制指令,并执行所述第一控制指令,将所述第一文件的第一数据内容备份在所述第二存储单元中的预设空间中。Wherein, storing the first file in the second storage unit specifically includes: based on a preset rule, obtaining the first file from a file package stored in the first storage unit, generating a first control instruction, and Executing the first control instruction, backing up the first data content of the first file in a preset space in the second storage unit.

具体来讲,以第一存储单元为硬盘A和第二存储单元为硬盘B为例,在所述硬盘B中预先设置有一个预设空间,用于将所述硬盘A的一部分文件存储在所述预设空间中,比如:将硬盘A划分为C盘和D盘,将硬盘B划分为E盘和F盘,其中,可以假设所述预设空间为E盘,即,在所述E盘中存储所述硬盘A中的一部分文件。在将所述硬盘A中的第一文件存储到所述硬盘B中时,可以根据所述硬盘A中第一文件的目录确定是否将所述第一文件存储到所述硬盘B的预设空间中,比如:可以将笔记本电脑C盘下的windows、programfiles等目录下的文件包都存储在所述硬盘B中,在所述第一文件为所述文件包的一个文件时,比如所述第一文件是program files目录下的MyDrivers、MovieMaker等文件时,生成第一控制指令,并执行所述第一控制指令,将所述第一文件的第一数据内容备份在所述第二存储单元中的预设空间中。其中,所述第一数据内容为所述MyDrivers、Movie Maker等文件中包含的数据。Specifically, taking the hard disk A as the first storage unit and the hard disk B as the second storage unit as an example, a preset space is preset in the hard disk B for storing a part of the files of the hard disk A in the hard disk B. In the preset space, for example: hard disk A is divided into C disk and D disk, and hard disk B is divided into E disk and F disk, wherein, it can be assumed that the preset space is E disk, that is, in the E disk A part of files in the hard disk A is stored in . When storing the first file in the hard disk A to the hard disk B, it may be determined whether to store the first file in the preset space of the hard disk B according to the directory of the first file in the hard disk A In, for example: the file packages under the windows, programfiles and other directories under the C disk of the notebook computer can be stored in the hard disk B, when the first file is a file of the file package, such as the first file When a file is a file such as MyDrivers or MovieMaker under the program files directory, a first control instruction is generated, and the first control instruction is executed, and the first data content of the first file is backed up in the second storage unit in the preset space. Wherein, the first data content is data contained in files such as MyDrivers and Movie Maker.

当然,所述第一文件也可以由用户指定,比如笔记本电脑包括硬盘A和硬盘B,且在所述硬盘A中安装有Unix系统,用户将硬盘A中的第一文件例如是QQ软件、OFICE2010软件等文件存储在所述硬盘B的预设空间中时,所述笔记本电脑会生成第一控制指令,并执行所述第一控制指令,将所述第一文件的第一数据内容备份在所述硬盘B的预设空间中。Of course, the first file can also be specified by the user. For example, a notebook computer includes hard disk A and hard disk B, and a Unix system is installed in the hard disk A, and the user sets the first file in the hard disk A such as QQ software, OFICE2010 When files such as software are stored in the preset space of the hard disk B, the notebook computer will generate a first control instruction and execute the first control instruction to back up the first data content of the first file in the In the preset space of hard disk B mentioned above.

在具体实施过程中,在所述执行所述第一控制指令,将所述第一文件的第一数据内容备份在所述第二存储单元中的预设空间中之后,所述方法还包括:获取所述第一数据内容在所述第二存储单元中的第一路径参数;将所述第一路径参数存储在所述电子设备的第一内存中,以使所述第一内存能够通过所述第一路径参数读取所述第一文件的第一数据内容。In a specific implementation process, after executing the first control instruction and backing up the first data content of the first file in the preset space in the second storage unit, the method further includes: Obtaining a first path parameter of the first data content in the second storage unit; storing the first path parameter in the first memory of the electronic device, so that the first memory can pass through the The first path parameter reads the first data content of the first file.

其中,所述第一内存例如是只读存储器(ROM)、随机存储器(RAM)、高速缓冲存储器(Cache)等电子设备。Wherein, the first memory is, for example, an electronic device such as a read only memory (ROM), a random access memory (RAM), and a cache memory (Cache).

具体来讲,以台式电脑为例,该台式电脑中安装有SSD-A硬盘和SSD-B硬盘,在所述SSD-A硬盘中安全有Windows XP,在所述SSD-A硬盘中存储的第一文件为QQ应用程序,所述SSD-B硬盘划分为E盘和F盘,且所述QQ应用程序的第一数据内容备份在所述SSD-B硬盘的E:\QQ目录下,获取的第一路径参数为E:\QQ,将所述第一路径参数存储在所述台式电脑的第一内存中,以使所述第一内存能够通过所述第一路径参数读取所述QQ应用程序的第一数据内容。Specifically, taking a desktop computer as an example, an SSD-A hard disk and an SSD-B hard disk are installed in the desktop computer, Windows XP is safely installed in the SSD-A hard disk, and the first A file is a QQ application program, and the SSD-B hard disk is divided into E disk and F disk, and the first data content of the QQ application program is backed up under the E:\QQ directory of the SSD-B hard disk, obtained The first path parameter is E:\QQ, and the first path parameter is stored in the first memory of the desktop computer, so that the first memory can read the QQ application by the first path parameter The first data content of the program.

在所述第一文件存储到所述第二存储单元中时,在具体实施过程中,从所述第一文件中获取在所述第一部分文件之后的第一标识信息,并基于所述第一标识信息,获取所述第一文件的第二部分文件;在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第二部分文件。When the first file is stored in the second storage unit, in the specific implementation process, the first identification information after the first partial file is obtained from the first file, and based on the first identification information, obtaining a second part of the first file; during reading the first part of the file from the first storage unit, start pre-reading the second part from the second storage unit document.

具体来进,比如在笔记本电脑在从硬盘A读取outlook express文件时,检测到所述outlook express文件同时也存储在硬盘B中,并检测到从所述硬盘A读取的第一部分文件为msoeres.dll文件,在读取所述msoeres.dll文件的期间,获取所述outlook express文件中在所述msoeres.dll文件之后的第一标识信息,所述第一标识信息例如是00000000、10000000等特定的ASCII码表示,在获取到第一标识信息之后,获取所述第一文件的第二部分文件,所述第二部分文件为所述第一文件的所述第一标识信息之后的文件,比如所述第一文件为msoe.dll文件00000000oeimport.dll文件00000000wabfind.dll文件,在检测到所述电子设备读取的第一部分文件为msoe.dll文件时,则表明需要获取的第二部分文件为oeimport.dll文件和wabfind.dll文件,于是,在从所述硬盘A读取所述msoe.dll文件的期间,就开始从所述硬盘B中预读取所述oeimport.dll文件和所述wabfind.dll文件。当然,所述第一标识信息还可以使用其他的二进制编码表示,比如使用5位的二进制码、4位的二进制码、7位的二进制编码等编码中特定编码表示。Specifically, for example, when the notebook computer reads the outlook express file from the hard disk A, it detects that the outlook express file is also stored in the hard disk B at the same time, and detects that the first part of the file read from the hard disk A is msoeres .dll file, during the period of reading the msoeres.dll file, obtain the first identification information after the msoeres.dll file in the outlook express file, the first identification information is such as 00000000, 10000000 and other specific The ASCII code of indicates that after the first identification information is obtained, the second part of the first file is obtained, and the second part of the file is the file after the first identification information of the first file, such as The first file is the msoe.dll file 00000000oeimport.dll file 00000000wabfind.dll file, when it is detected that the first part of the file read by the electronic device is the msoe.dll file, it indicates that the second part of the file to be obtained is oeimport .dll file and wabfind.dll file, so, during the period when the msoe.dll file is read from the hard disk A, the oeimport.dll file and the wabfind.dll file are pre-read from the hard disk B. dll file. Certainly, the first identification information may also be represented by other binary codes, such as 5-digit binary code, 4-digit binary code, 7-digit binary code and other specific codes.

其中,在所述第一文件为所述电子设备的数据库文件时,所述数据库文件例如是.CSV逗号分隔的值文件、DAT数据文件、WrodPerfect合并数据文件等文件,在所述数据库文件包含有大量的数据时,可以通过所述第一标识信息来区分所述数据库文件的第一部分文件和第二部分文件,比如所述第一文件为Registry数据库文件时,所述Registry数据库文件包括char[40]、int[50]、long[35]数据时,所述第一标识信息以10000000的ASCII码表示,则所述Registry数据库文件表示为char[40]10000000int[50]10000000long[35],在检测到所述第一部分文件为char[40]时,所述第二部分文件为int[50]和long[35];在所述第一部分文件为char[40]和int[50]是,所述第二部分文件为long[35],在所述电子设备从硬盘A中读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第二部分文件。Wherein, when the first file is the database file of the electronic device, the database file is, for example, .CSV comma-separated value files, DAT data files, WrodPerfect combined data files and other files, and the database file contains When there is a large amount of data, the first part file and the second part file of the database file can be distinguished by the first identification information. For example, when the first file is a Registry database file, the Registry database file includes char[40 ], int[50], long[35] data, the first identification information is represented by the ASCII code of 10000000, and then the Registry database file is represented as char[40]10000000int[50]10000000long[35]. When the first part file is char[40], the second part file is int[50] and long[35]; when the first part file is char[40] and int[50], the The second part of the file is long[35]. During the period when the electronic device reads the first part of the file from the hard disk A, it starts to pre-read the second part of the file from the second storage unit.

其中,在本申请实施例中,对于所述在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第二部分文件,具体实现过程包括:在从所述第一存储单元读取所述第一部分文件的期间,获取所述第二部分文件在所述第二存储单元中的第二路径参数,并基于所述第二路径参数,通过所述第一内存预读取所述第二部分文件的第二数据内容。Wherein, in the embodiment of the present application, for the period of reading the first part of the file from the first storage unit, start to pre-read the second part of the file from the second storage unit, specifically The implementation process includes: during the period of reading the first partial file from the first storage unit, obtaining a second path parameter of the second partial file in the second storage unit, and based on the second path parameter, and pre-read the second data content of the second part of the file through the first memory.

在具体实施过程中,比如第一文件为硬盘A中Program files目录下的Tencent(腾讯)文件时,获取所述Tencent文件在硬盘B中的目录为E:\Tencent,在从所述硬盘A中读取所述Tencent文件的Bin文件的期间,基于所述Bin文件,所述Tencent文件的第二部分文件为Users文件,在所述电子设备的第一内存中查到所述Users文件的第二路径参数为E:\Tencent\Users,即,获取到所述第二路径参数,再基于所述第二路径参数,通过所述第一内存从所述硬盘B的E:\Tencent\Users目录下预读取所述Users文件的第二数据内容。In the specific implementation process, for example, when the first file is a Tencent (Tencent) file under the Program files directory in hard disk A, the directory to obtain the Tencent file in hard disk B is E:\Tencent, and from the hard disk A During the period of reading the Bin file of the Tencent file, based on the Bin file, the second part file of the Tencent file is a Users file, and the second part of the Users file is found in the first memory of the electronic device. The path parameter is E:\Tencent\Users, that is, the second path parameter is obtained, and then based on the second path parameter, from the E:\Tencent\Users directory of the hard disk B through the first memory Pre-read the second data content of the Users file.

在实际应用过程中,比如一台笔记本电脑,在该笔记本电脑中安装有硬盘A和硬盘B,其中,在所述硬盘A中安装有Windows XP,根据用户的设定将所述硬盘A中windows、program files目录下的文件包都存储在所述硬盘B中,在检测到所述笔记本电脑通电且开启时,所述Windows XP从硬盘A读取的第一文件为Microsoft Office文件时,在检测到所述Microsoft Office文件有存储到所述硬盘B中时,在所述Windows XP从所述硬盘A中读取所述MicrosoftOffice文件的CLIPART文件时,确定所述Microsoft Office文件的第二部分文件为MEDIA文件和Templates文件时,获取所述第二部分文件的第二路径参数为E:\Microsoft Office\Templates和E:\Microsoft Office\MEDIA,基于所述第二路径参数,通过所述笔记本电脑的第一内存预读取所述第二部分文件,使得所述笔记本电脑能够同时从所述硬盘A和所述硬盘B中读取数据,使得数据读取速度更快。In the actual application process, such as a notebook computer, a hard disk A and a hard disk B are installed in the notebook computer, wherein Windows XP is installed in the hard disk A, and Windows XP in the hard disk A is installed according to the user's setting. , the file packages under the program files directory are all stored in the hard disk B, and when it is detected that the notebook computer is powered on and turned on, when the first file that Windows XP reads from the hard disk A is a Microsoft Office file, when it is detected When the Microsoft Office file is stored in the hard disk B, when the Windows XP reads the CLIPART file of the Microsoft Office file from the hard disk A, it is determined that the second part of the Microsoft Office file is During MEDIA file and Templates file, the second path parameter that obtains described second part file is E:\Microsoft Office\Templates and E:\Microsoft Office\MEDIA, based on described second path parameter, through described notebook computer The first memory pre-reads the second part of files, so that the notebook computer can read data from the hard disk A and the hard disk B at the same time, so that the data reading speed is faster.

在本申请实施例中,由于所述硬盘B的预设空间中存储有所述硬盘A中的一部分重要数据,所以,在所述硬盘A出现故障时,还可以从所述硬盘B中读取所述一部分重要数据,从而在一定程度上提高了数据的安全性;另外,由于减少了硬盘B中的数据冗余性,使得所述笔记本电脑的存储性能也会有一定程度的提高。In the embodiment of the present application, since a part of important data in the hard disk A is stored in the preset space of the hard disk B, when the hard disk A fails, it can also be read from the hard disk B. The part of important data improves data security to a certain extent; in addition, due to the reduction of data redundancy in the hard disk B, the storage performance of the notebook computer is also improved to a certain extent.

在一实施例中,在所述判断所述第一文件是否有存储在所述第二存储单元中时,所述第一文件未存储在所述第二存储单元中时,所述电子设备从所述第一存储单元中读取所述第一文件的剩余部分的文件。In an embodiment, when it is judged whether the first file is stored in the second storage unit, when the first file is not stored in the second storage unit, the electronic device from A file of the remaining part of the first file is read from the first storage unit.

在另一实施例中,所述开始从所述第二存储单元中读取所述第二部分文件之后,还需检测所述第一文件是否发生改变,在所述第一文件发生改变时,获取第二文件,其中,所述第二文件为所述第一文件发生改变后的文件,并将存储在所述第二存储单元中的所述第一文件用所述第二文件进行替换。In another embodiment, after starting to read the second part of files from the second storage unit, it is necessary to detect whether the first file changes, and when the first file changes, Acquiring a second file, wherein the second file is a changed file of the first file, and replacing the first file stored in the second storage unit with the second file.

在具体实施过程中,在笔记本电脑通电且开启之后,在检测到所述笔记本电脑从硬盘A中读取QQ应用程序时,在硬盘B中的预设空间中存储有所述QQ应用程序时,在检测到对所述QQ应用程序进行了比如修改用户的备注姓名、添加用户、删除用户等操作时,所述QQ应用程序的数据就会发生改变,获取所述QQ应用程序发生改变后的第二文件,基于所述QQ应用程序在所述硬盘B中的路径信息,将存储在所述硬盘B中的所述QQ应用程序用所述第二文件进行替换,以实现所述硬盘A和所述硬盘B中的数据保持同步。In the specific implementation process, after the notebook computer is powered on and turned on, when it is detected that the notebook computer reads the QQ application program from the hard disk A, when the QQ application program is stored in the preset space in the hard disk B, When it is detected that operations such as modifying the user’s note name, adding a user, or deleting a user have been performed on the QQ application, the data of the QQ application will change, and the QQ application after the change is obtained. Two files, based on the path information of the QQ application program in the hard disk B, the QQ application program stored in the hard disk B is replaced with the second file, so as to realize the hard disk A and the The data in the hard disk B mentioned above is kept in sync.

具体来讲,在将存储在所述第二存储单元中的所述第一文件用所述第二文件进行替换时,还可以只将改变的文件的进行替换,比如所述QQ应用程序改变的是用户备注文件,改变前为原始用户备注文件,改变后第一用户备注文件,将所述第一用户备注文件覆盖到所述硬盘B中存储所述原始用户备注文件的地址空间中。Specifically, when replacing the first file stored in the second storage unit with the second file, only the changed file may be replaced, such as the changed file of the QQ application program. It is a user note file, the original user note file before the change, the first user note file after the change, and the first user note file is overwritten in the address space where the original user note file is stored in the hard disk B.

本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

其一、由于本申请实施例在所述第一操作系统从所述第一存储单元中读取第一文件的第一部分文件的过程中,在检测到所述第一文件存储到所述第二存储单元时,在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第一文件中与所述第一部分文件不同的第二部分文件。如此,在所述第二存储单元存储有所述第一存储单元中的一部分数据,在读取所述一部分数据时,可以同时从所述第一存储单元和所述第二存储单元中读取所述一部分数据,用以解决现有技术中的电子设备在从硬盘中读取数据时,数据读取速度快时、安全性低和安全性高时,数据读取速度慢的技术问题,进而实现了所述电子设备从硬盘中读取数据时,数据读取速度较快且安全性也较高的技术效果,进而使得更方便用户使用,用户体验更好。First, due to the embodiment of the present application, when the first operating system reads the first part of the first file from the first storage unit, it detects that the first file is stored in the second storage unit, during the period of reading the first partial file from the first storage unit, start to pre-read the second part of the first file that is different from the first partial file from the second storage unit part of the file. In this way, a part of data in the first storage unit is stored in the second storage unit, and when reading the part of data, it can be read from the first storage unit and the second storage unit at the same time. The part of the data is used to solve the technical problem that the electronic device in the prior art reads data from the hard disk, the data reading speed is fast, the security is low, and the security is high, and the data reading speed is slow, and then When the electronic device reads data from the hard disk, the technical effect of faster data reading speed and higher security is achieved, thereby making it more convenient for users to use and having better user experience.

其二、由于本申请实施例在从所述第一存储单元读取所述第一部分文件的期间,所述第一内存通过所述第二路径参数来预读取所述第二部分文件的第二数据内容。如此,使得所述第一内存可以直接通过获取所述第二部分文件在所述第二存储单元中的第二路径参数来获取所述第二数据内容,提高读取所述第二数据内容的速度,进一步方便用户使用,使得用户的体验更好。Second, because the embodiment of the present application reads the first part of the file from the first storage unit, the first memory uses the second path parameter to pre-read the first part of the second part of the file. 2. Data content. In this way, the first memory can directly obtain the second data content by obtaining the second path parameter of the second part of the file in the second storage unit, thereby improving the efficiency of reading the second data content. The speed further facilitates the user's use and makes the user's experience better.

其三、由于本申请实施例是在所述第一文件发生改变时,获取所述第一文件发生改变后的第二文件,并将存储在所述第二存储单元中的所述第一文件用所述第二文件进行替换。如此,在所述第一文件发生改变时,所述第二存储单元存储的所述第一文件也会随之改变,以使所述第二存储单元和所述第一存储单元中的数据保持同步,进一步方便用户使用,用户体验更好。Third, since the embodiment of the present application is to obtain the second file after the first file is changed when the first file is changed, and store the first file in the second storage unit Replace with said second file. In this way, when the first file changes, the first file stored in the second storage unit will also change accordingly, so that the data in the second storage unit and the first storage unit remain Synchronization further facilitates user use and better user experience.

本发明一实施例还提供了一种电子设备,所述电子设备包括第一存储单元和第二存储单元,所述第一存储单元中安装有第一操作系统。所述电子设备例如是平板电脑、笔记本电脑、手机等电子设备。An embodiment of the present invention also provides an electronic device, the electronic device includes a first storage unit and a second storage unit, and a first operating system is installed in the first storage unit. The electronic device is, for example, a tablet computer, a notebook computer, a mobile phone and other electronic devices.

其中,所述第一存储单元例如是固态硬盘(SSD)和机械硬盘(HDD)等电子设备,进一步的,所述第二存储单元例如是固态硬盘(SSD)和机械硬盘(HDD)等电子设备。Wherein, the first storage unit is, for example, an electronic device such as a solid state disk (SSD) and a mechanical hard disk (HDD), and further, the second storage unit is, for example, an electronic device such as a solid state disk (SSD) or a mechanical hard disk (HDD). .

进一步的,所述第一操作系统可以是Windows、Unix、Linux、ios、Android等操作系统。Further, the first operating system may be operating systems such as Windows, Unix, Linux, ios, and Android.

参见图2,该电子设备包括电路板201;处理芯片202,设置于电路板201上,在所述第一操作系统从第一存储单元203中读取第一文件的第一部分文件的过程中,用于判断所述第一文件是否有存储在第二存储单元204中,在所述第一文件存储在第二存储单元204中时,在从第一存储单元203读取所述第一部分文件的期间,用于开始从第二存储单元204中预读取所述第一文件的第二部分文件,其中,所述第二部分文件与所述第一部分文件不同。Referring to FIG. 2, the electronic device includes a circuit board 201; a processing chip 202 is disposed on the circuit board 201, and during the process of the first operating system reading the first part of the first file from the first storage unit 203, For judging whether the first file is stored in the second storage unit 204, when the first file is stored in the second storage unit 204, when reading the first part of the file from the first storage unit 203 During this period, it is used to start pre-reading the second partial file of the first file from the second storage unit 204, wherein the second partial file is different from the first partial file.

其中,电路板201可以是电子设备的主板,进一步,处理芯片202可以是单独的处理芯片,也可以是集成在处理器中。Wherein, the circuit board 201 may be a main board of an electronic device, and further, the processing chip 202 may be a separate processing chip, or may be integrated in a processor.

进一步的,第一存储单元203分别与电路板201和处理芯片202电性连接,进一步,第二存储单元204也分别与电路板201和处理芯片202电信连接。Further, the first storage unit 203 is electrically connected to the circuit board 201 and the processing chip 202 respectively, and further, the second storage unit 204 is also electrically connected to the circuit board 201 and the processing chip 202 respectively.

进一步的,处理芯片202包括挂载单元,用于将第二存储单元204挂载在所述电子设备的第一目录下,所述第一目录为第一存储单元203的多个目录中的一个目录。Further, the processing chip 202 includes a mounting unit, configured to mount the second storage unit 204 under the first directory of the electronic device, and the first directory is one of the multiple directories of the first storage unit 203 Table of contents.

进一步的,处理芯片202包括数据备份单元,所述第一文件存储在第二存储单元204中,基于一预设规则,用于从第一存储单元203存储的文件包中获取第一文件,生成第一控制指令,并执行所述第一控制指令,用于将所述第一文件的第一数据内容备份在第二存储单元204中的预设空间中。Further, the processing chip 202 includes a data backup unit, the first file is stored in the second storage unit 204, and based on a preset rule, is used to obtain the first file from the file package stored in the first storage unit 203, and generate a first control instruction, and execute the first control instruction, for backing up the first data content of the first file in a preset space in the second storage unit 204 .

进一步的,处理芯片202包括路径参数存储单元,在所述执行所述第一控制指令,将所述第一文件的第一数据内容备份在第二存储单元204中的预设空间中之后,用于获取所述第一数据内容在第二存储单元204中的第一路径参数,并将所述第一路径参数存储在所述电子设备的第一内存中,以使所述第一内存能够通过所述第一路径参数读取所述第一文件的第一数据内容。Further, the processing chip 202 includes a path parameter storage unit, after the first control instruction is executed to back up the first data content of the first file in the preset space in the second storage unit 204, use Obtaining the first path parameter of the first data content in the second storage unit 204, and storing the first path parameter in the first memory of the electronic device, so that the first memory can pass through The first path parameter reads the first data content of the first file.

其中,所述第一内存例如是只读存储器(ROM)、随机存储器(RAM)、高速缓冲存储器(Cache)等电子设备,所述第一内存分别与电路板201和处理芯片202电性连接。Wherein, the first memory is, for example, electronic devices such as read-only memory (ROM), random access memory (RAM), and cache memory (Cache), and the first memory is electrically connected to the circuit board 201 and the processing chip 202 respectively.

进一步的,处理芯片202包括第一读取单元,在所述第一文件存储到第二存储单元204中时,用于从所述第一文件中获取在所述第一部分文件之后的第一标识信息,并基于所述第一标识信息,用于获取所述第一文件的第二部分文件,在从第一存储单元203读取所述第一部分文件的期间,用于开始从第二存储单元204中预读取所述第二部分文件。Further, the processing chip 202 includes a first reading unit, configured to acquire the first identification after the first partial file from the first file when the first file is stored in the second storage unit 204 information, and based on the first identification information, used to obtain the second part of the first file, during the period of reading the first part of the file from the first storage unit 203, used to start from the second storage unit 203 In 204, the second part of the file is pre-read.

进一步的,所述第一读取单元包括第二读取单元,在从第一存储单元203读取所述第一部分文件的期间,用于获取所述第二部分文件在第二存储单元204中的第二路径参数,并基于所述第二路径参数,用于通过所述第一内存预读取所述第二部分文件的第二数据内容。Further, the first reading unit includes a second reading unit, which is used to obtain the second partial file stored in the second storage unit 204 during the period of reading the first partial file from the first storage unit 203. The second path parameter, and based on the second path parameter, is used to pre-read the second data content of the second part of the file through the first memory.

在一实施例中,比如一台笔记本电脑,在该笔记本电脑中安装有硬盘A和硬盘B,其中,在所述硬盘A中安装有Windows XP,根据用户的设定将所述硬盘A中windows、programfiles目录下的文件包都存储在所述硬盘B中,在检测到所述笔记本电脑通电且开启时,所述Windows XP从硬盘A读取的第一文件为Windows Media Player文件时,在检测到所述Windows Media Player文件有存储到所述硬盘B中时,在所述Windows XP从所述硬盘A中读取所述Windows Media Player文件的Icons文件时,确定所述Windows Media Player文件的第二部分文件为Sample Playlists文件和Skins文件时,获取所述第二部分文件的第二路径参数为E:\Windows Media Player\Sample Playlists和E:\Windows Media Player\Skins,基于所述第二路径参数,通过所述笔记本电脑的第一内存预读取所述第二部分文件,使得所述笔记本电脑能够同时从所述硬盘A和所述硬盘B中读取数据,使得数据读取速度更快。In one embodiment, such as a notebook computer, a hard disk A and a hard disk B are installed in the notebook computer, wherein Windows XP is installed in the hard disk A, and Windows XP in the hard disk A is installed according to user settings. , the file packages under the programfiles directory are all stored in the hard disk B, when it is detected that the notebook computer is powered on and turned on, when the first file that Windows XP reads from the hard disk A is a Windows Media Player file, when it is detected When the Windows Media Player file is stored in the hard disk B, when the Windows XP reads the Icons file of the Windows Media Player file from the hard disk A, determine the first file of the Windows Media Player file When the two-part file is a Sample Playlists file and a Skins file, the second path parameter for obtaining the second part file is E:\Windows Media Player\Sample Playlists and E:\Windows Media Player\Skins, based on the second path parameter, pre-read the second part of the file through the first memory of the notebook computer, so that the notebook computer can read data from the hard disk A and the hard disk B at the same time, so that the data reading speed is faster .

在另一实施例中,处理芯片202包括提示单元,在所述开始从第二存储单元204中读取所述第二部分文件之后,用于检测所述第一文件是否发生改变,在所述第一文件发生改变时,用于获取第二文件,其中,所述第二文件为所述第一文件发生改变后的文件,并将存储在第二存储单元204中的所述第一文件用所述第二文件进行替换。In another embodiment, the processing chip 202 includes a prompt unit, which is used to detect whether the first file has changed after the start of reading the second part of the file from the second storage unit 204. When the first file is changed, it is used to obtain a second file, wherein the second file is a changed file of the first file, and the first file stored in the second storage unit 204 is used The second file is replaced.

本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

其一、由于本申请实施例在所述第一操作系统从所述第一存储单元中读取第一文件的第一部分文件的过程中,在检测到所述第一文件存储到所述第二存储单元时,在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第一文件中与所述第一部分文件不同的第二部分文件。如此,在所述第二存储单元存储有所述第一存储单元中的一部分数据,在读取所述一部分数据时,可以同时从所述第一存储单元和所述第二存储单元中读取所述一部分数据,用以解决现有技术中的电子设备在从硬盘中读取数据时,数据读取速度快时、安全性低和安全性高时,数据读取速度慢的技术问题,进而实现了所述电子设备从硬盘中读取数据时,数据读取速度较快且安全性也较高的技术效果,进而使得更方便用户使用,用户体验更好。First, due to the embodiment of the present application, when the first operating system reads the first part of the first file from the first storage unit, it detects that the first file is stored in the second storage unit, during the period of reading the first partial file from the first storage unit, start to pre-read the second part of the first file that is different from the first partial file from the second storage unit part of the file. In this way, a part of data in the first storage unit is stored in the second storage unit, and when reading the part of data, it can be read from the first storage unit and the second storage unit at the same time. The part of the data is used to solve the technical problem that the electronic device in the prior art reads data from the hard disk, the data reading speed is fast, the security is low, and the security is high, and the data reading speed is slow, and then When the electronic device reads data from the hard disk, the technical effect of faster data reading speed and higher security is achieved, thereby making it more convenient for users to use and having better user experience.

其二、由于本申请实施例在从所述第一存储单元读取所述第一部分文件的期间,所述第一内存通过所述第二路径参数来预读取所述第二部分文件的第二数据内容。如此,使得所述第一内存可以直接通过获取所述第二部分文件在所述第二存储单元中的第二路径参数来获取所述第二数据内容,提高读取所述第二数据内容的速度,进一步方便用户使用,使得用户的体验更好。Second, because the embodiment of the present application reads the first part of the file from the first storage unit, the first memory uses the second path parameter to pre-read the first part of the second part of the file. 2. Data content. In this way, the first memory can directly obtain the second data content by obtaining the second path parameter of the second part of the file in the second storage unit, thereby improving the efficiency of reading the second data content. The speed further facilitates the user's use and makes the user's experience better.

其三、由于本申请实施例是在所述第一文件发生改变时,获取所述第一文件发生改变后的第二文件,并将存储在所述第二存储单元中的所述第一文件用所述第二文件进行替换。如此,在所述第一文件发生改变时,所述第二存储单元存储的所述第一文件也会随之改变,以使所述第二存储单元和所述第一存储单元中的数据保持同步,进一步方便用户使用,用户体验更好。Third, since the embodiment of the present application is to obtain the second file after the first file is changed when the first file is changed, and store the first file in the second storage unit Replace with said second file. In this way, when the first file changes, the first file stored in the second storage unit will also change accordingly, so that the data in the second storage unit and the first storage unit remain Synchronization further facilitates user use and better user experience.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.

Claims (12)

1.一种信息处理的方法,应用于电子设备,所述电子设备包括第一存储单元和第二存储单元,所述第一存储单元中安装有第一操作系统,其特征在于,所述方法包括:1. A method for information processing, applied to an electronic device, the electronic device comprising a first storage unit and a second storage unit, a first operating system is installed in the first storage unit, it is characterized in that the method include: 在所述第一操作系统从所述第一存储单元中读取第一文件的第一部分文件的过程中,判断所述第一文件是否有存储在所述第二存储单元中;During the process of the first operating system reading the first part of the first file from the first storage unit, it is determined whether the first file is stored in the second storage unit; 在所述第一文件存储在所述第二存储单元中时,在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第一文件的第二部分文件,其中,所述第二部分文件与所述第一部分文件不同;When the first file is stored in the second storage unit, during the period of reading the first part of the file from the first storage unit, pre-reading the first file from the second storage unit is started. a second partial file of a file, wherein the second partial file is different from the first partial file; 在所述开始从所述第二存储单元中读取所述第二部分文件之后,所述方法还包括:After the start of reading the second part of the file from the second storage unit, the method further includes: 检测所述第一文件是否发生改变;detecting whether the first file has changed; 在所述第一文件发生改变时,获取第二文件,其中,所述第二文件为所述第一文件发生改变后的文件;obtaining a second file when the first file is changed, wherein the second file is a changed file of the first file; 将存储在所述第二存储单元中的所述第一文件用所述第二文件进行替换。replacing the first file stored in the second storage unit with the second file. 2.如权利要求1所述的方法,其特征在于,所述第二存储单元是挂载在所述电子设备的第一目录下,所述第一目录为所述第一存储单元的多个目录中的一个目录。2. The method according to claim 1, wherein the second storage unit is mounted under the first directory of the electronic device, and the first directory is a plurality of files of the first storage unit. A directory within a directory. 3.如权利要求1所述的方法,其特征在于,所述第一文件存储在所述第二存储单元中,具体包括:3. The method according to claim 1, wherein the first file is stored in the second storage unit, specifically comprising: 基于一预设规则,从所述第一存储单元存储的文件包中获取第一文件,生成第一控制指令;Based on a preset rule, acquire a first file from the file package stored in the first storage unit, and generate a first control instruction; 执行所述第一控制指令,将所述第一文件的第一数据内容备份在所述第二存储单元中的预设空间中。Executing the first control instruction, backing up the first data content of the first file in a preset space in the second storage unit. 4.如权利要求3所述的方法,其特征在于,在所述执行所述第一控制指令,将所述第一文件的第一数据内容备份在所述第二存储单元中的预设空间中之后,所述方法还包括:4. The method according to claim 3, characterized in that, after the execution of the first control instruction, the first data content of the first file is backed up in a preset space in the second storage unit After, the method also includes: 获取所述第一数据内容在所述第二存储单元中的第一路径参数;acquiring a first path parameter of the first data content in the second storage unit; 将所述第一路径参数存储在所述电子设备的第一内存中,以使所述第一内存能够通过所述第一路径参数读取所述第一文件的第一数据内容。storing the first path parameter in the first memory of the electronic device, so that the first memory can read the first data content of the first file through the first path parameter. 5.如权利要求1所述的方法,其特征在于,在所述第一文件存储在所述第二存储单元中时,在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第一文件的第二部分文件,具体包括:5. The method according to claim 1, wherein when the first file is stored in the second storage unit, during reading the first part of the file from the first storage unit, Start to pre-read the second part of the first file from the second storage unit, specifically including: 在所述第一文件存储到所述第二存储单元中时,从所述第一文件中获取在所述第一部分文件之后的第一标识信息;When the first file is stored in the second storage unit, acquiring first identification information following the first partial file from the first file; 基于所述第一标识信息,获取所述第一文件的第二部分文件;Acquiring a second partial file of the first file based on the first identification information; 在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第二部分文件。During reading of the first partial file from the first storage unit, pre-reading of the second partial file from the second storage unit is started. 6.如权利要求5所述的方法,其特征在于,所述在从所述第一存储单元读取所述第一部分文件的期间,开始从所述第二存储单元中预读取所述第二部分文件,具体包括:6. The method according to claim 5, wherein during the period of reading the first part of the file from the first storage unit, pre-reading the first part of the file from the second storage unit is started. Two parts of the document, including: 在从所述第一存储单元读取所述第一部分文件的期间,获取所述第二部分文件在所述第二存储单元中的第二路径参数;During reading the first partial file from the first storage unit, acquiring a second path parameter of the second partial file in the second storage unit; 基于所述第二路径参数,通过第一内存预读取所述第二部分文件的第二数据内容。Based on the second path parameter, pre-read the second data content of the second partial file through the first memory. 7.一种电子设备,所述电子设备包括第一存储单元和第二存储单元,所述第一存储单元中安装有第一操作系统,其特征在于,所述电子设备包括:7. An electronic device, the electronic device comprising a first storage unit and a second storage unit, a first operating system is installed in the first storage unit, wherein the electronic device comprises: 电路板;circuit board; 处理芯片,设置于所述电路板上,在所述第一操作系统从所述第一存储单元中读取第一文件的第一部分文件的过程中,用于判断所述第一文件是否有存储在所述第二存储单元中,在所述第一文件存储在所述第二存储单元中时,在从所述第一存储单元读取所述第一部分文件的期间,用于开始从所述第二存储单元中预读取所述第一文件的第二部分文件,其中,所述第二部分文件与所述第一部分文件不同;The processing chip is arranged on the circuit board and is used to determine whether the first file is stored in the process of the first operating system reading the first part of the first file from the first storage unit. In the second storage unit, when the first file is stored in the second storage unit, during the period of reading the first part of the file from the first storage unit, starting from the pre-reading a second partial file of the first file in the second storage unit, wherein the second partial file is different from the first partial file; 所述处理芯片包括提示单元,在所述开始从所述第二存储单元中读取所述第二部分文件之后,用于检测所述第一文件是否发生改变,在所述第一文件发生改变时,用于获取第二文件,其中,所述第二文件为所述第一文件发生改变后的文件,并将存储在所述第二存储单元中的所述第一文件用所述第二文件进行替换。The processing chip includes a prompt unit, which is used to detect whether the first file changes after the start of reading the second part of the file from the second storage unit, and when the first file changes , used to acquire a second file, wherein the second file is a changed file of the first file, and the first file stored in the second storage unit is used by the second file to replace. 8.如权利要求7所述的电子设备,其特征在于,所述处理芯片包括挂载单元,用于将所述第二存储单元挂载在所述电子设备的第一目录下,所述第一目录为所述第一存储单元的多个目录中的一个目录。8. The electronic device according to claim 7, wherein the processing chip comprises a mounting unit configured to mount the second storage unit under the first directory of the electronic device, the second A directory is a directory among the multiple directories of the first storage unit. 9.如权利要求7所述的电子设备,其特征在于,所述处理芯片包括数据备份单元,所述第一文件存储在所述第二存储单元中,基于一预设规则,用于从所述第一存储单元存储的文件包中获取第一文件,生成第一控制指令,并执行所述第一控制指令,用于将所述第一文件的第一数据内容备份在所述第二存储单元中的预设空间中。9. The electronic device according to claim 7, wherein the processing chip comprises a data backup unit, the first file is stored in the second storage unit, and based on a preset rule, is used to retrieve from the obtain the first file from the file package stored in the first storage unit, generate a first control instruction, and execute the first control instruction, for backing up the first data content of the first file in the second storage unit In the preset space in the unit. 10.如权利要求9所述的电子设备,其特征在于,所述处理芯片包括路径参数存储单元,在所述执行所述第一控制指令,将所述第一文件的第一数据内容备份在所述第二存储单元中的预设空间中之后,用于获取所述第一数据内容在所述第二存储单元中的第一路径参数,并将所述第一路径参数存储在所述电子设备的第一内存中,以使所述第一内存能够通过所述第一路径参数读取所述第一文件的第一数据内容。10. The electronic device according to claim 9, wherein the processing chip includes a path parameter storage unit, and when the first control instruction is executed, the first data content of the first file is backed up in the After being stored in the preset space in the second storage unit, it is used to obtain the first path parameter of the first data content in the second storage unit, and store the first path parameter in the electronic In the first memory of the device, the first memory can read the first data content of the first file through the first path parameter. 11.如权利要求7所述的电子设备,其特征在于,所述处理芯片包括第一读取单元,在所述第一文件存储到所述第二存储单元中时,用于从所述第一文件中获取在所述第一部分文件之后的第一标识信息,并基于所述第一标识信息,用于获取所述第一文件的第二部分文件,在从所述第一存储单元读取所述第一部分文件的期间,用于开始从所述第二存储单元中预读取所述第二部分文件。11. The electronic device according to claim 7, wherein the processing chip comprises a first reading unit, for reading from the first file when the first file is stored in the second storage unit Acquiring first identification information following the first partial file from a file, and based on the first identification information, used to obtain a second partial file of the first file, and reading from the first storage unit The period of the first partial file is used to start pre-reading the second partial file from the second storage unit. 12.如权利要求11所述的电子设备,其特征在于,所述第一读取单元包括第二读取单元,在从所述第一存储单元读取所述第一部分文件的期间,用于获取所述第二部分文件在所述第二存储单元中的第二路径参数,并基于所述第二路径参数,用于通过第一内存预读取所述第二部分文件的第二数据内容。12. The electronic device according to claim 11, wherein the first reading unit comprises a second reading unit, for reading the first part of the file from the first storage unit Obtaining a second path parameter of the second partial file in the second storage unit, and based on the second path parameter, using the first memory to pre-read the second data content of the second partial file .
CN201210549720.4A 2012-12-17 2012-12-17 Information processing method and electronic device Active CN103870208B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710708280.5A CN107704198B (en) 2012-12-17 2012-12-17 Information processing method and electronic equipment
CN201210549720.4A CN103870208B (en) 2012-12-17 2012-12-17 Information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210549720.4A CN103870208B (en) 2012-12-17 2012-12-17 Information processing method and electronic device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201710708280.5A Division CN107704198B (en) 2012-12-17 2012-12-17 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103870208A CN103870208A (en) 2014-06-18
CN103870208B true CN103870208B (en) 2017-08-25

Family

ID=50908796

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710708280.5A Active CN107704198B (en) 2012-12-17 2012-12-17 Information processing method and electronic equipment
CN201210549720.4A Active CN103870208B (en) 2012-12-17 2012-12-17 Information processing method and electronic device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201710708280.5A Active CN107704198B (en) 2012-12-17 2012-12-17 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (2) CN107704198B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274155B (en) * 2020-02-25 2021-08-06 腾讯科技(深圳)有限公司 Memory operation recording method, device, equipment and storage medium of dynamic library

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441583A (en) * 2007-03-29 2009-05-27 数据中心技术公司 Replication and restoration of single-instance storage pools
CN101583930A (en) * 2006-12-14 2009-11-18 微软公司 Non-volatile disk cache for data security
CN102375696A (en) * 2010-08-20 2012-03-14 英业达股份有限公司 Data storage system and data access method using virtual disk
CN102388361A (en) * 2009-04-03 2012-03-21 微软公司 Differential file and system restores from peers and the cloud

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330328A (en) * 2000-06-16 2002-01-09 东芝株式会社 Information repeater and storage medium
US7287133B2 (en) * 2004-08-24 2007-10-23 Symantec Operating Corporation Systems and methods for providing a modification history for a location within a data store
US7127549B2 (en) * 2004-02-04 2006-10-24 Sandisk Corporation Disk acceleration using first and second storage devices
JP5346536B2 (en) * 2008-10-02 2013-11-20 株式会社日立ソリューションズ Information backup / restore processing device and information backup / restore processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101583930A (en) * 2006-12-14 2009-11-18 微软公司 Non-volatile disk cache for data security
CN101441583A (en) * 2007-03-29 2009-05-27 数据中心技术公司 Replication and restoration of single-instance storage pools
CN102388361A (en) * 2009-04-03 2012-03-21 微软公司 Differential file and system restores from peers and the cloud
CN102375696A (en) * 2010-08-20 2012-03-14 英业达股份有限公司 Data storage system and data access method using virtual disk

Also Published As

Publication number Publication date
CN107704198A (en) 2018-02-16
CN103870208A (en) 2014-06-18
CN107704198B (en) 2020-01-31

Similar Documents

Publication Publication Date Title
US9880762B1 (en) Compressing metadata blocks prior to writing the metadata blocks out to secondary storage
US8489815B2 (en) Managing cache data and metadata
JP5715566B2 (en) Cache data and metadata management
JP6342339B2 (en) Electronic device, MBR restoration method, and computer-readable recording medium
EP2840495A1 (en) Container-based processing method, device and system
US8959301B2 (en) Accessing data in a storage system
KR20100107470A (en) Selecting storage location for file storage based on storage longevity and speed
CN108459824B (en) A kind of data modification writing method and device
CN101650660A (en) Booting a computer system from a central storage
US8560775B1 (en) Methods for managing cache configuration
CN109710286B (en) System upgrade method, device, equipment and storage medium
JP2010282468A (en) Computer system and failure recovery method
CN110941516B (en) Operating system restoration method, device, equipment and storage medium
CN101901171B (en) Using method of computer data backup and restore software
CN103530144A (en) A Method of Generating Virtual Machine Image from Legacy System
JP2017531892A (en) Improved apparatus and method for performing a snapshot of a block level storage device
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
US20210117094A1 (en) Mirroring data onto disparate types of non-volatile data storage
CN103870208B (en) Information processing method and electronic device
CN110308861B (en) Storage data preservation method, device, electronic device and readable storage medium
US10732870B2 (en) Method and apparatus for triggering raid reconstruction
CN104461382A (en) Internal writing method for file server operating multiple file systems and server
CN105279095A (en) Method and apparatus for creating JBOD (Just Bunch Of Disks) file system
EP1914628B1 (en) Method for changing booting sources of computer system and related backup/restore method thereof
CN118709240A (en) Storage device access system, method, device and medium for stealth demonstration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant