CN106033369A - A memory device using method and device - Google Patents

A memory device using method and device Download PDF

Info

Publication number
CN106033369A
CN106033369A CN201510105048.3A CN201510105048A CN106033369A CN 106033369 A CN106033369 A CN 106033369A CN 201510105048 A CN201510105048 A CN 201510105048A CN 106033369 A CN106033369 A CN 106033369A
Authority
CN
China
Prior art keywords
storage device
virtual
unit
virtual unit
virtual machine
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.)
Pending
Application number
CN201510105048.3A
Other languages
Chinese (zh)
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201510105048.3A priority Critical patent/CN106033369A/en
Publication of CN106033369A publication Critical patent/CN106033369A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a memory device using method and device. The method is applied to a computer which is provided with at least two virtual machines. The method comprises the steps of identifying a memory device connected to the computer; virtualizing the identified memory device into a plurality of virtual devices, wherein the number of the virtual devices obtained through virtualization is greater than or equal to the number of the virtual machines arranged on the computer; receiving a using request sent by a virtual machine requesting using of the memory device; according to the using request sent by the virtual machine requesting using of the memory device, selecting at least one non-hitched virtual device from the multiple virtual devices; hitching the selected at least one non-hitched virtual device to the virtual machine requesting using of the memory device. According to the invention, multiple virtual machines can propose requests for using a memory device connected to a computer at the same time, so that the using efficiency of memory devices is increased and the operation of using memory devices is simplified.

Description

