WO2018090585A1 - 数据虚拟化存储方法、装置、服务器和存储介质 - Google Patents

数据虚拟化存储方法、装置、服务器和存储介质 Download PDF

Info

Publication number
WO2018090585A1
WO2018090585A1 PCT/CN2017/084519 CN2017084519W WO2018090585A1 WO 2018090585 A1 WO2018090585 A1 WO 2018090585A1 CN 2017084519 W CN2017084519 W CN 2017084519W WO 2018090585 A1 WO2018090585 A1 WO 2018090585A1
Authority
WO
WIPO (PCT)
Prior art keywords
distributed
storage
data
instruction
virtual
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.)
Ceased
Application number
PCT/CN2017/084519
Other languages
English (en)
French (fr)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2018090585A1 publication Critical patent/WO2018090585A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0635Configuration or reconfiguration of storage systems by changing the path, e.g. traffic rerouting, path reconfiguration
    • 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/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • 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/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Definitions

  • the present invention relates to the field of storage virtualization technologies, and in particular, to a data virtualization storage method, apparatus, server, and storage medium.
  • the local storage device may be insufficient. In this case, the local storage device needs to be expanded. However, the expansion of the local storage device not only increases the management cost of the user, but also requires more resources to manage the local storage device, which is likely to cause waste of resources.
  • a data virtualization storage method, apparatus, server, and storage medium are provided.
  • a data virtualization storage method includes:
  • a data virtualization storage device comprising:
  • a storage request obtaining module configured to acquire a storage request sent by the terminal
  • a data acquisition module configured to acquire data to be stored according to the storage request, and extract a virtual storage path and a virtual storage instruction in the storage request;
  • a storage instruction search module configured to search for a distributed storage path corresponding to the virtual storage path, and search for a distributed storage instruction corresponding to the virtual storage instruction in the distributed instruction library;
  • a data storage module configured to store the to-be-stored data to the distributed storage device according to the distributed storage path and the distributed storage instruction.
  • a server comprising a memory and a processor, the memory storing computer executable instructions, the computer executable instructions being executed by the processor, such that the processor performs the following steps:
  • One or more non-volatile storage media storing computer-executable instructions, when executed by one or more processors, cause the one or more processors to perform the following steps:
  • FIG. 1 is an application environment diagram of a data virtualization storage system in an embodiment
  • FIG. 2 is a functional block diagram of a distributed server in a data virtualization storage system in an embodiment
  • FIG. 3 is a schematic flow chart of a data virtualization storage method in an embodiment
  • 5 is a flow chart showing the steps of searching for distributed storage instructions in an embodiment
  • FIG. 6 is a schematic flow chart of a data storage step in an embodiment
  • FIG. 8 is a functional block diagram of a data virtualization storage device in an embodiment
  • FIG. 9 is a functional block diagram of a data virtualization storage device in another embodiment.
  • FIG. 10 is a functional block diagram of a storage instruction lookup module in an embodiment
  • FIG. 11 is a functional block diagram of a data storage module in an embodiment
  • Figure 12 is a functional block diagram of a data virtualization storage device in still another embodiment.
  • FIG. 1 is an application environment diagram of a data virtualization storage system, and the data virtualization storage system specifically includes a terminal 110 and a distributed server 120.
  • the terminal 110 is connected to the distributed server 120 through a network, and the distributed server 120 virtualizes the distributed storage device to obtain a virtual storage device, and provides the virtual storage device to the terminal 110.
  • the terminal 110 can access the distributed server 120 through the network.
  • the distributed server 120 may specifically be a server cluster, and the distributed server 120 provides a distributed storage service for the terminal 110.
  • the distributed server 120 includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected by a bus.
  • the processor is used to provide computing and control capabilities to support the operation of the entire distributed server 120.
  • the non-volatile storage medium of the distributed server 120 stores operating system and computer executable instructions.
  • the computer executable instructions are executable by a processor to implement a data virtualization storage method provided by the following embodiments.
  • the internal memory in the distributed server 120 provides a cached operating environment for the operating system and computer executable instructions of the non-volatile storage medium.
  • the network interface is used for network communication with the terminal 110. It can be understood that the distributed server 120 can be implemented by a separate server or a server cluster composed of multiple servers.
  • FIG. 2 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied.
  • the specific server may include a ratio. More or fewer components are shown in Figure 2, or some components are combined, or have different component arrangements.
  • a data virtualization storage method is provided. This embodiment is exemplified by the method specifically applied to the distributed server 120 of the data virtualization storage system of FIG.
  • a data virtualization storage program is installed in the distributed server 120, and the data virtualization storage program is used to implement a data virtualization storage method, and the method specifically includes the following contents:
  • the terminal 110 transmits a storage request to the distributed server 120.
  • the storage request includes a local cache address, a virtual storage path, and a virtual storage instruction.
  • the virtual storage instruction corresponds to the operating system type of the virtual machine on the terminal 110 or the terminal 110.
  • the operating system type of the terminal 110 is a Windows operating system
  • the virtual storage instruction is a virtual storage instruction recognizable by the Windows operating system.
  • the operating system type can be Windows or Linux.
  • the virtual storage path is the address or identifier of the virtual storage device provided by the distributed server 120 in the terminal 110 for the terminal 110.
  • the virtual desktop is displayed as a virtual disk identifier in the virtual desktop of the virtual machine on the terminal 110, and the virtual desktop is displayed as a C disk and a D disk. And at least one of the E disks.
  • the distributed server 120 parses the storage request, and extracts the local cache address, the virtual storage path, and the virtual storage instruction in the storage request by parsing. After extracting the local cache address in the storage request, the distributed server 120 generates a data acquisition request for the data to be stored according to the local cache address. After receiving the data acquisition request, the terminal 110 searches for the data to be stored according to the local cache address in the data acquisition request, and sends the found data to be stored to the distributed server 120.
  • the distributed server 120 stores a correspondence between the virtual storage path and the distributed storage path. After the distributed server 120 extracts the virtual storage path and the virtual storage instruction, the distributed server 120 searches for the extracted virtual storage path according to the corresponding relationship between the stored virtual storage path and the distributed storage path, and searches for and extracts the virtual storage.
  • the distributed storage instructions are storage instructions recognizable by the distributed storage program in the distributed server 120.
  • the distributed server 120 is provided with a distributed instruction library, and the distributed instruction library stores the correspondence between the distributed instructions and the virtual instructions, wherein each distributed instruction has a corresponding virtual instruction. After extracting the virtual storage instruction, the distributed server 120 searches for a distributed storage instruction corresponding to the virtual storage instruction in the distributed instruction library.
  • the distributed server 120 finds a distributed storage path corresponding to the virtual storage path and a distributed storage instruction corresponding to the virtual storage instruction.
  • the distributed server 120 searches for the distributed storage device corresponding to the virtual storage path, and stores the data to be stored in the found distributed storage device according to the distributed storage instruction.
  • the data to be stored is obtained according to the storage request, and the virtual storage path and the virtual storage instruction in the storage request are extracted, and the distributed storage path corresponding to the virtual storage path is searched for, and A distributed storage instruction corresponding to the virtual storage instruction is looked up in the distributed instruction library.
  • the data to be stored is stored according to the distributed storage instruction to the distributed storage device corresponding to the distributed storage path.
  • the terminal can be connected to the distributed storage device through the virtual storage path and the virtual storage instruction, and the distributed storage function is provided to the terminal, and the storage data sent by the terminal is stored in the distributed storage device. Data can be stored to a distributed storage device without expanding the local storage device, which avoids wasting too many resources to manage the local storage device and improves data storage efficiency.
  • the step S306 further includes the step of scheduling an available distributed storage device, where the step specifically includes the following:
  • the distributed storage server 120 extracts the virtual storage path, the storage device remaining capacity corresponding to the virtual storage path is acquired.
  • the distributed server 120 performs statistics on the data capacity of the stored data, and obtains the data capacity of the data to be stored by statistics.
  • the distributed server 120 extracts the data capacity of the data to be stored from the storage request.
  • the distributed server 120 compares the data capacity of the data to be stored with the remaining capacity of the storage device, and compares and determines the data to be stored by comparing. Whether the data capacity is greater than the remaining capacity of the storage device.
  • the distributed server 120 looks up the available distributed storage devices when it is determined that the data capacity of the data to be stored is greater than the remaining capacity of the storage device. After the distributed storage device is found, the distributed storage server 120 extracts the distributed storage path of the discovered distributed storage device, and stores the extracted distributed storage path and the virtual storage path.
  • the distributed server 120 extracts the distributed storage path of the discovered distributed storage device, and stores the extracted distributed storage path and the virtual storage path correspondingly. Correspondence in the relationship table.
  • the available distributed storage device may be scheduled, and the distributed storage path corresponding to the scheduled distributed storage device is stored corresponding to the virtual storage path, thereby improving The scalability of the storage device corresponding to the virtual storage path improves the utilization of the distributed storage device.
  • S306 specifically includes the step of searching for a distributed storage instruction, and the step specifically includes the following:
  • the distributed server 120 parses the virtual storage instruction to determine an interface protocol corresponding to the virtual storage instruction.
  • the interface protocol specifically includes the FC protocol (Fiber). Channel, Fibre Channel), ISCSI (Internet Small Computer System) Interface, Internet Small Computer Interface) Protocol.
  • Fibre Channel can use copper shaft cable and optical fiber as the connection device;
  • ISCSI is a SCSI instruction set for hardware devices that can run on the upper layer of IP protocol. This instruction set can realize small computer interface on IP network. Protocols that enable it to route on high-speed Gigabit Ethernet.
  • iSCSI combines existing small computer interfaces with Ethernet technology to enable servers to exchange data with storage devices that use IP networks.
  • a plurality of different distributed instruction libraries are disposed in the distributed server 120, and different interface protocols correspond to different distributed instruction libraries.
  • the distributed server 120 After determining the interface protocol corresponding to the virtual storage instruction, the distributed server 120 searches for the corresponding distributed instruction library according to the determined interface protocol.
  • the distributed server 120 searches for the distributed storage instruction corresponding to the virtual storage instruction in the found distributed instruction library.
  • the distributed instruction library is searched according to the interface protocol corresponding to the virtual storage instruction, and the distributed storage instruction corresponding to the virtual storage instruction is searched in the found distributed instruction library.
  • S308 specifically includes a data storage step, and the step specifically includes the following content:
  • S602. Perform data encryption and compression processing on the data to be stored according to the distributed storage instruction.
  • the distributed server 120 encrypts the stored data according to the distributed storage instruction, and compresses the encrypted data to be stored. It also compresses the stored data and encrypts the compressed data to be stored.
  • encrypting the stored data may be to encrypt the stored data using a symmetric encryption algorithm and an asymmetric encryption algorithm.
  • Compressing the stored data may be filtering the redundant data in the stored data.
  • the distributed server 120 determines the available distributed storage device according to the found distributed storage path.
  • the distributed server 120 stores the data to be stored subjected to the encryption and compression processing into the found distributed storage device.
  • the data to be stored is encrypted and compressed, and the encrypted and compressed data to be stored is stored in the distributed storage device.
  • the security of the data to be stored can be improved; compressing the stored data reduces the data capacity of the data to be stored, improves the storage speed of the data to be stored, and saves the distributed storage device.
  • the method further includes the step of reading data in the distributed storage device, where the step specifically includes the following steps:
  • the terminal 110 when the terminal 110 needs to read data in the distributed storage device, the terminal 110 sends a data read request to the distributed server 120.
  • the data read request includes a virtual read path and a virtual read command, and the virtual read command corresponds to an operating system type of the terminal 110 or an operating system type of the virtual machine running on the terminal 110.
  • the distributed server 120 parses the data read request and parses the virtual read path and the virtual read command extracted into the data read request.
  • the distributed server 120 is provided with a path mapping table, where the mapping relationship between the virtual path and the distributed path is stored. After extracting the virtual read path, the distributed server 120 searches for a distributed read path corresponding to the virtual read path in the path map. The distributed server 120 looks up a distributed read instruction corresponding to the virtual read command in the distributed instruction library.
  • the distributed server 120 searches for the distributed storage device corresponding to the distributed read path search, and searches for the storage device according to the distributed read command. Read the data.
  • the distributed server 120 After the distributed server 120 reads the data according to the found distributed read instruction and the distributed read path, the distributed server 120 returns the read data to the terminal 110 according to the virtual read path.
  • the terminal 110 displays the read data on the display, which can be displayed on the virtual desktop of the virtual machine.
  • the terminal after acquiring the data read request sent by the terminal, extracting the virtual read path and the virtual read command in the data read request, and searching for the distributed read path corresponding to the virtual read path, in the distributed
  • the distributed read instruction corresponding to the virtual read instruction is searched in the instruction library, and the data is read from the distributed storage device corresponding to the distributed read path according to the distributed read command, and the read data is returned to the terminal and displayed.
  • the terminal can directly access the data stored in the distributed storage device, thereby improving the reading efficiency of the data stored in the distributed storage device.
  • a data virtualization storage device 800 is provided.
  • the device specifically includes a storage request obtaining module 802 , a data obtaining module 804 , a storage instruction searching module 806 , and a data storage module 810 .
  • the storage request obtaining module 802 is configured to acquire a storage request sent by the terminal.
  • the data obtaining module 804 is configured to acquire data to be stored according to the storage request, and extract a virtual storage path and a virtual storage instruction in the storage request.
  • the storage instruction lookup module 806 is configured to search for a distributed storage path corresponding to the virtual storage path, and search for a distributed storage instruction corresponding to the virtual storage instruction in the distributed instruction library.
  • the data storage module 808 is configured to store the data to be stored to the distributed storage device according to the distributed storage path and the distributed storage instruction.
  • the data to be stored is obtained according to the storage request, and the virtual storage path and the virtual storage instruction in the storage request are extracted, and the distributed storage path corresponding to the virtual storage path is searched for, and A distributed storage instruction corresponding to the virtual storage instruction is looked up in the distributed instruction library.
  • the data to be stored is stored according to the distributed storage instruction to the distributed storage device corresponding to the distributed storage path.
  • the terminal can be connected to the distributed storage device through the virtual storage path and the virtual storage instruction, and the distributed storage function is provided to the terminal, and the storage data sent by the terminal is stored in the distributed storage device.
  • Data can be stored to distributed storage devices without the need to expand local storage devices, and wasteful resources can be managed to manage local storage devices, improving data storage efficiency.
  • the data virtualization storage device 800 specifically includes a capacity acquisition request 810 , a capacity determination module 812 , and a storage device scheduling module 814 .
  • the capacity acquisition request 810 is configured to acquire a remaining capacity of the storage device corresponding to the virtual storage path and a data capacity of the data to be stored.
  • the capacity judging module 812 is configured to determine whether the data capacity of the data to be stored is greater than the remaining capacity of the storage device.
  • the storage device scheduling module 814 is configured to: when the data capacity of the data to be stored is greater than the remaining capacity of the storage device, schedule the idle distributed storage device, and store the distributed storage path corresponding to the scheduled distributed storage device and the virtual storage path. .
  • the idle distributed storage device when it is determined that the data capacity of the data to be stored is greater than the remaining capacity of the storage device, the idle distributed storage device may be scheduled, and the distributed storage path corresponding to the scheduled distributed storage device is stored corresponding to the virtual storage path, thereby improving The scalability of the storage device corresponding to the virtual storage path improves the utilization of the distributed storage device.
  • the store instruction lookup module 806 specifically includes an interface protocol determination module 806a, an instruction library lookup module 806b, and a distributed instruction lookup module 806c.
  • the interface protocol determining module 806a is configured to determine an interface protocol corresponding to the virtual storage instruction.
  • the instruction library search module 806b is configured to search for a distributed instruction library corresponding to the interface protocol.
  • the distributed instruction lookup module 806c is configured to search for a distributed storage instruction corresponding to the virtual storage instruction in the found distributed instruction library.
  • the distributed instruction library is searched according to the interface protocol corresponding to the virtual storage instruction, and the distributed storage instruction corresponding to the virtual storage instruction is searched in the found distributed instruction library.
  • the data storage module 808 specifically includes: a data encryption compression module 808a, a storage device lookup module 808b, and a data write module 808c.
  • the data encryption compression module 808a is configured to perform encryption and compression processing on the data to be stored according to the distributed storage instruction.
  • the storage device searching module 808b is configured to search for a distributed storage device corresponding to the distributed storage path.
  • the data writing module 808c is configured to write the processed data to be stored into the discovered distributed storage device.
  • the data to be stored is encrypted and compressed, and the encrypted and compressed data to be stored is stored in the distributed storage device.
  • the security of the data to be stored can be improved; compressing the stored data reduces the data capacity of the data to be stored, improves the storage speed of the data to be stored, and saves the distributed storage device.
  • the data virtualization storage device 800 specifically includes: a read request receiving module 816, a read request parsing module 818, a read command lookup module 820, a data reading module 822, and data. Return to module 824.
  • the read request receiving module 816 is configured to receive a data read request sent by the terminal.
  • the read request parsing module 818 is configured to extract a virtual read path and a virtual read instruction in the data read request.
  • the read instruction lookup module 820 is configured to find a distributed read path corresponding to the virtual read path, and find a distributed read instruction corresponding to the virtual read instruction in the distributed instruction library.
  • the data reading module 822 is configured to read data from the distributed storage device corresponding to the distributed read path according to the distributed read instruction.
  • the data returning module 824 is configured to return the read data to the terminal and display it.
  • the terminal after acquiring the data read request sent by the terminal, extracting the virtual read path and the virtual read command in the data read request, and searching for the distributed read path corresponding to the virtual read path, in the distributed
  • the distributed read instruction corresponding to the virtual read instruction is searched in the instruction library, and the data is read from the distributed storage device corresponding to the distributed read path according to the distributed read command, and the read data is returned to the terminal and displayed.
  • the terminal can directly access the data stored in the distributed storage device, thereby improving the reading efficiency of the data stored in the distributed storage device.
  • the various modules in the above data interface test apparatus may be implemented in whole or in part by software, hardware, and combinations thereof.
  • the network interface may be an Ethernet or a wireless network card.
  • Each of the above modules may be embedded in a hardware form or independent of a processor in the server, or may be stored in a memory of the server in a software form, so that the processor calls to perform operations corresponding to the above modules.
  • the processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
  • the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM) or Random Access Memory (RAM).

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)
  • Computer Networks & Wireless Communication (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种数据虚拟化存储方法,包括:获取终端发送的存储请求(302);根据存储请求获取待存储数据,并提取存储请求中的虚拟存储路径和虚拟存储指令(304);查找与虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与虚拟存储指令对应的分布式存储指令(306);根据分布式存储路径和分布式存储指令将待存储数据存储至分布式存储设备(308)。

Description

数据虚拟化存储方法、装置、服务器和存储介质
本申请要求于2016年11月21日提交中国专利局、申请号为201611026488.0、发明名称为“数据虚拟化存储方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
【技术领域】
本发明涉及存储虚拟化技术领域,特别是涉及一种数据虚拟化存储方法、装置、服务器和存储介质。
【背景技术】
随着互联网技术的发展和应用,在互联网的应用过程中会产生大量的数据。在互联网中需要将大量的数据进行存储。传统的数据存储技术中,用户都会将产生的数据存储到本地的存储设备中。
传统的存储技术中,当用户产生的数据较多时,会面临本地的存储设备不足的情况,这时,需要对本地的存储设备进行扩展。但是,对本地存储设备进行扩展,不仅会增加用户的管理成本,还需要耗费较多的资源去对本地的存储设备进行管理,易造成资源的浪费。
【发明内容】
根据本申请公开的各种实施例,提供一种数据虚拟化存储方法、装置、服务器和存储介质。
一种数据虚拟化存储方法,包括:
获取终端发送的存储请求;
根据所述存储请求获取待存储数据,并提取所述存储请求中的虚拟存储路径和虚拟存储指令;
查找与虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令;及
根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备。
一种数据虚拟化存储装置,包括:
存储请求获取模块,用于获取终端发送的存储请求;
数据获取模块,用于根据所述存储请求获取待存储数据,并提取所述存储请求中的虚拟存储路径和虚拟存储指令;
存储指令查找模块,用于查找与虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令;及
数据存储模块,用于根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备。
一种服务器,包括存储器和处理器,所述存储器中存储有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器执行以下步骤:
获取终端发送的存储请求;
根据所述存储请求获取待存储数据,并提取所述存储请求中的虚拟存储路径和虚拟存储指令;
查找与虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令;及
根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备。
一个或多个存储有计算机可执行指令的非易失性存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
获取终端发送的存储请求;
根据所述存储请求获取待存储数据,并提取所述存储请求中的虚拟存储路径和虚拟存储指令;
查找与虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令;及
根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。
【附图说明】
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中数据虚拟化存储系统的应用环境图;
图2为一个实施例中数据虚拟化存储系统中分布式服务器的功能模块图;
图3为一个实施例中数据虚拟化存储方法的流程示意图;
图4为一个实施例中调度可用的分布式存储设备的步骤的流程示意图;
图5为一个实施例中查找分布式存储指令的步骤的流程示意图;
图6为一个实施例中数据存储步骤的流程示意图;
图7为一个实施例中读取分布式存储设备中数据的步骤;
图8为一个实施例中数据虚拟化存储装置的功能模块图;
图9为另一个实施例中数据虚拟化存储装置的功能模块图;
图10为一个实施例中存储指令查找模块的功能模块图;
图11为一个实施例中数据存储模块的功能模块图;
图12为再一个实施例中数据虚拟化存储装置的功能模块图。
【具体实施方式】
体现本申请特征与优点的典型实施方式将在以下的说明中详细叙述。应理解的是本申请能够在不同的实施方式上具有各种的变化,其皆不脱离本申请的范围,且其中的说明及图示在本质上是当作说明之用,而非用以限制本申请。
图1为一种数据虚拟化存储系统的应用环境图,数据虚拟化存储系统具体包括终端110和分布式服务器120。终端110通过网络与分布式服务器120连接,分布式服务器120将分布式存储设备进行虚拟化得到虚拟存储设备,将虚拟存储设备提供给终端110。其中,终端110通过网络可以访问分布式服务器120。分布式服务器120具体可以是服务器集群,分布式服务器120为终端110提供分布式存储服务。
图2为一个实施例中图1数据虚拟化存储系统中分布式服务器120的功能模块图。如图2所示,该分布式服务器120包括通过总线连接的处理器、非易失性存储介质、内存储器和网络接口。该处理器用于提供计算和控制能力,支撑整个分布式服务器120的运行。分布式服务器120的非易失性存储介质存储有操作系统和计算机可执行指令。该计算机可执行指令可被处理器执行以实现以下各实施例所提供的一种数据虚拟化存储方法。分布式服务器120中的内存储器为非易失性存储介质的操作系统和计算机可执行指令提供高速缓存的运行环境。网络接口用于与终端110进行网络通信。可以理解,分布式服务器120可以用独立的服务器或者多个服务器组成的服务器集群来实现。
本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的服务器的限定,具体的服务器可以包括比图2中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
如图3所示,在一个实施例中,提供一种数据虚拟化存储方法,本实施例以该方法具体应用于图1数据虚拟化存储系统的分布式服务器120来举例说明的。分布式服务器120中安装有数据虚拟化存储程序,数据虚拟化存储程序用于实施数据虚拟化存储方法,该方法具体包括以下内容:
S302,获取终端发送的存储请求。
具体地,在终端110需要将数据存储时,终端110向分布式服务器120发送存储请求。存储请求中包括本地缓存地址,虚拟存储路径和虚拟存储指令。其中,虚拟存储指令与终端110或终端110上的虚拟机的操作系统类型对应,例如终端110的操作系统类型为Windows操作系统,则虚拟存储指令为Windows操作系统可以识别的虚拟存储指令。操作系统类型具体可以是Windows或Linux。虚拟存储路径为终端110中分布式服务器120为终端110提供的虚拟存储设备的地址或标识,例如在终端110上虚拟机的虚拟桌面中显示为虚拟磁盘标识,虚拟桌面显示为C盘、D盘和E盘中的至少一种。
S304,根据存储请求获取待存储数据,并提取存储请求中的虚拟存储路径和虚拟存储指令。
具体地,分布式服务器120对存储请求进行解析,通过解析提取存储请求中的本地缓存地址、虚拟存储路径和虚拟存储指令。分布式服务器120在提取到存储请求中的本地缓存地址后,根据本地缓存地址生成待存储数据的数据获取请求。终端110在接收到数据获取请求后,根据数据获取请求中的本地缓存地址查找待存储数据,将查找到的待存储数据发送至分布式服务器120。
S306,查找与虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与虚拟存储指令对应的分布式存储指令。
具体地,分布式服务器120中存储着虚拟存储路径与分布式存储路径的对应关系。分布式服务器120在提取到虚拟存储路径和虚拟存储指令后,分布式服务器120根据存储的虚拟存储路径与分布式存储路径的对应关系中查找提取到的虚拟存储路径,查找与提取到的虚拟存储路径对应的分布式存储路径。分布式存储指令为分布式服务器120中的分布式存储程序可识别的存储指令。
同时,分布式服务器120设置有分布式指令库,分布式指令库存储着分布式指令与虚拟指令的对应关系,其中每个分布式指令都存在对应的虚拟指令。分布式服务器120在提取到虚拟存储指令后,在分布式指令库中查找与虚拟存储指令对应的分布式存储指令。
S308,根据分布式存储路径和分布式存储指令将待存储数据存储至分布式存储设备。
具体地,分布式服务器120在查找到与虚拟存储路径对应的分布式存储路径,以及与虚拟存储指令对应的分布式存储指令后。分布式服务器120查找虚拟存储路径对应的分布式存储设备,根据分布式存储指令将待存储数据存储至查找到的分布式存储设备中。
本实施例中,获取到终端发送的存储请求时,根据所述存储请求获取待存储数据,并提取存储请求中的虚拟存储路径和虚拟存储指令,查找虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与虚拟存储指令对应的分布式存储指令。根据分布式存储指令将待存储数据存储至分布式存储路径对应的分布式存储设备。这样,通过虚拟存储路径和虚拟存储指令可以将终端与分布式存储设备衔接,并为终端提供分布式存储功能,将终端发送的存储数据存储到分布式存储设备中。无需对本地的存储设备进行扩展,即可将数据存储至分布式存储设备,避免了浪费过多的资源对本地的存储设备进行管理,提高了数据的存储效率。
如图4所示,在一个实施例中,S306之后还包括调度可用的分布式存储设备的步骤,该步骤具体包括以下内容:
S402,获取虚拟存储路径对应的存储设备剩余容量和待存储数据的数据容量。
具体地,在分布式服务器120在提取到虚拟存储路径后,获取与虚拟存储路径对应存储的存储设备剩余容量。分布式服务器120对待存储数据的数据容量进行统计,通过统计得到待存储数据的数据容量。
在一个实施例中,分布式服务器120从存储请求中提取待存储数据的数据容量。
S404,判断待存储数据的数据容量是否大于存储设备剩余容量。
具体地,分布式服务器120在获取到虚拟存储路径对应的存储设备剩余容量和待存储数据的数据容量后,将待存储数据的数据容量与存储设备剩余容量进行比较,通过比较判断待存储数据的数据容量是否大于存储设备剩余容量。
S406,若判定待存储数据的数据容量大于存储设备剩余容量,调度可用的分布式存储设备,将调度的分布式存储设备对应的分布式存储路径与虚拟存储路径对应存储。
具体地,若判定待存储数据的数据容量大于存储设备剩余容量,则表示存储设备剩余容量不够,不能完全存储待存储数据。分布式服务器120在判定待存储数据的数据容量大于存储设备剩余容量时,分布式服务器120查找可用的分布式存储设备。在查找到可用的分布式存储设备后,分布式服务器120提取查找到的分布式存储设备的分布式存储路径,将提取到的分布式存储路径与虚拟存储路径对应存储。
在一个实施例中,在查找到可用的分布式存储设备后,分布式服务器120提取查找到的分布式存储设备的分布式存储路径,将提取到的分布式存储路径与虚拟存储路径对应存储在对应关系表中。
本实施例中,在判定待存储数据的数据容量大于存储设备剩余容量时,可以调度可用的分布式存储设备,将调度的分布式存储设备对应的分布式存储路径与虚拟存储路径对应存储,提高了虚拟存储路径对应的存储设备的可扩展性,提高了分布式存储设备的利用率。
如图5所示,在一个实施例中,S306具体包括查找分布式存储指令的步骤,该步骤具体包括以下内容:
S502,确定虚拟存储指令对应的接口协议。
具体地,分布式服务器120在提取到虚拟存储指令后,对虚拟存储指令进解析,确定虚拟存储指令对应的接口协议。接口协议具体包括FC协议(Fiber Channel,光纤通道)、ISCSI(Internet Small Computer System Interface,互联网小型计算机接口)协议。其中,光纤通道可以采用铜轴电缆和光导纤维作为连接设备;ISCSI是一个供硬件设备使用的可以在IP协议的上层运行的SCSI指令集,这种指令集合可以实现在IP网络上运行小型计算机接口协议,使其能够在诸如高速千兆以太网上进行路由选择。iSCSI将现有小型计算机接口与以太网络技术结合,使服务器可与使用IP网络的储存装置互相交换数据。
S504,查找接口协议对应的分布式指令库。
具体地,在分布式服务器120中设置有多个不同的分布式指令库,不同的接口协议对应不同的分布式指令库。分布式服务器120在确定虚拟存储指令对应的接口协议后,根据确定的接口协议查找对应的分布式指令库。
S506,在查找到的分布式指令库中查找与虚拟存储指令对应的分布式存储指令。
具体地,分布式服务器120在查找到分布式指令库后,在查找到的分布式指令库中查找与虚拟存储指令对应的分布式存储指令。
本实施例中,根据虚拟存储指令对应的接口协议查找分布式指令库,在查找到的分布式指令库中查找虚拟存储指令对应的分布式存储指令。通过设置多个分布式存储指令库,保证支持多种接口协议的数据存储,提高数据的存储效率。
如图6所示,在一个实施例中,S308具体包括数据存储步骤,该步骤具体包括以下内容:
S602,根据分布式存储指令将待存储数据进行加密和压缩处理。
具体地,分布式服务器120在查找到分布式存储指令后,根据分布式存储指令对待存储数据进行加密,对加密后的待存储数据进行压缩。也是对待存储数据进行压缩,再对压缩后的待存储数据进行加密。
进一步地,对待存储数据进行加密可以是使用对称加密算法和非对称加密算法对待存储数据进行加密。对待存储数据进行压缩可以是对待存储数据中的冗余数据进行过滤。
S604,查找分布式存储路径对应的分布式存储设备。
具体地,分布式服务器120在查找到与虚拟存储路径对应的分布式存储路径后,根据查找到的分布式存储路径确定可用的分布式存储设备。
S606,将处理后的待存储数据存储至查找到的分布式存储设备中。
具体地,分布式服务器120将经过加密和压缩处理的待存储数据存储至查找到的分布式存储设备中。
本实施例中,将待存储数据进行加密和压缩,将经过加密和压缩后的待存储数据存储至分布式存储设备。通过对待存储数据进行加密可以提高待存储数据的安全性;对待存储数据进行压缩,减少了待存储数据的数据容量,提高了待存储数据的存储速度,节省了分布式存储设备。
如图7所示,在一个实施例中,S308之后具体还包括读取分布式存储设备中数据的步骤,该步骤具体包括以下步骤:
S702,接收终端发送的数据读取请求。
具体地,在终端110需要读取分布式存储设备中的数据时,终端110向分布式服务器120发送数据读取请求。数据读取请求中包括虚拟读取路径和虚拟读取指令,虚拟读取指令与终端110的操作系统类型或者终端110上运行的虚拟机的操作系统类型对应。
S704,提取数据读取请求中的虚拟读取路径和虚拟读取指令。
具体地,分布式服务器120对数据读取请求进行解析,通过解析提取到数据读取请求中的虚拟读取路径和虚拟读取指令。
S706,查找与虚拟读取路径对应分布式读取路径,并在分布式指令库中查找与虚拟读取指令对应的分布式读取指令。
具体地,分布式服务器120中设置有路径映射表,路径映射表中存储着虚拟路径与分布式路径的对应关系。分布式服务器120在提取到虚拟读取路径后,在路径映射表中查找与虚拟读取路径对应的分布式读取路径。分布式服务器120在分布式指令库中查找与虚拟读取指令对应的分布式读取指令。
S708,根据分布式读取指令从分布式读取路径对应的分布式存储设备中读取数据。
具体地,分布式服务器120在查找到分布式读取指令和分布式读取路径后,查找分布式读取路径查找对应的分布式存储设备,根据分布式读取指令从查找到的存储设备中读取数据。
S710,将读取到的数据返回至终端并展示。
具体地,分布式服务器120根据查找到的分布式读取指令和分布式读取路径读取到数据后,分布式服务器120根据虚拟读取路径将读取到的数据返回至终端110。终端110将读取到的数据展示在显示器上,具体可以展示在虚拟机的虚拟桌面上。
本实施例中,在获取到终端发送的数据读取请求后,提取数据读取请求中的虚拟读取路径和虚拟读取指令,查找虚拟读取路径对应的分布式读取路径,在分布式指令库中查找虚拟读取指令对应的分布式读取指令,根据分布式读取指令从分布式读取路径对应的分布式存储设备读取数据,将读取到的数据返回至终端并展示。使得终端可以直接访问分布式存储设备中存储的数据,提高了分布式存储设备中存储的数据的读取效率。
如图8所示,在一个实施例中,提供一种数据虚拟化存储装置800,该装置具体包括:存储请求获取模块802、数据获取模块804、存储指令查找模块806和数据存储模块810。
存储请求获取模块802,用于获取终端发送的存储请求。
数据获取模块804,用于根据存储请求获取待存储数据,并提取存储请求中的虚拟存储路径和虚拟存储指令。
存储指令查找模块806,用于查找与虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与虚拟存储指令对应的分布式存储指令。
数据存储模块808,用于根据分布式存储路径和分布式存储指令将待存储数据存储至分布式存储设备。
本实施例中,获取到终端发送的存储请求时,根据所述存储请求获取待存储数据,并提取存储请求中的虚拟存储路径和虚拟存储指令,查找虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与虚拟存储指令对应的分布式存储指令。根据分布式存储指令将待存储数据存储至分布式存储路径对应的分布式存储设备。这样,通过虚拟存储路径和虚拟存储指令可以将终端与分布式存储设备衔接,并为终端提供分布式存储功能,将终端发送的存储数据存储到分布式存储设备中。无需对本地的存储设备进行扩展,即可将数据存储至分布式存储设备,避免浪费过的资源对本地的存储设备进行管理,提高了数据存储效率。
如图9所示,在一个实施例中,数据虚拟化存储装置800具体还包括:容量获取请求810、容量判断模块812和存储设备调度模块814。
容量获取请求810,用于获取虚拟存储路径对应的存储设备剩余容量和待存储数据的数据容量。
容量判断模块812,用于判断待存储数据的数据容量是否大于存储设备剩余容量。
存储设备调度模块814,用于在判定待存储数据的数据容量大于存储设备剩余容量时,调度空闲的分布式存储设备,将调度的分布式存储设备对应的分布式存储路径与虚拟存储路径对应存储。
本实施例中,在判定待存储数据的数据容量大于存储设备剩余容量时,可以调度空闲的分布式存储设备,将调度的分布式存储设备对应的分布式存储路径与虚拟存储路径对应存储,提高了虚拟存储路径对应的存储设备的可扩展性,提高了分布式存储设备的利用率。
如图10所示,在一个实施例中,存储指令查找模块806具体包括:接口协议确定模块806a、指令库查找模块806b和分布式指令查找模块806c。
接口协议确定模块806a,用于确定虚拟存储指令对应的接口协议。
指令库查找模块806b,用于查找接口协议对应的分布式指令库。
分布式指令查找模块806c,用于在查找到的分布式指令库中查找与虚拟存储指令对应的分布式存储指令。
本实施例中,根据虚拟存储指令对应的接口协议查找分布式指令库,在查找到的分布式指令库中查找虚拟存储指令对应的分布式存储指令。通过设置多个分布式存储指令库,保证支持多种接口协议的数据存储,提高数据的存储效率。
如图11所示,在一个实施例中,数据存储模块808具体包括:数据加密压缩模块808a、存储设备查找模块808b和数据写入模块808c。
数据加密压缩模块808a,用于根据分布式存储指令将待存储数据进行加密和压缩处理。
存储设备查找模块808b,用于查找分布式存储路径对应的分布式存储设备。
数据写入模块808c,用于将处理后的待存储数据写入查找到的分布式存储设备中。
本实施例中,将待存储数据进行加密和压缩,将经过加密和压缩后的待存储数据存储至分布式存储设备。通过对待存储数据进行加密可以提高待存储数据的安全性;对待存储数据进行压缩,减少了待存储数据的数据容量,提高了待存储数据的存储速度,节省了分布式存储设备。
如图12所示,在一个实施例中,数据虚拟化存储装置800具体还包括:读取请求接收模块816、读取请求解析模块818、读取指令查找模块820、数据读取模块822和数据返回模块824。
读取请求接收模块816,用于接收终端发送的数据读取请求。
读取请求解析模块818,用于提取数据读取请求中的虚拟读取路径和虚拟读取指令。
读取指令查找模块820,用于查找与虚拟读取路径对应分布式读取路径,并在分布式指令库中查找与虚拟读取指令对应的分布式读取指令。
数据读取模块822,用于根据分布式读取指令从分布式读取路径对应的分布式存储设备中读取数据。
数据返回模块824,用于将读取到的数据返回至终端并展示。
本实施例中,在获取到终端发送的数据读取请求后,提取数据读取请求中的虚拟读取路径和虚拟读取指令,查找虚拟读取路径对应的分布式读取路径,在分布式指令库中查找虚拟读取指令对应的分布式读取指令,根据分布式读取指令从分布式读取路径对应的分布式存储设备读取数据,将读取到的数据返回至终端并展示。使得终端可以直接访问分布式存储设备中存储的数据,提高了分布式存储设备中存储的数据的读取效率。
上述数据接口测试装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。其中,网络接口可以是以太网或无线网卡等。上述各模块可以硬件形式内嵌于或独立于服务器中的处理器中,也可以以软件形式存储于服务器的存储器中,以便于处理器调用执行以上各个模块对应的操作。该处理器可以为中央处理单元(CPU)、微处理器、单片机等。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
上述内容,仅为本申请的较佳实施例,并非用于限制本申请的实施方案,本领域普通技术人员根据本申请的主要构思和精神,可以十分方便地进行相应的变通或修改,故本申请的保护范围应以权利要求书所要求的保护范围为准。

Claims (20)

  1. 一种数据虚拟化存储方法,包括:
    获取终端发送的存储请求;
    根据所述存储请求获取待存储数据,并提取所述存储请求中的虚拟存储路径和虚拟存储指令;
    查找与虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令;及
    根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备。
  2. 根据权利要求1所述的方法,其特征在于,所述提取所述存储请求中的虚拟存储路径和虚拟存储指令之后,所述方法还包括:
    获取所述虚拟存储路径对应的存储设备剩余容量和所述待存储数据的数据容量;
    判断所述待存储数据的数据容量是否大于所述存储设备剩余容量;及
    若判定待存储数据的数据容量大于存储设备剩余容量,调度可用的分布式存储设备,将调度的分布式存储设备对应的分布式存储路径与所述虚拟存储路径对应存储。
  3. 根据权利要去1所述的方法,其特征在于,所述在分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令,包括:
    确定所述虚拟存储指令对应的接口协议;
    查找所述接口协议对应的分布式指令库;及
    在查找到的分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令。
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备,包括:
    根据所述分布式存储指令将所述待存储数据进行加密和压缩处理;
    查找所述分布式存储路径对应的分布式存储设备;及
    将处理后的待存储数据写入查找到的分布式存储设备中。
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备之后,所述方法还包括:
    接收所述终端发送的数据读取请求;
    提取所述数据读取请求中的虚拟读取路径和虚拟读取指令;
    查找与所述虚拟读取路径对应分布式读取路径,并在所述分布式指令库中查找与所述虚拟读取指令对应的分布式读取指令;
    根据所述分布式读取指令从所述分布式读取路径对应的分布式存储设备中读取数据;及
    将读取到的数据返回至所述终端并展示。
  6. 一种数据虚拟化存储装置,包括:
    存储请求获取模块,用于获取终端发送的存储请求;
    数据获取模块,用于根据所述存储请求获取待存储数据,并提取所述存储请求中的虚拟存储路径和虚拟存储指令;
    存储指令查找模块,用于查找与虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令;及
    数据存储模块,用于根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备。
  7. 根据权利要求6所述的装置,其特征在于,还包括:
    容量获取请求,用于获取所述虚拟存储路径对应的存储设备剩余容量和所述待存储数据的数据容量;
    容量判断模块,用于判断所述待存储数据的数据容量是否大于所述存储设备剩余容量;及
    存储设备调度模块,用于在判定待存储数据的数据容量大于存储设备剩余容量时,调度可用的分布式存储设备,将调度的分布式存储设备对应的分布式存储路径与所述虚拟存储路径对应存储。
  8. 根据权利要去6所述的装置,其特征在于,所述存储指令查找模块包括:
    接口协议确定模块,用于确定所述虚拟存储指令对应的接口协议;
    指令库查找模块,用于查找所述接口协议对应的分布式指令库;及
    分布式指令查找模块,用于在查找到的分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令。
  9. 根据权利要求6所述的装置,其特征在于,所述数据存储模块包括:
    数据加密压缩模块,用于根据所述分布式存储指令将所述待存储数据进行加密和压缩处理;
    存储设备查找模块,用于查找所述分布式存储路径对应的分布式存储设备;及
    数据写入模块,用于将处理后的待存储数据写入查找到的分布式存储设备中。
  10. 根据权利要求6所述的装置,其特征在于,还包括:
    读取请求接收模块,用于接收所述终端发送的数据读取请求;
    读取请求解析模块,用于提取所述数据读取请求中的虚拟读取路径和虚拟读取指令;
    读取指令查找模块,用于查找与所述虚拟读取路径对应分布式读取路径,并在所述分布式指令库中查找与所述虚拟读取指令对应的分布式读取指令;
    数据读取模块,用于根据所述分布式读取指令从所述分布式读取路径对应的分布式存储设备中读取数据;及
    数据返回模块,用于将读取到的数据返回至所述终端并展示。
  11. 一种服务器,包括存储器和处理器,所述存储器中存储有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器执行以下步骤:
    获取终端发送的存储请求;
    根据所述存储请求获取待存储数据,并提取所述存储请求中的虚拟存储路径和虚拟存储指令;
    查找与虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令;及
    根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备。
  12. 根据权利要求11所述的服务器,其特征在于,所述提取所述存储请求中的虚拟存储路径和虚拟存储指令之后,所述计算机可执行指令被所述处理器执行时,还使得所述处理器执行以下步骤:
    获取所述虚拟存储路径对应的存储设备剩余容量和所述待存储数据的数据容量;
    判断所述待存储数据的数据容量是否大于所述存储设备剩余容量;及
    若判定待存储数据的数据容量大于存储设备剩余容量,调度可用的分布式存储设备,将调度的分布式存储设备对应的分布式存储路径与所述虚拟存储路径对应存储。
  13. 根据权利要去11所述的服务器,其特征在于,所述在分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令,包括:
    确定所述虚拟存储指令对应的接口协议;
    查找所述接口协议对应的分布式指令库;及
    在查找到的分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令。
  14. 根据权利要求11所述的服务器,其特征在于,所述根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备,包括:
    根据所述分布式存储指令将所述待存储数据进行加密和压缩处理;
    查找所述分布式存储路径对应的分布式存储设备;及
    将处理后的待存储数据写入查找到的分布式存储设备中。
  15. 根据权利要求11所述的服务器,其特征在于,所述根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备之后,所述计算机可执行指令被所述处理器执行时,还使得所述处理器执行以下步骤:
    接收所述终端发送的数据读取请求;
    提取所述数据读取请求中的虚拟读取路径和虚拟读取指令;
    查找与所述虚拟读取路径对应分布式读取路径,并在所述分布式指令库中查找与所述虚拟读取指令对应的分布式读取指令;
    根据所述分布式读取指令从所述分布式读取路径对应的分布式存储设备中读取数据;及
    将读取到的数据返回至所述终端并展示。
  16. 一个或多个存储有计算机可执行指令的非易失性存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    获取终端发送的存储请求;
    根据所述存储请求获取待存储数据,并提取所述存储请求中的虚拟存储路径和虚拟存储指令;
    查找与虚拟存储路径对应的分布式存储路径,并在分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令;及
    根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备。
  17. 根据权利要求16所述的非易失性存储介质,其特征在于,所述提取所述存储请求中的虚拟存储路径和虚拟存储指令之后,所述计算机可执行指令被一个或多个处理器执行时,还使得所述一个或多个处理器执行以下步骤:
    获取所述虚拟存储路径对应的存储设备剩余容量和所述待存储数据的数据容量;
    判断所述待存储数据的数据容量是否大于所述存储设备剩余容量;及
    若判定待存储数据的数据容量大于存储设备剩余容量,调度可用的分布式存储设备,将调度的分布式存储设备对应的分布式存储路径与所述虚拟存储路径对应存储。
  18. 根据权利要去16所述的非易失性存储介质,其特征在于,所述在分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令,包括:
    确定所述虚拟存储指令对应的接口协议;
    查找所述接口协议对应的分布式指令库;及
    在查找到的分布式指令库中查找与所述虚拟存储指令对应的分布式存储指令。
  19. 根据权利要求16所述的非易失性存储介质,其特征在于,所述根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备,包括:
    根据所述分布式存储指令将所述待存储数据进行加密和压缩处理;
    查找所述分布式存储路径对应的分布式存储设备;及
    将处理后的待存储数据写入查找到的分布式存储设备中。
  20. 根据权利要求16所述的非易失性存储介质,其特征在于,所述根据所述分布式存储路径和所述分布式存储指令将所述待存储数据存储至分布式存储设备之后,所述计算机可执行指令被一个或多个处理器执行时,还使得所述一个或多个处理器执行以下步骤:
    接收所述终端发送的数据读取请求;
    提取所述数据读取请求中的虚拟读取路径和虚拟读取指令;
    查找与所述虚拟读取路径对应分布式读取路径,并在所述分布式指令库中查找与所述虚拟读取指令对应的分布式读取指令;
    根据所述分布式读取指令从所述分布式读取路径对应的分布式存储设备中读取数据;及
    将读取到的数据返回至所述终端并展示。
PCT/CN2017/084519 2016-11-21 2017-05-16 数据虚拟化存储方法、装置、服务器和存储介质 Ceased WO2018090585A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611026488.0 2016-11-21
CN201611026488.0A CN106708428B (zh) 2016-11-21 2016-11-21 数据虚拟化存储方法和装置

Publications (1)

Publication Number Publication Date
WO2018090585A1 true WO2018090585A1 (zh) 2018-05-24

Family

ID=58940163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084519 Ceased WO2018090585A1 (zh) 2016-11-21 2017-05-16 数据虚拟化存储方法、装置、服务器和存储介质

Country Status (3)

Country Link
CN (1) CN106708428B (zh)
TW (1) TWI680404B (zh)
WO (1) WO2018090585A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204136A (zh) * 2023-05-04 2023-06-02 山东浪潮科学研究院有限公司 一种数据存储、查询方法、装置、设备及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423301B (zh) * 2016-05-24 2021-02-23 华为技术有限公司 一种数据处理的方法、相关设备及存储系统
CN109445692A (zh) * 2018-10-18 2019-03-08 深圳市硅格半导体有限公司 基于网络的数据存储方法、终端、服务器和系统
CN109309590A (zh) * 2018-10-29 2019-02-05 武汉世捷通网络信息技术有限公司 虚拟化数据中心的可扩缩多租户网络架构信息采集方法
CN109783494A (zh) * 2018-12-29 2019-05-21 深圳云天励飞技术有限公司 数据存储方法及相关装置
CN112199050A (zh) * 2020-10-22 2021-01-08 Tcl通讯(宁波)有限公司 存储方法、装置、存储介质及终端设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7533389B2 (en) * 2003-06-20 2009-05-12 Sun Microsystems, Inc. Dynamic loading of remote classes
CN101587480A (zh) * 2008-05-21 2009-11-25 鸿富锦精密工业(深圳)有限公司 Notes文件分布式存储系统及方法
CN101662811A (zh) * 2009-08-17 2010-03-03 北京航空航天大学 基于可靠路径的分布式路由协议
CN103095832A (zh) * 2013-01-15 2013-05-08 北京邮电大学 一种基于通信可靠性的分布式存储方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917005B (zh) * 2012-08-28 2016-10-26 大唐软件技术股份有限公司 一种支持事务的海量存储访问方法及装置
CN103257941B (zh) * 2013-04-17 2015-09-23 浪潮(北京)电子信息产业有限公司 多协议存储控制器和系统
CN103513940B (zh) * 2013-10-21 2016-09-07 北京华胜天成科技股份有限公司 虚拟机在线扩展磁盘容量的方法和虚拟系统控制台
CN104020961B (zh) * 2014-05-15 2017-07-25 深信服科技股份有限公司 分布式数据存储方法、装置及系统
CN104484130A (zh) * 2014-12-04 2015-04-01 北京同有飞骥科技股份有限公司 一种横向扩展存储系统的构建方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7533389B2 (en) * 2003-06-20 2009-05-12 Sun Microsystems, Inc. Dynamic loading of remote classes
CN101587480A (zh) * 2008-05-21 2009-11-25 鸿富锦精密工业(深圳)有限公司 Notes文件分布式存储系统及方法
CN101662811A (zh) * 2009-08-17 2010-03-03 北京航空航天大学 基于可靠路径的分布式路由协议
CN103095832A (zh) * 2013-01-15 2013-05-08 北京邮电大学 一种基于通信可靠性的分布式存储方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204136A (zh) * 2023-05-04 2023-06-02 山东浪潮科学研究院有限公司 一种数据存储、查询方法、装置、设备及存储介质
CN116204136B (zh) * 2023-05-04 2023-08-15 山东浪潮科学研究院有限公司 一种数据存储、查询方法、装置、设备及存储介质

Also Published As

Publication number Publication date
TW201820126A (zh) 2018-06-01
CN106708428B (zh) 2018-06-29
TWI680404B (zh) 2019-12-21
CN106708428A (zh) 2017-05-24

Similar Documents

Publication Publication Date Title
WO2018090585A1 (zh) 数据虚拟化存储方法、装置、服务器和存储介质
WO2015020471A1 (en) Method and apparatus for distributing data in hybrid cloud environment
WO2014032262A1 (zh) 一种平台间迁移应用的实现方法及系统
WO2016023148A1 (zh) 报文的控制方法、交换机及控制器
WO2018076812A1 (zh) 数据请求的响应方法、装置、存储介质、服务器及系统
WO2017142293A1 (en) Electronic device and method of application data display therefor
WO2018014567A1 (zh) 一种提高虚拟机性能的方法、终端、设备及计算机可读存储介质
WO2018205376A1 (zh) 一种关联信息查询方法、终端、服务器管理系统及计算机可读存储介质
WO2021060609A1 (ko) 복수의 엣지와 클라우드를 포함하는 분산 컴퓨팅 시스템 및 이의 적응적 지능 활용을 위한 모델 제공 방법
WO2018090823A1 (zh) 一种系统分区关键数据的保护方法及系统、终端
WO2018076864A1 (zh) 一种数据同步方法、装置、存储介质及电子设备
WO2015106497A1 (zh) 一种基于当前vcpu调度状态的动态中断均衡映射方法
WO2018040421A1 (zh) 资源共享方法、装置及系统
WO2016171401A1 (ko) 공동 편집 문서를 공유하는 방법 및 장치
WO2021080385A1 (en) Computing device and operating method thereof
EP3036911A1 (en) Method, terminal, and system for reproducing content
WO2018233370A1 (zh) 镜像同步方法、系统、设备及计算机可读存储介质
WO2018233369A1 (zh) 基于写时复制的虚拟磁盘写入方法及装置、存储介质
WO2014126335A1 (ko) 클라우드 컴퓨팅 기반의 데이터 관리 방법, 이를 위한 시스템 및 장치
WO2019056733A1 (zh) 并发量控制方法、应用服务器、系统及存储介质
EP3857855A1 (en) Method and apparatus for enhanced assertion management in cloud media processing
WO2013075613A1 (zh) 网络服务提供方法及装置
WO2017049943A1 (zh) 一种智能卡信息的查询方法及、装置及存储介质
WO2018076811A1 (zh) 数据分享方法、装置、存储介质及电子设备
WO2018076829A1 (zh) 终端数据的处理方法、装置、系统、存储介质及服务器

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: 17871621

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04.09.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17871621

Country of ref document: EP

Kind code of ref document: A1