CN101202758B - Network virtual storage method of multiple clients - Google Patents
Network virtual storage method of multiple clients Download PDFInfo
- Publication number
- CN101202758B CN101202758B CN2006101646971A CN200610164697A CN101202758B CN 101202758 B CN101202758 B CN 101202758B CN 2006101646971 A CN2006101646971 A CN 2006101646971A CN 200610164697 A CN200610164697 A CN 200610164697A CN 101202758 B CN101202758 B CN 101202758B
- Authority
- CN
- China
- Prior art keywords
- data
- cache memory
- written
- client
- server
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Computer And Data Communications (AREA)
- Memory System Of A Hierarchy Structure (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种网络虚拟存储方法,尤其涉及一种通过对网络虚拟存储系统中公用与专用数据存储区域进行区分并同时对应增加公用与专用高速缓冲存储器(Cache),进而对多个客户端数据的网络虚拟存储实现加速及优化的多客户端的网络虚拟存储方法。The present invention relates to a method for network virtual storage, in particular to a method of distinguishing public and private data storage areas in a network virtual storage system and correspondingly increasing public and private high-speed caches (Caches) at the same time, and then storing multiple client data The network virtual storage realizes accelerated and optimized multi-client network virtual storage method.
背景技术Background technique
现今,随着网络传输速率的不断提高,网络存储技术获得了越来越多的认可,NAS(Network Attached Storage,网络附接存储)和SAN(存储区域网络,Storage Area Network)系统越来越广泛地应用就是最好的例证。网络存储具有节约成本、部署简单、运营维护便捷等诸多优点。目前,网络存储技术由原来的单一数据存储正朝着虚拟化的方向发展,“虚拟存储”已经成为本技术领域最热门的话题之一。虚拟存储技术将存储部分透明地呈现给最终用户,其实现细节全部都在底层来完成。无论是开发人员还是一般的使用性用户都无需掌握网络存储的专业知识,也更不必知道具体的存储组成。正是由于这个原因,网络虚拟存储得到了越来越多的欢迎。Nowadays, with the continuous improvement of network transmission rate, network storage technology has gained more and more recognition, and NAS (Network Attached Storage, Network Attached Storage) and SAN (Storage Area Network, Storage Area Network) systems are becoming more and more widespread. Land application is the best example. Network storage has many advantages such as cost saving, simple deployment, and convenient operation and maintenance. At present, the network storage technology is developing from the original single data storage to the direction of virtualization, and "virtual storage" has become one of the hottest topics in this technical field. The virtual storage technology transparently presents the storage part to end users, and all its implementation details are completed at the bottom layer. Neither developers nor general usability users need to master the professional knowledge of network storage, let alone know the specific storage components. It is for this reason that network virtual storage is gaining more and more popularity.
传统的网络虚拟存储技术多采用一对一的方式,即一个客户端对应服务器上某一存储空间,客户端任何的数据读写操作都是针对自身的专有存储空间来完成的。如此,在客户端数量较多的情况下会导致部署困难、维护工作量大,特别是对传统的无磁盘系统而言会造成存储空间的大量浪费,且在客户端较多的时候,如果一对一地进行部署和维护会带来巨大的二工作量。Traditional network virtual storage technologies mostly adopt a one-to-one approach, that is, one client corresponds to a certain storage space on the server, and any data read and write operations of the client are completed for its own dedicated storage space. In this way, when the number of clients is large, it will lead to difficult deployment and heavy maintenance workload, especially for the traditional diskless system, it will cause a lot of waste of storage space, and when there are many clients, if a Deploying and maintaining one site will bring a huge workload.
此外,依据局部性原理,数据读写程序在执行读写操作过程中的一段时间内总是访问一段连续的局部空间。这样执行类似数据读写任务的多个客户端就要不断地从服务器读取相同数据,从而加大了对系统磁盘的占用。而且,由于磁盘写入速度一般较慢,当有许多客户端同时对虚拟磁盘进行数据写入操作时,必然会导致部分操作长时间等待,整个系统运行及数据存储的平均速度相应变慢。In addition, according to the principle of locality, the data read and write program always accesses a continuous local space within a period of time during the process of performing read and write operations. In this way, multiple clients performing similar data reading and writing tasks will continuously read the same data from the server, thereby increasing the occupation of the system disk. Moreover, because the disk writing speed is generally slow, when many clients simultaneously write data to the virtual disk, it will inevitably cause some operations to wait for a long time, and the average speed of the entire system operation and data storage will be correspondingly slowed down.
发明内容Contents of the invention
为了解决上述传统技术中的问题与缺陷,本发明的目的在于提供一种多客户端的网络虚拟存储方法,用以在具有一个服务器及多个客户端的区域网络虚拟存储系统中实现对多个客户端数据的网络虚拟存储的加速及优化。In order to solve the problems and defects in the above-mentioned traditional technologies, the purpose of the present invention is to provide a multi-client network virtual storage method, which is used to realize the virtual storage system for multiple clients in a local area network virtual storage system with a server and multiple clients. Acceleration and optimization of network virtual storage of data.
本发明所提供的一种多客户端的网络虚拟存储方法,包含以下步骤:A multi-client network virtual storage method provided by the present invention comprises the following steps:
系统启动后,服务器依据应用配置将一个公用数据存储区域加载至服务器的磁盘上,同时,在服务器的磁盘上依据客户端的数量动态地对应配置多个专用数据存储区域;服务器为公用数据存储区域的数据存储对应配置一个公用高速缓冲存储器(Cache),并且分别为各个专用数据存储区域的数据存储对应配置一个专用高速缓冲存储器(Cache);当一个客户端需要进行数据写入操作时,首先在本地的索引表中记录待写入数据内容的相关属性,然后将所有数据写入指令及待写入数据由网络发送给服务器;以及服务器收到数据写入指令及待写入数据后,实时判断客户端的专用高速缓冲存储器的数据写入空间是否已满,如果未满,则将待写入的数据写入专用高速缓冲存储器中直至待写入数据全部写入专用高速缓冲存储器中;如果已满,则由服务器上的一个输入输出(Input/Output,简称I/O)控制器将专用高速缓冲存储器中的数据内容置换出一部分后再将待写入数据写入专用高速缓冲存储器中直至待写入数据全部写入专用高速缓冲存储器中。After the system is started, the server loads a public data storage area to the server disk according to the application configuration, and at the same time, dynamically configures multiple dedicated data storage areas on the server disk according to the number of clients; the server is the public data storage area. A public cache memory (Cache) should be configured for the data storage, and a dedicated cache memory (Cache) should be configured for the data storage of each dedicated data storage area; when a client needs to perform a data write operation, the Record the relevant attributes of the data content to be written in the index table, and then send all the data writing instructions and data to be written to the server from the network; and after the server receives the data writing instructions and the data to be written, it will judge the client Whether the data writing space of the dedicated cache memory at the end is full, if not full, then write the data to be written in the dedicated cache memory until all the data to be written are written in the dedicated cache memory; if full, Then, an input/output (I/O) controller on the server replaces a part of the data content in the dedicated cache memory and then writes the data to be written in the dedicated cache memory until it is to be written. All data is written in the dedicated cache memory.
此外,本发明所提供的一种多客户端的网络虚拟存储方法,还包含以下步骤:In addition, a multi-client network virtual storage method provided by the present invention also includes the following steps:
当客户端的待写入数据已经写入专用高速缓冲存储器中之后,服务器的输入输出(I/O)控制器将协调控制已写入专用高速缓冲存储器中的数据真正写入到服务器的实体磁盘中,并控制已写入专用高速缓冲存储器中的数据在预定时间内不会被置换到专用高速缓冲存储器之外,以满足短期内的数据读取需求。客户端在所有数据写入高速缓冲存储器后就认为写入操作已经完成。After the client's data to be written has been written into the dedicated cache memory, the server's input and output (I/O) controller will coordinate and control the data that has been written into the dedicated cache memory to actually be written into the server's physical disk , and control that the data written in the dedicated cache memory will not be replaced out of the dedicated cache memory within a predetermined time, so as to meet short-term data reading requirements. The client considers the write operation complete when all data has been written to the cache.
另外,本发明所提供的一种多客户端的网络虚拟存储方法,还进一步包含如下步骤:In addition, a multi-client network virtual storage method provided by the present invention further includes the following steps:
当客户端需要进行数据读取操作时,首先在本地的索引表中进行查找以确定待读取的数据是否为公用数据,当待读取的数据内容的相关属性存在于索引表中时,则待读取的数据为专用数据,否则为公用数据;客户端向服务器发送数据读取指令;服务器接收到数据读取指令后,判断客户端需要读取的数据类型;当客户端需要读取的数据为公用数据时,服务器首先查找判断待读取的数据是否存储于公用高速缓冲存储器中,如果是,则从公用高速缓冲存储器中直接读取数据并返回给客户端,否则从公用数据存储区域中读取数据并存储至公用高速缓冲存储器中,然后再返回给客户端;以及当客户端需要读取的数据为专用数据时,服务器首先查找判断待读取的数据是否存储于专用高速缓冲存储器中,如果是,则从专用高速缓冲存储器中直接读取数据并返回给客户端,否则从专用数据存储区域中读取数据并存储至专用高速缓冲存储器中,然后再返回给客户端。When the client needs to read data, it first searches in the local index table to determine whether the data to be read is public data. When the relevant attributes of the data content to be read exist in the index table, then The data to be read is private data, otherwise it is public data; the client sends a data reading command to the server; after receiving the data reading command, the server determines the type of data that the client needs to read; when the client needs to read When the data is public data, the server first checks to determine whether the data to be read is stored in the public cache memory, if so, directly reads the data from the public cache memory and returns it to the client, otherwise reads the data from the public data storage area Read the data in and store it in the public cache memory, and then return it to the client; and when the data that the client needs to read is private data, the server first searches to determine whether the data to be read is stored in the private cache memory If yes, read the data directly from the dedicated cache memory and return to the client, otherwise read the data from the dedicated data storage area and store it in the dedicated cache memory, and then return to the client.
综上所述,本发明的优点在于:In summary, the advantages of the present invention are:
1、本发明的方法中多个客户端共享同一磁盘镜像,因此可以快速完成网络虚拟存储系统的部署与切换。1. In the method of the present invention, multiple clients share the same disk image, so the deployment and switching of the network virtual storage system can be quickly completed.
2、以无磁盘系统为例:假设有100个客户端,每个客户端的系统数据都要存储在服务器上,如果每个客户端系统自身需要使用2.5GB的磁盘空间,其中0.5GB为执行时需要改写的数据量。如果采用传统技术中客户端与磁盘镜像一一对应的方式共需要:100×2.5=250GB的磁盘空间,而采用本发明的方法中的区分公用与专用数据存储区域的方式共需要:2+100×0.5=52GB的磁盘空间,其中共节省了(250-52)÷250=79.2%的磁盘空间,因此采用本发明的方法有效减少了客户端系统所需的数据存储空间,节约了整套存储系统中的硬件磁盘空间及其维护成本。2. Take the diskless system as an example: Assume that there are 100 clients, and the system data of each client must be stored on the server. If each client system itself needs to use 2.5GB of disk space, 0.5GB is the execution time The amount of data that needs to be overwritten. If adopting the mode of one-to-one correspondence between the client and the disk image in the traditional technology requires: 100*2.5=250GB of disk space, and adopts the method of distinguishing public and dedicated data storage areas in the method of the present invention and requires: 2+100 × 0.5=52GB of disk space, which saves (250-52)÷250=79.2% of the disk space, so the method of the present invention effectively reduces the required data storage space of the client system and saves the entire storage system The hardware disk space and its maintenance cost in .
3、由于本发明的方法可依据应用配置将一个公用数据存储区域加载至服务器上,并为公用数据存储区域的数据存储对应配置公用高速缓冲存储器(Cache),因此,不仅满足了多个客户端对公用数据的并行读取需求,而且通过公用高速缓冲存储器,只需要一次性将数据读取进来,由于各个客户端执行的数据读取操作非常相似,则后续数据读取的命中率将大大提高,进而将公用数据的读取速度提高到接近于内部存储器的数据读取速度,大大提高了客户端对公用数据的访问和读取速度。3. Since the method of the present invention can load a public data storage area onto the server according to the application configuration, and configure a public high-speed cache memory (Cache) correspondingly for the data storage of the public data storage area, it not only satisfies the needs of multiple clients There is a need for parallel reading of public data, and through the public cache memory, the data only needs to be read in once. Since the data reading operations performed by each client are very similar, the hit rate of subsequent data reading will be greatly improved , and then increase the reading speed of the public data to be close to the data reading speed of the internal memory, greatly improving the access and reading speed of the public data by the client.
4、同时,由于本发明的方法可依据客户端的数量动态地对应配置多个专用数据存储区域,且分别为各个专用数据存储区域的数据存储对应配置专用高速缓冲存储器(Cache),因此,能够对客户端读取和写入的专用数据进行缓冲,减少了单一客户端的等待时间,同时加快了数据的读写速度并且减少了数据写入后再次读出的磁盘操作时间及用户等待时间。对整个系统而言快速写入则降低了客户端写入操作的平均等待时间。4. Simultaneously, because the method of the present invention can dynamically correspondingly configure a plurality of special-purpose data storage areas according to the quantity of clients, and respectively configure special-purpose high-speed memory (Cache) correspondingly for the data storage of each special-purpose data storage area, therefore, can The dedicated data read and written by the client is buffered, which reduces the waiting time of a single client, speeds up the reading and writing of data, and reduces the disk operation time and user waiting time for reading out data after writing. Fast writes reduce the average wait time for client write operations for the entire system.
5、由于本发明的方法采用同读不同写的数据存取方式,不同客户端对公用数据存储区域的数据改写请求都会转入各自相应的专用数据存储区域,这样原有的公用数据始终都不会被破坏,避免了传统技术中不同客户端先写后读出现的数据差错问题,进而既保证了公用数据的安全可靠又确保了各个客户端的专用数据的互不干扰。5. Since the method of the present invention adopts the data access mode of same reading and different writing, the data rewriting requests of different clients to the public data storage area will be transferred to respective corresponding dedicated data storage areas, so that the original public data will not be changed all the time. It will be destroyed, avoiding the data error problem that different clients write first and then read in the traditional technology, thereby not only ensuring the safety and reliability of public data but also ensuring that the private data of each client does not interfere with each other.
附图说明Description of drawings
图1为本发明的一种多客户端的网络虚拟存储方法所运行的系统的系统框图;Fig. 1 is a system block diagram of a system operated by a multi-client network virtual storage method of the present invention;
图2为本发明的一种多客户端的网络虚拟存储方法的方法流程图;以及Fig. 2 is a method flowchart of a multi-client network virtual storage method of the present invention; and
图3为本发明的一种多客户端的网络虚拟存储方法中当客户端进行数据读取操作时的方法流程图。FIG. 3 is a flow chart of the method when the client performs a data reading operation in a multi-client network virtual storage method according to the present invention.
主要附图标记说明:Explanation of main reference signs:
10 服务器10 servers
20 客户端20 clients
30 公用数据存储区域30 public data storage area
40 专用数据存储区域40 dedicated data storage areas
50 公用高速缓冲存储器50 public caches
60 专用高速缓冲存储器60 dedicated cache memory
70 索引表70 index table
步骤100服务器依据应用配置将一个公用数据存储区域加载至服务器上,同时依据客户端的数量动态地对应配置多个专用数据存储区域
步骤101为公用数据的存储配置一个公用高速缓冲存储器,并分别为各客户端专用数据的存储对应配置一个专用高速缓冲存储器
步骤102在索引表中记录待写入数据内容的相关属性
步骤103将数据写入指令及待写入数据发送给服务器
步骤104判断专用高速缓冲存储器的数据写入空间是否已满
步骤105将专用高速缓冲存储器中的数据内容置换出一部分
步骤106将待写入数据写入专用高速缓冲存储器中
步骤107判断待写入数据是否已经全部写入专用高速缓冲存储器
步骤108协调控制已写入的数据写入到服务器的实体磁盘中,并控制已写入的数据在预定时间内不被置换到专用高速缓冲存储器之外Step 108 coordinates and controls the written data to be written into the physical disk of the server, and controls the written data not to be replaced outside the dedicated cache memory within a predetermined time
步骤200在索引表中查找以确定待读取的数据是否为公用数据Step 200 searches the index table to determine whether the data to be read is public data
步骤201客户端向服务器发送数据读取指令Step 201: the client sends a data read command to the server
步骤202判断需要读取的数据是否为公用数据Step 202 judges whether the data to be read is public data
步骤203判断待读取数据是否存储于公用高速缓冲存储器中Step 203 judges whether the data to be read is stored in the common cache memory
步骤204判断待读取数据是否存储于专用高速缓冲存储器中Step 204 judges whether the data to be read is stored in a dedicated cache memory
步骤205从公用高速缓冲存储器中直接读取数据Step 205 directly reads data from the common cache memory
步骤206从公用数据存储区域中读取数据并存储至公用高速缓冲存储器中Step 206: Read data from the common data storage area and store it in the common cache memory
步骤207从专用高速缓冲存储器中直接读取数据Step 207 directly reads data from the dedicated cache memory
步骤208从专用数据存储区域中读取数据并存储至专用高速缓冲存储器中Step 208 reads data from the dedicated data storage area and stores it in the dedicated cache memory
步骤209将读取的数据返回给客户端Step 209 returns the read data to the client
具体实施方式Detailed ways
以下,将结合附图对本发明的较佳实施方式作详细说明。Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
请参考图1及图2,图1为本发明的一种多客户端的网络虚拟存储方法所运行的系统的系统框图。图2为本发明的一种多客户端的网络虚拟存储方法的方法流程图,如图1及图2所示,本发明的一种多客户端的网络虚拟存储方法,用以在具有一个服务器10及多个客户端20的区域网络虚拟存储系统中实现对多个客户端数据的网络虚拟存储的加速及优化,此方法包含以下步骤:Please refer to FIG. 1 and FIG. 2 . FIG. 1 is a system block diagram of a system in which a multi-client network virtual storage method of the present invention operates. Fig. 2 is a method flow chart of a multi-client network virtual storage method of the present invention, as shown in Fig. 1 and Fig. 2 , a multi-client network virtual storage method of the present invention is used to have a
系统启动后,在步骤100,服务器10依据应用配置将一个公用数据存储区域30加载至服务器10的磁盘上,同时,在服务器10的磁盘上依据客户端20的数量动态地对应配置多个专用数据存储区域40;After the system starts, in
在步骤101,服务器10为公用数据存储区域30的数据存储对应配置一个公用高速缓冲存储器50,并且分别为各个专用数据存储区域40的数据存储对应配置一个专用高速缓冲存储器60;In
当客户端20需要进行数据写入操作时,首先在步骤102,在本地的索引表70中记录待写入数据内容的相关属性以备将来读取时查找,然后在步骤103将所有数据写入指令及待写入数据由网络发送给服务器10;When the
服务器10收到数据写入指令及待写入数据后,在步骤104,实时判断客户端20的专用高速缓冲存储器60的数据写入空间是否已满,如果未满,则在步骤106将待写入的数据写入专用高速缓冲存储器60中,然后执行步骤107;如果已满,则在步骤105由服务器10上的一个输入输出(I/O)控制器(附图中未示出)先将专用高速缓冲存储器60中的数据内容置换出一部分之后,再执行步骤106;After the
在步骤107判断客户端20的待写入数据是否已经全部写入专用高速缓冲存储器60中,如果是,则执行步骤108,否则返回步骤104,其中当所有待写入数据都写入并存储于专用高速缓冲存储器60中以后,客户端即认为数据写入操作已经结束,进而可以进入其自身其它的处理工作当中;In
当客户端20的待写入数据已经全部写入专用高速缓冲存储器60中之后,在步骤108,服务器10的输入输出(I/O)控制器将协调控制将已写入专用高速缓冲存储器60中的数据真正写入到服务器10的实体磁盘中,并控制已写入专用高速缓冲存储器60中的数据在预定时间内不会被置换到专用高速缓冲存储器60之外,因此,当相应的客户端20很快地要对刚刚写入的数据进行读取时,可以直接由专用高速缓冲存储器60中读出即可,省去了再由磁盘读出的操作时间,一定程度上加快了数据的读取速度。After the data to be written in the
在上述本发明的一种多客户端的网络虚拟存储方法中,由于高速缓冲存储器的数据写入速度远远高于实际的实体硬盘,所以对客户端而言相当于使用了写入速度更高的硬盘,从而提高了数据写入速度,此外当一个第一客户端要写入数据时有可能一个第二客户端正在向磁盘中写入数据,加入高速缓冲存储器后第一客户端无需与其它客户端共享磁盘设备而只需将数据写入到其专用高速缓冲存储器60中即可。而对于各个客户端写入专用高速缓冲存储器中的数据何时能够真正地写入到服务器的实体磁盘中,则会由服务器的输入输出(I/O)控制器进行后续的协调处理,在此不再赘述。In the above-mentioned multi-client network virtual storage method of the present invention, since the data writing speed of the cache memory is much higher than the actual physical hard disk, it is equivalent to using a higher writing speed for the client. Hard disk, thereby improving the data writing speed, in addition, when a first client wants to write data, a second client may be writing data to the disk, after adding the cache memory, the first client does not need to communicate with other clients It only needs to write data into its dedicated high-
现在请参考图3,图3为上述本发明的一种多客户端的网络虚拟存储方法中当客户端进行数据读取操作时的方法流程图,如图1及图3所示,本发明的一种多客户端的网络虚拟存储方法,可更进一步包含如下步骤:Please refer to FIG. 3 now. FIG. 3 is a flow chart of the method when the client performs a data reading operation in the above-mentioned multi-client network virtual storage method of the present invention. As shown in FIG. 1 and FIG. 3 , a method of the present invention A multi-client network virtual storage method may further include the following steps:
当一个客户端20需要进行数据读取操作时,首先在步骤200,在本地的索引表70中进行查找以确定待读取的数据是否为公用数据,当待读取的数据内容的相关属性存在于索引表70中时,则证明待读取的数据曾经被修改过,为专用数据,否则为公用数据;When a
在步骤201,客户端20向服务器10发送数据读取指令;In
在步骤202,服务器10接收到数据读取指令后,判断客户端20需要读取的数据类型是否为公用数据;In
当客户端20需要读取的数据为公用数据时,服务器10首先在步骤203查找判断待读取的数据是否存储于公用高速缓冲存储器50中,如果是,则在步骤205从公用高速缓冲存储器50中直接读取数据,然后在步骤209将读取的数据返回给客户端20,如果公用高速缓冲存储器50中没有存储待读取的数据,则在步骤206从公用数据存储区域30中读取数据并存储至公用高速缓冲存储器50中,然后再在步骤209将读取的数据返回给客户端20,因为对于相同的应用需求而言,在同一工作时间段内通常要读取大量相同的数据内容,如果放在公用数据存储区域30(即公用磁盘空间)中则需要对磁盘进行反复的读取操作,如此便限制了数据的获取速度,而采用本发明的方法中的公用高速缓冲存储器的方式,只需要一次性将数据读取进来,由于各个客户端20所要执行的数据读取操作非常相似,则后续数据读取的命中率将大大提高,从而将公用数据的读取速度提高到接近于内部存储器的数据读取速度,公用高速缓冲存储器越大则数据读取速度越快;When the data that the client 20 needs to read is public data, the server 10 first searches and judges whether the data to be read is stored in the public cache memory 50 in step 203, and if so, then in step 205, from the public cache memory 50 Directly read data in, then in step 209, the data read is returned to client 20, if do not store the data to be read in public cache memory 50, then in step 206, read data from public data storage area 30 and stored in the common cache memory 50, and then the read data is returned to the client 20 in step 209, because for the same application requirements, a large amount of same data content is usually read in the same working time period , if it is placed in the public data storage area 30 (i.e. public disk space), it is necessary to repeatedly read the disk, which limits the speed of data acquisition, and adopts the mode of the public cache memory in the method of the present invention , it is only necessary to read the data once, since the data reading operations to be performed by each client 20 are very similar, the hit rate of subsequent data reading will be greatly improved, thereby increasing the reading speed of public data to close to The data reading speed of the internal memory, the larger the public cache memory, the faster the data reading speed;
对于读取专用数据的步骤流程则与读取公用数据时相类似,当客户端20需要读取的数据为专用数据时,服务器10首先在步骤204查找判断待读取的数据是否存储于专用高速缓冲存储器60中,如果是,则在步骤207从专用高速缓冲存储器60中直接读取数据,然后在步骤209将读取的数据返回给客户端20,如果专用高速缓冲存储器60中没有存储待读取的数据,则在从步骤208专用数据存储区域40中读取数据并存储至专用高速缓冲存储器60中,然后再在步骤209将读取的数据返回给客户端20。The step flow for reading private data is similar to that of reading public data. When the data that the
上述本发明的一种多客户端的网络虚拟存储方法,在客户端进行数据读取操作的进程中,在访问和读取高速缓冲存储器中的数据的同时还会依据不同数据的具体访问及读取情况加以记录,并由服务器的输入输出(I/O)控制器按照所记录的访问及读取频率选取高速缓冲存储器中存储的数据进行换入换出的操作以增加客户端直接在高速缓冲存储器中查找到并读取所需数据的命中率。In the above-mentioned multi-client network virtual storage method of the present invention, in the process of data reading operation by the client, while accessing and reading the data in the cache memory, it will also be based on the specific access and reading of different data. The situation is recorded, and the input and output (I/O) controller of the server selects the data stored in the cache memory according to the recorded access and read frequency to perform swap-in and swap-out operations to increase the client's direct access to the cache memory. Find and read the hit rate of the required data.
虽然本发明以前述的较佳实施方式揭示如上,然而其并非用以限定本发明。本领域技术人员应当意识到在不脱离本发明所附权利要求范围所揭示的本发明的范围和精神的情况下,所进行的改动与修改,均属本发明的专利保护范围之内。关于本发明的保护范围请参考所附权利要求。Although the present invention is disclosed above with the aforementioned preferred embodiments, they are not intended to limit the present invention. Those skilled in the art should realize that without departing from the scope and spirit of the present invention disclosed in the scope of the appended claims of the present invention, all changes and modifications are within the scope of patent protection of the present invention. For the protection scope of the present invention, please refer to the appended claims.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101646971A CN101202758B (en) | 2006-12-14 | 2006-12-14 | Network virtual storage method of multiple clients |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101646971A CN101202758B (en) | 2006-12-14 | 2006-12-14 | Network virtual storage method of multiple clients |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101202758A CN101202758A (en) | 2008-06-18 |
CN101202758B true CN101202758B (en) | 2010-08-25 |
Family
ID=39517718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006101646971A Active CN101202758B (en) | 2006-12-14 | 2006-12-14 | Network virtual storage method of multiple clients |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101202758B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106331148A (en) * | 2016-09-14 | 2017-01-11 | 郑州云海信息技术有限公司 | A cache management method and device for client data reading |
CN108446399B (en) * | 2018-03-29 | 2021-07-30 | 重庆大学 | A dynamic storage optimization method for structured massive real-time data |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6453404B1 (en) * | 1999-05-27 | 2002-09-17 | Microsoft Corporation | Distributed data cache with memory allocation model |
CN1506840A (en) * | 2002-12-09 | 2004-06-23 | 联想(北京)有限公司 | Method of utilizing virtual equipment file system in expanding memory capacity of movable device |
CN1696914A (en) * | 2004-05-11 | 2005-11-16 | 深圳市朗科科技有限公司 | Method and device for remote storing data |
CN1862476A (en) * | 2006-04-19 | 2006-11-15 | 华中科技大学 | Super large capacity virtual magnetic disk storage system |
-
2006
- 2006-12-14 CN CN2006101646971A patent/CN101202758B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6453404B1 (en) * | 1999-05-27 | 2002-09-17 | Microsoft Corporation | Distributed data cache with memory allocation model |
CN1506840A (en) * | 2002-12-09 | 2004-06-23 | 联想(北京)有限公司 | Method of utilizing virtual equipment file system in expanding memory capacity of movable device |
CN1696914A (en) * | 2004-05-11 | 2005-11-16 | 深圳市朗科科技有限公司 | Method and device for remote storing data |
CN1862476A (en) * | 2006-04-19 | 2006-11-15 | 华中科技大学 | Super large capacity virtual magnetic disk storage system |
Also Published As
Publication number | Publication date |
---|---|
CN101202758A (en) | 2008-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102467408B (en) | Method and device for accessing data of virtual machine | |
KR101246982B1 (en) | Using external memory devices to improve system performance | |
JP5813375B2 (en) | Reduce latency associated with response to requests in storage systems | |
JP5276218B2 (en) | Convert LUNs to files or files to LUNs in real time | |
CN101419535B (en) | Distributed virtual disk system for virtual machines | |
CN101252589B (en) | Data buffer apparatus and network storage system using the same and buffer method | |
US8392670B2 (en) | Performance management of access to flash memory in a storage device | |
US20040162958A1 (en) | Automated on-line capacity expansion method for storage device | |
CN104267912A (en) | NAS (Network Attached Storage) accelerating method and system | |
TW202349214A (en) | Address translation prefetching for input/output devices | |
CN112052291A (en) | Method and system for accessing distributed block storage system by user mode | |
KR20170002866A (en) | Adaptive Cache Management Method according to the Access Chracteristics of the User Application in a Distributed Environment | |
CN110543433A (en) | A hybrid memory data migration method and device | |
CN107562645A (en) | A memory page management method and computing device | |
CN111124302B (en) | SAN shared file storage and archiving method and system | |
WO2017126003A1 (en) | Computer system including plurality of types of memory devices, and method therefor | |
KR20200135715A (en) | Method, apparatus, device and medium for processing data | |
CN101202758B (en) | Network virtual storage method of multiple clients | |
CN117806570B (en) | Online memory expansion method, device, equipment and storage medium | |
CN118519584A (en) | Acceleration system, method, equipment and storage medium for block storage equipment | |
TW202449615A (en) | Devices and methods for cache operation in storage devices | |
US11960419B2 (en) | Systems and methods for data prefetching for low latency data read from a remote server | |
CN116774925A (en) | Disk storage system, method and server | |
CN115525219A (en) | Object data storage method, device and medium | |
CN104424124A (en) | Memory device, electronic equipment and method for controlling memory device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
ASS | Succession or assignment of patent right |
Owner name: I VALLEY HOLDINGS CO., LTD. Free format text: FORMER OWNER: YINGYEDA CO., LTD., TAIWAN Effective date: 20150730 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20150730 Address after: Cayman Islands, George Town Patentee after: IValley Holding Co., Ltd. Address before: Taipei City, Taiwan, China Patentee before: Inventec Corporation |