Storage device using method and device
Technical field
The present invention relates to field of computer technology, particularly to a kind of storage device using method and device.
Background technology
Along with the development of computer technology, simple dependence hardware processes data and computer can be caused to run into Sharply increasing of this.In order to reduce the operating cost of computer, use software simulation the most on computers Going out virtual machine, this virtual machine is the computer system with complete hardware system function.When on computer Virtual machine request use be connected with this computer storage device (such as to insertion computer USB flash disk write Enter data) time, need first this storage device to be articulated on this virtual machine, then virtual machine just can make Use this storage device.
But, when the multiple virtual machines on computer ask to use the storage device being connected with computer simultaneously Time, after can only waiting that one of them virtual machine makes to be finished this storage device, this storage device could be mounted To next virtual machine, so that this next virtual machine uses this storage device.As can be seen here, prior art In when virtual machines multiple in computer ask to use the storage device being connected on computer simultaneously, operation Complicated and inefficient.
Summary of the invention
In view of this, the present invention provides a kind of storage device using method and device, multiple virtual to solve Machine asks to operate complicated and inefficient problem when using storage device simultaneously.
First aspect according to embodiments of the present invention, the present invention provides a kind of storage device using method, institute Method of stating is applied on computers, and described computer is provided with at least two virtual machine, described method bag Include: identify the storage device being connected with described computer;
The described storage device that will identify that invents multiple virtual unit, the virtual unit wherein fictionalized Number more than or equal to the number of the virtual machine arranged on described computer;
The request of reception uses the use request that the virtual machine of described storage device sends;
Ask, from the plurality of according to the use that described request uses the virtual machine of described storage device to send Virtual unit is chosen at least one virtual unit not mounted;
At least one virtual unit not mounted described in choosing is articulated to described in described request use deposit On the virtual machine of storage equipment.
Second aspect according to embodiments of the present invention, the present invention provides a kind of storage device to use device, institute State device to apply on computers, described computer is provided with at least two virtual machine, described device bag Include: recognition unit, for identifying the storage device being connected with described computer;
Dummy unit, invents multiple virtual unit, Qi Zhongxu for the described storage device that will identify that The number of the virtual unit drawn up is more than or equal to the number of the virtual machine arranged on described computer;
Receive unit, for receiving the use request that request uses the virtual machine of described storage device to send;
Choose unit, for making of sending according to the described virtual machine receiving the request described storage device of use With request, from the plurality of virtual unit, choose at least one virtual unit not mounted;
Mounting unit, at least one virtual unit not mounted described in will choose is articulated to described Request uses on the virtual machine of described storage device.
In sum, owing to have employed technique scheme, the invention has the beneficial effects as follows:
In the embodiment of the present invention, the embodiment of the present invention is by inventing the storage device being connected with computer Multiple virtual units, during so that multiple virtual machines on computers ask to use this storage device simultaneously, The request that is articulated to by the virtual unit chosen from the multiple virtual units fictionalized uses this storage device On virtual machine, thus can realize the multiple virtual machines on computer and use this storage device simultaneously, thus The service efficiency of storage device can be improved, and simplify the operation using storage device.
Accompanying drawing explanation
Fig. 1 is that the application embodiment of the present invention realizes the application scenarios schematic diagram that storage device uses;
Fig. 2 is an embodiment flow chart of storage device using method of the present invention;
Fig. 3 is an embodiment block diagram of storage device virtual result of the present invention;
Fig. 4 is a kind of hardware structure diagram that storage device of the present invention uses device place equipment;
Fig. 5 is the embodiment block diagram that storage device of the present invention uses device.
Detailed description of the invention
For the technical scheme making those skilled in the art be more fully understood that in the embodiment of the present invention, and make The above-mentioned purpose of the embodiment of the present invention, feature and advantage can become apparent from understandable, the most right In the embodiment of the present invention, technical scheme is described in further detail.
See Fig. 1, realize, for the application embodiment of the present invention, the application scenarios schematic diagram that storage device uses. In Fig. 1, computer can be computer and server etc., and this storage device can be USB flash disk and USB (Universal Serial Bus, USB (universal serial bus)) disks etc., this storage device is connected with this computer. Being provided with multiple virtual machine on that computer and storage device uses device, this computer is for for virtual Machine provides hardware environment, and this storage device uses device for being connected to this calculating in virtual machine request use During storage device on machine, this storage device is articulated on this virtual machine.
In embodiments of the present invention, ask use to be connected to calculate when the multiple virtual machines in computer simultaneously During storage device on machine, storage device uses device first this storage device can be invented multiple void Proposing standby, the request that is then articulated to by the virtual unit chosen from the multiple virtual units fictionalized uses On the virtual machine of this storage device, thus the present invention can realize multiple virtual machine and ask use connection simultaneously Storage device on computer, such that it is able to improve the service efficiency of storage device, and simplifies use The operation of storage device.
See Fig. 2, for the flow chart of an embodiment of storage device using method of the present invention, the method Application on computers, this computer is provided with at least two virtual machine, may comprise steps of:
The storage device that step 201, identification are connected with computer.
In a preferred embodiment of the invention, the USB of computer is inserted when the storage device of such as USB flash disk During interface, storage device uses device can be identified this storage device, and bullet after identifying successfully Go out the first dialog box for the virtual mode of storage device is selected.In the present embodiment, this is deposited The virtual mode of storage equipment can include virtualizing storage device according to subdirectory and depositing according to son This storage device is virtualized by storage area territory.Accordingly, this first dialog box can include " according to Sub-directory virtual " and " virtual according to sub-storage areas " two options.
Step 202, the storage device that will identify that invent multiple virtual unit, the void wherein fictionalized Propose the standby number number more than or equal to the virtual machine arranged on computer.
In a preferred embodiment of the invention, storage device use device can according to user select virtual Mode, the storage device that will identify that invents multiple virtual unit, and each virtual setting of making to fictionalize For being respectively provided with a mounting information.Preferably, this mounting information can include device bus and device identification Information, this device bus can be the bus that storage device uses device to be virtual unit configuration, virtual sets Standby by the device bus of its correspondence can to carry out information mutual with external equipment;This equipment identification information can To be that storage device uses the device number that configure for virtual unit of device, storage device uses device by empty Propose standby device number and this virtual unit can be carried out identification.It addition, storage device uses device In order to different virtual units makes a distinction identification, storage device uses device to different virtual units Device bus and the equipment identification information of configuration at least one different.
When user selects to virtualize storage device according to subdirectory, storage device use device can Be first according to such as FAT32 (32bit File Allocation Table, 32 file configuration table) and The file system type of NTFS (New Technology File System, New Technology File System) etc., This storage device is formatted, thus creates root for this storage device.Such as, storage device Use device according to the type of the file system of such as NTFS, this storage device can be formatted, Thus create root " computer/portable hard drive (G :) " for this storage device.Root in storage device After directory creating completes, storage device use device can be under the root of storage device, by such as In storage device, create the mode of multiple new folder, create multiple subdirectories for this storage device.Example As, after user selects the option of " according to sub-directory virtual " in the first dialog box, storage device makes Can eject the second dialog box for creating subdirectory for this storage device with device, user can pass through This second dialog box creates title in storage device and is respectively " file 1 ", " file 2 " and " literary composition Part folder 3 " three files, thus can under the root of storage device, for storage device create Build multiple subdirectory: " computer/portable hard drive (G :)/file 1 ", " computer/portable hard drive (G :)/file 2 " and " computer/portable hard drive (G :)/file 3 ".Son in storage device After directory creating completes, it is more than or equal on computer set in the number ensureing the virtual unit fictionalized On the premise of the number of the virtual machine put, storage device use device can be at least one son created Catalogue, fictionalizes a virtual unit, and wherein storage device use device can be for the son created Catalogue, fictionalizes a virtual unit, it is also possible to for the multiple subdirectories created, fictionalize a void Propose standby.Such as, when being provided with two virtual machines on computer, storage device use device can be with pin To three subdirectories created in above-mentioned example, fictionalize a virtual unit respectively, see Fig. 3, pin To subdirectory " computer/portable hard drive (G :)/file 1 ", storage device uses device to fictionalize the One virtual unit, the device bus that this first virtual unit is corresponding is 006, and device number is 002;For son Catalogue " computer/portable hard drive (G :)/file 2 ", it is empty that storage device uses device to fictionalize second Proposing standby, the device bus that this second virtual unit is corresponding is 006, and device number is 003;For subdirectory " computer/portable hard drive (G :)/file 3 ", storage device uses device to fictionalize the 3rd and virtual sets Standby, the device bus that the 3rd virtual unit is corresponding is 006, and device number is 004.Certainly, storage device Use device can also just in above-mentioned example create two subdirectories, fictionalize respectively one virtual Equipment, such as, for subdirectory " computer/portable hard drive (G :)/file 1 ", fictionalize a void Propose standby, for subdirectory " computer/portable hard drive (G :)/file 2 ", fictionalize another empty Propose standby.It addition, storage device uses device to can also be for two subdirectories created in above-mentioned example, Fictionalize a virtual unit, for a remaining subdirectory, fictionalize a virtual unit, such as For subdirectory " computer/portable hard drive (G :)/file 1 " and subdirectory, " computer/movement is hard Dish (G :)/file 2 ", fictionalize a virtual unit, for subdirectory " computer/portable hard drive (G :)/file 3 " fictionalize another virtual unit.
When user selects to virtualize storage device according to sub-storage areas, storage device uses dress Put the division rule that can be first according to preset or be manually set, this storage device is divided into many height Memory area;Then it is more than or equal on computer arrange in the number ensureing the virtual unit fictionalized Virtual machine number on the premise of, at least one sub-storage areas, fictionalize a virtual unit, Wherein storage device uses device can to fictionalize one virtual set for the sub-storage areas created Standby, it is also possible to for the multiple sub-storage areas created, to fictionalize a virtual unit.Such as, when depositing The division rule that storage equipment uses device to preset is deposited for storage device being divided into two sons according to memory capacity During storage area territory, storage device uses device the storage device that memory capacity is 4G can be divided into two Memory capacity is the sub-storage areas of 2G, and for one of them sub-storage areas, fictionalizes first empty Proposing standby, the device bus of this first virtual unit can be 005, and device number can be 002;For separately One sub-storage areas, fictionalizes the second virtual unit, and the device bus of this second virtual unit can be 007, device number can be 003.For another example, select " according to subpool in the first dialog box as user Territory is virtual " option after, storage device use device can eject for this storage device is divided into many 3rd dialog box of individual sub-storage areas, can include " quantity of sub-storage areas " in the 3rd dialog box And " memory capacity of sub-storage areas " setting options etc..User is by being somebody's turn to do " the number of sub-storage areas Amount " setting options, storage device can be divided into the sub-storage areas setting quantity, and by being somebody's turn to do " memory capacity of sub-storage areas " setting options, can be to the storage of each sub-storage areas set Capacity is configured.
Step 203, the request of reception use the use request that the virtual machine of this storage device sends.
Step 204, the use using the virtual machine of this storage device to send according to request are asked, from multiple Virtual unit is chosen at least one virtual unit not mounted.
In a preferred embodiment of the invention, send out when storage device uses device to receive only a virtual machine During the use request sent, storage device uses device arbitrarily can select from the multiple virtual units fictionalized Select at least one virtual unit, as the virtual unit being articulated on this virtual machine.Such as, if computer On be provided with the first virtual machine, the second virtual machine and the 3rd virtual machine, and storage device uses device to deposit Storage equipment invents the first virtual unit, the second virtual unit and the 3rd virtual unit, then when only first When virtual machine request uses this storage device, the first virtual machine can use device to send to storage device and use Request, storage device use device after receiving this use request, can from the first virtual unit, the Two virtual units and the 3rd virtual unit arbitrarily select at least one virtual unit, as be articulated to this Virtual unit on one virtual machine.
When storage device uses device to receive the use request that multiple virtual machine sends, storage device makes At least one can be selected respectively virtual for each virtual machine from the multiple virtual units fictionalized with device Equipment, as the virtual unit being articulated on corresponding virtual machine.In order to avoid each virtual unit is hung Clashing during receiving on each virtual machine, that chooses in this step is articulated to different virtual machines On virtual unit should be different.Such as, if being provided with the first virtual machine, the second virtual machine on computer With the 3rd virtual machine, and storage device use device storage device is invented the first virtual unit, second Virtual unit and the 3rd virtual unit, then ask to use storage when the first virtual machine and the second virtual machine simultaneously During equipment, the first virtual machine and the second virtual machine can use device to send to storage device respectively and use request, Storage device use device receive the two use request after, can first from the first virtual unit, Second virtual unit and the 3rd virtual unit select virtual unit virtual as being used for being articulated to first Virtual unit on machine, then another from the first virtual unit, the second virtual unit and the 3rd virtual unit One different virtual unit of outer selection is as the virtual unit for being articulated on the second virtual machine.Certainly, Storage device uses device after receiving the use request that virtual machine sends, it is also possible to many from fictionalizing Individual virtual unit selects multiple virtual unit, as the virtual unit being articulated on this virtual machine.
Further, since storage device use device is after being virtualized into multiple virtual unit by storage device, Each virtual unit is respectively provided with a mounting information, therefore to make virtual machine can use its void specified Proposing standby, storage device use device can be after being virtualized into multiple virtual unit by storage device, will Empty for representing that each virtual unit and the information of the corresponding relation of each mounting information are sent respectively to each Plan machine.When virtual machine request uses storage device, virtual machine uses making of device transmission to storage device With request can be carried its mounting information specifying the virtual unit used.Storage device uses device to exist After receiving the use request that this virtual machine sends, can be according to the mounting information used in request, by right The virtual unit answered is articulated on this virtual machine.Owing to virtual machine can use it to specify in the present embodiment Virtual unit, therefore when reading distinctive data from virtual unit, virtual machine it is unnecessary to search Go out these distinctive data and remove to travel through multiple virtual unit, and virtual machine can also write data into specific Virtual unit, thus can improve the service efficiency of storage medium.
Step 205, the request that is articulated to by least one virtual unit not mounted chosen use this to deposit On the virtual machine of storage equipment.
In a preferred embodiment of the invention, storage device use device can for choose each not by The virtual unit of mounting, first preserves the equipment identification information of the virtual unit not mounted chosen extremely On the device bus of this virtual unit not mounted chosen, the void not mounted then this chosen Proposing standby device bus to be connected with the bus of the virtual machine of request this storage device of use, thus this is virtual Equipment is articulated on this virtual machine.
If storage device uses device to virtualize storage device according to subdirectory, then work as storage device After using device to be articulated on virtual machine by virtual unit, virtual machine can use corresponding son in storage device File under catalogue.Such as, storage device uses device will be for subdirectory " computer/portable hard drive (G :)/file 1 " after the virtual unit that creates is articulated on virtual machine, virtual machine can read this son File under catalogue " computer/portable hard drive (G :)/file 1 ", and data can be written to son Under catalogue " computer/portable hard drive (G :)/file 1 ".
If storage device uses device to virtualize storage device according to sub-storage areas, then work as storage After equipment uses device to be articulated on virtual machine by virtual unit, it is right that virtual machine can use in storage device Answer the file under sub-storage areas.Such as, storage device uses device by for the first of storage device After the virtual unit that sub-storage areas creates is articulated on virtual machine, virtual machine can read this first son and deposit File in storage area territory, and data can be written in this first sub-storage areas.
As seen from the above-described embodiment, the embodiment of the present invention is virtual by the storage device being connected with computer Become multiple virtual unit, during so that multiple virtual machines on computers ask to use this storage device simultaneously, The request that is articulated to by the virtual unit chosen from the multiple virtual units fictionalized uses this storage device On virtual machine, thus can realize the multiple virtual machines on computer and use this storage device simultaneously, thus The service efficiency of storage device can be improved, and simplify the operation using storage device.
Corresponding with aforementioned storage device using method embodiment, present invention also offers storage device and use The embodiment of device.
Storage device of the present invention uses device embodiment can be realized by software, it is also possible to by hardware or The mode of software and hardware combining realizes.As a example by implemented in software, as the device on a logical meaning, it is By the processor of its place equipment, computer program instructions corresponding in nonvolatile memory is read Internal memory runs formation.For hardware view, as shown in Figure 4, use for storage device of the present invention A kind of hardware structure diagram of device place equipment, except the processor shown in Fig. 4, network interface, internal memory And outside nonvolatile memory, in embodiment, the equipment at device place generally can also include that other are hard Part, such as the forwarding chip etc. of responsible process message;This equipment from the point of view of from hardware configuration is it is also possible that be distributed The equipment of formula, potentially includes multiple interface card, in order to carry out the extension of Message processing at hardware view.
Seeing Fig. 5, use an embodiment block diagram of device for storage device of the present invention, this device is applied On computers, this computer being provided with at least two virtual machine, this device may include that
Recognition unit 510, for identifying the storage device being connected with described computer;
Dummy unit 520, invents multiple virtual unit for the described storage device that will identify that, its In the number of virtual unit that fictionalizes more than or equal to the number of the virtual machine arranged on computer;
Receiving unit 530, the use using the virtual machine of described storage device to send for receiving request please Ask;
Choose unit 540, for sending according to the described virtual machine receiving the request described storage device of use Use request, from the plurality of virtual unit, choose at least one virtual unit not mounted;
Mounting unit 550, described at least one virtual unit not mounted chosen is articulated to Request uses on the virtual machine of described storage device.
In an optional implementation,
Described choose unit 530, be additionally operable to invent multiple virtual in the described storage device that will identify that Before equipment, the virtual mode of described storage device, described virtual mode is selected to include according to subdirectory pair Described storage device carries out virtualizing and virtualizing described storage device according to sub-storage areas;
Described dummy unit 520, specifically for according to select virtual mode, will identify that described in deposit Storage equipment invents multiple virtual unit, and makes each virtual unit be respectively provided with a mounting information.
In another optional implementation,
Described dummy unit 520, specifically for the type according to file system, enters described storage device Formatting lines, thus be that described storage device creates root;Under the root of described storage device, Multiple subdirectories are created for described storage device;For described subdirectory, fictionalize multiple virtual unit.
In another optional implementation, described device can also include:
Described dummy unit 520, specifically for being divided into multiple sub-storage areas by described storage device; For described sub-storage areas, fictionalize multiple virtual unit.
In another optional implementation,
Described mounting information includes between device bus and equipment identification information, and different virtual units, Device bus and equipment identification information at least one different.
In another optional implementation,
Described mounting unit 550, specifically for for each virtual unit not mounted chosen, incites somebody to action The void not mounted chosen described in the equipment identification information preservation extremely of the virtual unit not mounted chosen Propose on standby device bus;By the device bus of the described virtual unit not mounted chosen with described Request uses the bus of the virtual machine of described storage device to connect.
In said apparatus, the function of unit and the process that realizes of effect specifically refer in said method corresponding Step realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part ginseng See that the part of embodiment of the method illustrates.Device embodiment described above is only schematically, The wherein said unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location, i.e. may be located at a place, Or can also be distributed on multiple NE.Can select according to the actual needs part therein or The whole module of person realizes the purpose of the present invention program.Those of ordinary skill in the art are not paying creativeness In the case of work, i.e. it is appreciated that and implements.
As seen from the above-described embodiment, the embodiment of the present invention is virtual by the storage device being connected with computer Become multiple virtual unit, during so that multiple virtual machines on computers ask to use this storage device simultaneously, The request that is articulated to by the virtual unit chosen from the multiple virtual units fictionalized uses this storage device On virtual machine, thus can realize the multiple virtual machines on computer and use this storage device simultaneously, thus The service efficiency of storage device can be improved, and simplify the operation using storage device.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to this Other embodiment of invention.The application is intended to any modification, purposes or the adaptability of the present invention Change, these modification, purposes or adaptations are followed the general principle of the present invention and include this Bright undocumented common knowledge in the art or conventional techniques means.Description and embodiments only by Being considered as exemplary, true scope and spirit of the invention are pointed out by claim below.
It should be appreciated that the invention is not limited in described above and illustrated in the accompanying drawings accurately Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present invention is only by institute Attached claim limits.

Claims (12)

1. a storage device using method, it is characterised in that described method is applied on computers, institute Stating and be provided with at least two virtual machine on computer, described method includes:
Identify the storage device being connected with described computer;
The described storage device that will identify that invents multiple virtual unit, the virtual unit wherein fictionalized Number more than or equal to the number of the virtual machine arranged on described computer;
The request of reception uses the use request that the virtual machine of described storage device sends;
Ask, from the plurality of according to the use that described request uses the virtual machine of described storage device to send Virtual unit is chosen at least one virtual unit not mounted;
At least one virtual unit not mounted described in choosing is articulated to described in described request use deposit On the virtual machine of storage equipment.
Method the most according to claim 1, it is characterised in that set in the described storage that will identify that Before inventing multiple virtual unit, described method also includes:
Select the virtual mode of described storage device, described virtual mode to include according to subdirectory to deposit described Storage equipment carries out virtualizing and virtualizing described storage device according to sub-storage areas;
The described described storage device that will identify that invents multiple virtual unit, including:
According to the virtual mode selected, the described storage device that will identify that invents multiple virtual unit, And make each virtual unit be respectively provided with a mounting information.
Method the most according to claim 2, it is characterised in that described according to the virtual mode selected, The described storage device that will identify that invents multiple virtual unit, including:
According to the type of file system, described storage device is formatted, thus sets for described storage Standby establishment root;
Under the root of described storage device, create multiple subdirectories for described storage device;
For at least one subdirectory, fictionalize a virtual unit.
Method the most according to claim 2, it is characterised in that described according to the virtual mode selected, The described storage device that will identify that invents multiple virtual unit, including:
Described storage device is divided into multiple sub-storage areas;
For at least one sub-storage areas, fictionalize a virtual unit.
Method the most according to claim 2, it is characterised in that described mounting information includes that equipment is total Between line and equipment identification information, and different virtual units, device bus and equipment identification information are at least There is a difference.
Method the most according to claim 5, it is characterised in that described will choose described at least one The individual virtual unit not mounted is articulated on the virtual machine of the described request described storage device of use include:
For each virtual unit not mounted chosen, by the virtual unit not mounted chosen On the device bus of the virtual unit not mounted chosen described in equipment identification information preservation extremely;
The device bus of the described virtual unit not mounted chosen is used described storage with described request The bus of the virtual machine of equipment connects.
7. a storage device uses device, it is characterised in that described device is applied on computers, institute Stating and be provided with at least two virtual machine on computer, described device includes:
Recognition unit, for identifying the storage device being connected with described computer;
Dummy unit, invents multiple virtual unit, Qi Zhongxu for the described storage device that will identify that The number of the virtual unit drawn up is more than or equal to the number of the virtual machine arranged on described computer;
Receive unit, for receiving the use request that request uses the virtual machine of described storage device to send;
Choose unit, for making of sending according to the described virtual machine receiving the request described storage device of use With request, from the plurality of virtual unit, choose at least one virtual unit not mounted;
Mounting unit, at least one virtual unit not mounted described in will choose is articulated to described Request uses on the virtual machine of described storage device.
Device the most according to claim 7, it is characterised in that
Described choose unit, be additionally operable to the described storage device will identify that and invent multiple virtual unit Before, the virtual mode of described storage device, described virtual mode is selected to include according to subdirectory described Storage device carries out virtualizing and virtualizing described storage device according to sub-storage areas;
Described dummy unit, specifically for according to the virtual mode selected, the described storage that will identify that sets For inventing multiple virtual unit, and each virtual unit is made to be respectively provided with a mounting information.
Device the most according to claim 8, it is characterised in that
Described dummy unit, specifically for the type according to file system, carries out lattice to described storage device Formula, thus be that described storage device creates root;Under the root of described storage device, for institute State storage device and create multiple subdirectories;For at least one subdirectory, fictionalize a virtual unit.
Device the most according to claim 8, it is characterised in that
Described dummy unit, specifically for being divided into multiple sub-storage areas by described storage device;For At least one sub-storage areas, fictionalizes a virtual unit.
11. devices according to claim 8, it is characterised in that described mounting information includes equipment Between bus and equipment identification information, and different virtual units, device bus and equipment identification information are extremely A rare difference.
12. devices according to claim 11, it is characterised in that described mounting unit, specifically use In for each virtual unit not mounted chosen, by setting of the virtual unit not mounted chosen On the device bus of the virtual unit not mounted chosen described in standby identification information preservation extremely;By described choosing The device bus of the virtual unit not mounted taken uses the virtual machine of described storage device with described request Bus connect.
CN201510105048.3A 2015-03-10 2015-03-10 A memory device using method and device Pending CN106033369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510105048.3A CN106033369A (en) 2015-03-10 2015-03-10 A memory device using method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510105048.3A CN106033369A (en) 2015-03-10 2015-03-10 A memory device using method and device

Publications (1)

Publication Number Publication Date
CN106033369A true CN106033369A (en) 2016-10-19

Family

ID=57150315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510105048.3A Pending CN106033369A (en) 2015-03-10 2015-03-10 A memory device using method and device

Country Status (1)

Country Link
CN (1) CN106033369A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632323A (en) * 2017-03-24 2018-10-09 广州杰赛科技股份有限公司 Virtual machine and terminal allocation of communications method, automatic connection method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008225546A (en) * 2007-03-08 2008-09-25 Nec Corp Virtual device configuration system and its method
CN101493781A (en) * 2008-01-24 2009-07-29 中国长城计算机深圳股份有限公司 Virtual machine system and start-up method thereof
CN102523251A (en) * 2011-11-25 2012-06-27 北京开拓天际科技有限公司 Cloud storage architecture for processing mass data and cloud storage platform using the same
US8438360B2 (en) * 2009-11-23 2013-05-07 Symantec Corporation Distributed storage through a volume device architecture
CN103403732A (en) * 2012-10-15 2013-11-20 华为技术有限公司 Processing method and device for input and output opeartion

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008225546A (en) * 2007-03-08 2008-09-25 Nec Corp Virtual device configuration system and its method
CN101493781A (en) * 2008-01-24 2009-07-29 中国长城计算机深圳股份有限公司 Virtual machine system and start-up method thereof
US8438360B2 (en) * 2009-11-23 2013-05-07 Symantec Corporation Distributed storage through a volume device architecture
CN102523251A (en) * 2011-11-25 2012-06-27 北京开拓天际科技有限公司 Cloud storage architecture for processing mass data and cloud storage platform using the same
CN103403732A (en) * 2012-10-15 2013-11-20 华为技术有限公司 Processing method and device for input and output opeartion

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于振南: "《嵌入式FAT32文件系统设计与实现 基于振南znFAT 下》", 30 April 2014 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632323A (en) * 2017-03-24 2018-10-09 广州杰赛科技股份有限公司 Virtual machine and terminal allocation of communications method, automatic connection method and system

Similar Documents

Publication Publication Date Title
CN104461390B (en) Write data into the method and device of imbricate magnetic recording SMR hard disks
CN106598480B (en) Electronic system and its operating method with Interface Controller mechanism
CN105653630B (en) Data migration method and device for distributed database
CN103984641B (en) A kind of memory space recovery method and its device based on simplify configuration technology
CN108595108A (en) A kind of moving method and device of data
CN106445408A (en) NAND flash memory management method, host, NAND flash memory reading and writing method, and NAND flash memory controller
CN111866209A (en) Method and equipment for distributing network card for cloud host
CN103605657A (en) Method and device for reconstructing index online
CN109299190A (en) The method and device of the metadata dealt with objects in distributed memory system
CN105824846A (en) Data migration method and device
CN106201923A (en) Method for reading and writing data and device
CN103176913B (en) Hard disk method for mapping dynamically and the server applying it
CN111026510A (en) Cross-storage thermal migration method for virtual machine in cloud environment
CN105739930A (en) Storage framework as well as initialization method, data storage method and data storage and management apparatus therefor
CN108304142A (en) A kind of data managing method and device
US9176675B1 (en) Fast-zeroing in a file system
US20170193000A1 (en) Recovering from a pending uncompleted reorganization of a data set
CN103049403B (en) Method for communication between embedded terminal device and cell phone
CN108234551A (en) A kind of data processing method and device
CN106341448A (en) Distributed storage method, device and system
CN108228099B (en) Data storage method and device
CN109375874A (en) A kind of call method of distributed storage, device and equipment
CN106033369A (en) A memory device using method and device
CN109213447A (en) A kind of SAN storage volume carry, discharging method and system
CN105373346B (en) A kind of virtualization storage method and storage 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
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information