CN110413584A - Date storage method, device, equipment and storage medium - Google Patents

Date storage method, device, equipment and storage medium Download PDF

Info

Publication number
CN110413584A
CN110413584A CN201910675356.8A CN201910675356A CN110413584A CN 110413584 A CN110413584 A CN 110413584A CN 201910675356 A CN201910675356 A CN 201910675356A CN 110413584 A CN110413584 A CN 110413584A
Authority
CN
China
Prior art keywords
data block
physical machine
carry
storing data
storage
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.)
Granted
Application number
CN201910675356.8A
Other languages
Chinese (zh)
Other versions
CN110413584B (en
Inventor
鲍国栋
陈记星
仇大玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Huayun Data Technology Service Co Ltd
Original Assignee
Wuxi Huayun Data Technology Service 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 Wuxi Huayun Data Technology Service Co Ltd filed Critical Wuxi Huayun Data Technology Service Co Ltd
Priority to CN201910675356.8A priority Critical patent/CN110413584B/en
Publication of CN110413584A publication Critical patent/CN110413584A/en
Application granted granted Critical
Publication of CN110413584B publication Critical patent/CN110413584B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application provides a kind of date storage method, device, equipment and storage mediums, belong to field of cloud calculation.The date storage method includes: the creation storing data block in distributed file system;The destination carrier for determining storing data block described in carry is physical machine;The storing data block is converted into the data block of disc driver performance test, and by the data block carry to the physical machine.Data block in distributed file system is mounted in physical machine by the application, so that user stores, without the use of the storage resource of physical machine itself, it can make when the disk failures in physical machine off line or physical machine, the resource of storage within the data block will not still lose, and then effectively ensure the reliability of data;And then it can be realized the reliability for guaranteeing data in the case where economizing on resources expense.

Description

Date storage method, device, equipment and storage medium
Technical field
This application involves field of cloud calculation, in particular to date storage method, device, equipment and storage medium.
Background technique
With the rapid development of cloud computing, upper business is continuously increased, for calculating, network, IO (Input/Output, it is defeated Enter/export) require it is higher and higher, by physical machine (bare machine) directly as deliver resource requirement it is increasing, each cloud platform Oneself constantly online physical machine service, directly provides the high performance physical machine resource of user.But physical machine is as hardware resource, There is natural deficiency in the reliability of data, backup.
Current each cloud platform is that the mode for solving reliability and backup that physical machine resource is directly delivered mainly has hardware Raid, network raid and three kinds of schemes such as back up in realtime, however, hardware raid increases hardware cost, and in physical machine delay machine Data can not be obtained in real time.Requirement of the network raid to network is too high, is affected to overall cost.And framework reality of backing up in realtime Existing difficulty is larger, and the requirement for network is equally bigger.Therefore, how in the case where economizing on resources expense to guarantee data Reliability.
Summary of the invention
In view of this, date storage method provided by the embodiments of the present application, device, equipment and storage medium, can save Guarantee the reliability of data about in the case where resource overhead.
In a first aspect, a kind of date storage method provided by the embodiments of the present application, which comprises in distributed document Storing data block is created in system;The destination carrier for determining storing data block described in carry is physical machine;By the storing data Block is converted into the data block of disc driver performance test, and by the data block carry to the physical machine.
During above-mentioned realization, due to being that the data block in distributed file system is mounted to physical machine in the application On, so that user stores, without the use of the storage resource of physical machine itself, can to work as physical machine off line or physical machine On disk failures when, the resource stored within the data block will not still lose, and then effectively ensure the reliabilities of data;Into And it can be realized the reliability for guaranteeing data in the case where economizing on resources expense.
With reference to first aspect, the embodiment of the present application provides the first possible embodiment of first aspect, described to incite somebody to action The storing data block is converted into the data block of disc driver performance test, comprising: is connect by minicomputer system The block storage service protocol conversion of the storing data block is the data block of disc driver performance test by mouth gateway.
During above-mentioned realization, by carrying out protocol conversion to storing data block, and by the data block after translation-protocol It is mounted in physical machine, on the one hand, it can make every physical machine that can only see the data block of itself institute's carry, and it cannot be seen that not having There are other data blocks of carry in the physical machine, and then effectively realize the isolation of data, ensure that the safety of data;It is another Aspect, due to being that the data block in distributed file system is mounted in physical machine in the application, so that user stores, It without the use of the storage resource of physical machine itself, can make when the disk failures in physical machine off line or physical machine, store Resource within the data block will not still lose, and then effectively ensure the reliability of data;Further, physics is also solved Machine be locally stored it is not flexible, be difficult to the technical issues of backing up.
With reference to first aspect, the embodiment of the present application provides second of possible embodiment of first aspect, described true The destination carrier for determining storing data block described in carry is physical machine, comprising: obtains the mounting instructions of user's input;According to the extension Carrying and instructing the destination carrier for determining storing data block described in carry is the physical machine.
During above-mentioned realization, by the mounting instructions for obtaining user's input;To be determined according to the mounting instructions The destination carrier of storing data block described in carry is the physical machine, to realize accurate determining destination carrier.
Any one embodiment in second of first aspect extremely possible embodiment with reference to first aspect, this Application embodiment provides the third possible embodiment of first aspect, the method also includes: obtain user's input Unloading command;Data block corresponding with the unloading command in the physical machine is unloaded;By the data block after unloading with State to be used is returned to the distributed file system.
During above-mentioned realization, by obtaining the unloading command of user's input, thus by data block from destination carrier Unloading, to be that data block comes back to distributed file system, and then improves resource multiplex rate.
The third possible embodiment with reference to first aspect, the embodiment of the present application provide the 4th kind of first aspect Possible embodiment, the method also includes: the destination carrier for determining storing data block described in carry is virtual machine;It will be described Storing data block carry is to the virtual machine.
During above-mentioned realization, since the storing data block carry that will unload from physical machine to the void can be passed through Quasi- machine, carries out data sharing so as to realize between physical machine and virtual machine.
Second aspect, a kind of data storage device provided by the embodiments of the present application, described device includes: creating unit, is used In the creation storing data block in distributed file system;Processing unit, for determining the target of storing data block described in carry Carrier is physical machine;First carry unit, for the storing data block to be converted into disc driver performance test Data block, and by the data block carry to the physical machine.
In conjunction with second aspect, the embodiment of the present application provides the first possible embodiment of second aspect, and described One carry unit, is also used to: if being assisted the block storage service of the storing data block by small computer system interface gateway View is converted to the data block of disc driver performance test.
In conjunction with second aspect, the embodiment of the present application provides second of possible embodiment of second aspect, the place Unit is managed, is also used to: obtaining the mounting instructions of user's input;Storing data block described in carry is determined according to the mounting instructions The destination carrier is the physical machine.
In conjunction with the second aspect of second aspect extremely second of possible embodiment in any one embodiment, this Application embodiment provides the third possible embodiment of second aspect, and described device further includes unloading unit, is used for: obtaining Take the unloading command of family input;Data block corresponding with the unloading command in the physical machine is unloaded;After unloading The data block is returned to the distributed file system with state to be used.
In conjunction with second aspect, the embodiment of the present application provides the 4th kind of possible embodiment of second aspect, the dress Set further include: the second carry unit is used for: the destination carrier for determining storing data block described in carry is virtual machine;It is deposited described Data block carry is stored up to the virtual machine.
The third aspect, a kind of electronic equipment provided by the embodiments of the present application, comprising: memory, processor and be stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program It realizes as described in any one of first aspect the step of date storage method.
Fourth aspect, a kind of storage medium provided by the embodiments of the present application are stored with instruction on the storage medium, work as institute Instruction is stated when running on computers, so that the computer executes such as the described in any item date storage methods of first aspect.
5th aspect, a kind of computer program product provided by the embodiments of the present application, the computer program product are being counted When being run on calculation machine, so that computer executes such as the described in any item date storage methods of first aspect.
Other feature and advantage of the disclosure will illustrate in the following description, alternatively, Partial Feature and advantage can be with Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of flow chart of date storage method provided by the embodiments of the present application;
Fig. 2 is the application scenario diagram of date storage method provided by the embodiments of the present application;
Fig. 3 is the flow chart of another date storage method provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of data storage device provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Drawbacks described above existing in the prior art, applicants contemplate that being applicant after practicing and carefully studying It is obtaining as a result, therefore, what the discovery procedure of the above problem and hereinafter the embodiment of the present application were proposed regarding to the issue above Solution all should be the contribution that applicant makes the application during the application.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, technical solutions in the embodiments of the present application is described.
With reference to the accompanying drawing, it elaborates to some embodiments of the application.In the absence of conflict, following Feature in embodiment and embodiment can be combined with each other.
Referring to Fig. 1, being the flow chart of date storage method provided by the embodiments of the present application, it should be appreciated that side shown in FIG. 1 Method can be executed by data storage device, which can be corresponding with electronic equipment shown in fig. 5 hereinafter, which sets It is standby to can be the various equipment for being able to carry out this method, for example, such as computer or server, the embodiment of the present application are not limited to This, specifically comprises the following steps:
Step S101 creates storing data block in distributed file system.
Optionally, storing data block is referred to as disk.Storing data block is for providing memory space.For example, storage The capacity of data block can be 1GB, can also be with 2GB etc..Here, being not especially limited.
Optionally, storing data block can be what user was created in distributed file system Ceph.As user can be with Storing data block of different sizes is created in distributed file system as required.For example, user is after logging in cloud platform, it is defeated Enter to create the instruction of storing data block, backstage (storage service) creates corresponding storing data according to the instruction that user inputs Block.
It should be understood that above-mentioned example is merely illustrative and non-limiting.
Optionally, storage service is the service for managing storage, mainly to the storing data block of distributed file system Management, may be simultaneously used for storing data block being mounted to virtual machine.
Optionally, storage service can be deployed in cloud platform, can also be independently deployed on a certain server, the service Device can be communicated with cloud platform.Here, being not especially limited.
Certainly, in actual use, storing data block is also possible to what developer had been pre-created.Here, not making to have Body limits.
Step S102 determines the destination carrier of storing data block described in carry.
Optionally, the destination carrier includes physical machine.
As an implementation, step S102, comprising: obtain the mounting instructions of user's input;Referred to according to the carry Enabling the destination carrier for determining storing data block described in carry is the physical machine.
Optionally, the mounting instructions include the physical machine to carry storing data block.I.e. mounting instructions be used to indicate by Storing data block carry is in physical machine.
As a kind of application scenarios, user is after being created that storing data block, it is possible to specify hangs a certain storing data block It is loaded in physical machine.
As another application scenarios, user can be selected in operation interface by a certain storing data block or certain several deposit Data block carry is stored up in physical machine 1.Certainly, user is also possible to multiple storing data block carries in different physical machines On.For example, specifying carry in physical machine 1 storing data block 1, specifies carry in physical machine 2 storing data block 2, deposit Storage data block 10 specifies carry in physical machine 5.
As another implement scene, user can input a series of carry parameters, monitor user's input from the background After carry parameter, mounting instructions are generated, to determine the destination carrier of storing data block described in carry by mounting instructions.
During above-mentioned realization, by the mounting instructions for obtaining user's input;Carry is determined according to the mounting instructions The destination carrier of the storing data block is the physical machine, to realize accurate determining destination carrier.
The storing data block, is converted into the data block of disc driver performance test by step S103, and by institute Data block carry is stated to the physical machine.
Optionally, the storing data block is converted into the data block of disc driver performance test, comprising: pass through The block storage service agreement rbd of storing data block is converted to small computer system interface by small computer system interface gateway The data block of agreement (Internet Small Computer System Interface, iSCSI).
As a kind of implement scene, cloud platform includes storage gateway, storage service and storage gateway communication, and storage gateway is used In the data block that the storing data block is converted into disc driver performance test, it is also used to the data block carry To the physical machine.
Optionally, storage gateway can be deployed in cloud platform, can also independently be disposed.Here, being not especially limited.
Data block is mapped in physical machine it should be understood that the carry in the application refers to, rather than data block is mounted on In physical machine.The mapping relations for passing through data block and physical machine, by data block carry in physical machine, so that user makes With.
Optionally, mapping relations can be what the mounting instructions based on user's input generated.
During above-mentioned realization, by carrying out protocol conversion to storing data block, and by the data block after translation-protocol It is mounted in physical machine, on the one hand, it can make every physical machine that can only see the data block of itself institute's carry, and it cannot be seen that not having There are other data blocks of carry in the physical machine, and then effectively realize the isolation of data, ensure that the safety of data;It is another Aspect, due to being that the data block in distributed file system is mounted in physical machine in the application, so that user stores, It without the use of the storage resource of physical machine itself, can make when the disk failures in physical machine off line or physical machine, store Resource within the data block will not still lose, and then effectively ensure the reliability of data;Further, physics is also solved Machine be locally stored it is not flexible, be difficult to the technical issues of backing up.
In a possible embodiment, the method also includes: obtain the unloading command of user's input;By the physical machine Upper data block unloading corresponding with the unloading command;The data block after unloading is returned to described point with state to be used Cloth file system.
Optionally, unloading command includes the physical machine of to be unloaded data block and the carry data block.For example, user is defeated Enter the unloading command for unloading data block N from physical machine 2, to unload data block N from physical machine 2 according to the unloading command It carries.
It should be understood that the example above is merely illustrative and non-limiting.
Optionally, unloading command is for the mapping relations between turn-off data block and destination carrier, so that data block Come back to distributed file system.
It should be understood that the storage content in the data block come back in the distributed file system is constant.
Optionally, the data block after unloading is returned to the distributed file system with state to be used, comprising: The data block after unloading passes through protocol conversion, is reduced into storing data block;Storing data block is returned again with state to be used To the distributed file system.
It optionally, can be by the data block carry on a virtual machine after unloading data block from physical machine.
During above-mentioned realization, by obtaining the unloading command of user's input, thus by data block from destination carrier Unloading, to be that data block comes back to distributed file system, and then improves resource multiplex rate.
Optionally, the data block unloaded from physical machine can be mounted to void after being returned to distributed file system automatically On quasi- machine.
In a possible embodiment, destination carrier further includes virtual machine, the method also includes: by the storing data Block carry is to the virtual machine.
Optionally, deploying virtual machine is in physical machine, and virtual machine itself is isolated with physical machine.
During above-mentioned realization, since the storing data block carry that will unload from physical machine to the void can be passed through Quasi- machine, carries out data sharing so as to realize between physical machine and virtual machine.
As a kind of application scenarios, when existing simultaneously physical machine and virtual machine, referred to by the carry of monitoring user's input It enables, to determine carry target, if carry target is physical machine, just by storing data block carry in physical machine.If carry mesh It is designated as on virtual machine, it just will be on storing data block mount virtual machine.
Certainly, in actual use, the storing data block of carry on a virtual machine can also unload, and uninstall process can be with Referring to the process for unloading data block from physical machine above, here, repeating no more.
Certainly, the data block unloaded from physical machine is after being returned to distributed file system, in the carry for monitoring user After instruction, which can be mounted on virtual machine.Specifically:
In a possible embodiment, the method also includes: the destination carrier for determining storing data block described in carry is Virtual machine, by the storing data block carry to the virtual machine.
As a kind of application scenarios, after user unloads data block F of the carry in physical machine, data block F is by association View is converted to storing data block F, is returned to distributed file system, at this time when monitoring that user needs storing data block F When being mounted on virtual machine, just by the storing data block F carry to the virtual machine.
Certainly, in actual use, user, which also can choose, is not mounted to storing data block F on virtual machine.Such as user Also it can choose and storing data block G be mounted on virtual machine.
Certainly, in actual use, the data block unloaded from physical machine, it is subsequent still can again carry in physical machine On.Here, being not especially limited.
The date storage method of the embodiment of the present application is described above in association with Fig. 1, in the following, knot non-limiting as example Fig. 2 and Fig. 3 is closed the date storage method in the embodiment of the present application is described in detail.Specifically, method as shown in Figure 3 Include:
Step S201 creates storing data block.
Optionally, storing data block is created by storage service.The specific embodiment of step S201 is referred to above Description.
Step S202 forms volume pond.
Optionally, volume pond refers to that multiple storing data blocks are formed by set.
Step S203 is carry in physical machine or virtual machine.
Optionally, determine carry in physical machine or on virtual machine by the mounting instructions of user's input.Step The specific embodiment of S203, is referred to description above.
Optionally, it if being mounted to physical machine is carried out step S204, if being mounted to virtual machine, is carried out and does not know even S207.
Step S204 is converted to the data block of disc driver performance test.
As an implementation, storing data block is converted to the number of disc driver performance test by storage gateway According to block.
Optionally, if being mounted to physical machine, it is converted to the data block of disc driver performance test.Step S204's Specific embodiment is referred to description above.
Step S205, is mounted to physical machine.
That is, being converted into the data block carry of disc driver performance test to the physical machine.
As an implementation, storage gateway is converted into the data block carry of disc driver performance test extremely The physical machine.
Optionally, the specific embodiment of step S205, is referred to description above.
Step S206, unloads data block from physical machine.
Optionally, step S206, comprising: obtain the unloading command of user's input;By in the physical machine with the unloading Corresponding data block is instructed to unload;The data block after unloading is returned to the distributed field system with state to be used System.The specific embodiment of step S206, is referred to description above.
Step S207, is mounted to virtual machine.
It is even mounted to virtual machine, storing data block is directly mounted on virtual machine.
As an implementation, storing data block is directly mounted on virtual machine by storage service.
Optionally, the specific embodiment of step S207, is referred to description above.
Step S208, unloads data block from virtual machine.
As an implementation, storage service unloads data block from virtual machine.
Optionally, the specific embodiment of step S208 is referred to the description of step S206.
Date storage method provided by the embodiment of the present application, by creating storing data in distributed file system Block;The destination carrier for determining storing data block described in carry is physical machine;The storing data block is converted into minicomputer The data block of System Interface Protocol, and by the data block carry to the physical machine.On the one hand, every physical machine can be made only It can see the data block of itself institute's carry, and it cannot be seen that other data blocks without carry in the physical machine, and then effectively The isolation for realizing data, ensure that the safety of data;On the other hand, due to be in the application will be in distributed file system Data block is mounted in physical machine, so that user stores, without the use of the storage resource of physical machine itself, since carry exists Actual stored is not in physical machine for data block in physical machine, and only there are logical relations with physical machine, therefore can make When disk failures in proper physical machine off line or physical machine, the resource stored within the data block will not still lose, Jin Eryou Effect ensures the reliability of data;And then it can be realized the reliability for guaranteeing data in the case where economizing on resources expense.
Referring to Fig. 4, Fig. 4 is shown using the one-to-one data storage device of date storage method shown in FIG. 1, answer Understand, the device 300 is corresponding with above-mentioned Fig. 1 embodiment of the method, is able to carry out each step that above method embodiment is related to, should The specific function of device 300 may refer to it is described above, it is appropriate herein to omit detailed description to avoid repeating.Device 300 The operation of device 300 can be stored in memory or is solidificated in the form of software or firmware (firmware) including at least one Software function module in system (operating system, OS).Specifically, which includes:
Creating unit 310, for creating storing data block in distributed file system;
Processing unit 320, for determining that the destination carrier of storing data block described in carry is physical machine;
First carry unit 330, for the storing data block to be converted into the number of disc driver performance test According to block, and by the data block carry to the physical machine.
Optionally, the first carry unit 330, is also used to: if the destination carrier is the physical machine, by small-sized The block storage service protocol conversion of the storing data block is small computer system interface association by computer system interface gateway The data block of view.
Optionally, the processing unit 320, is also used to: obtaining the mounting instructions of user's input;According to the mounting instructions The destination carrier for determining storing data block described in carry is the physical machine.
In a possible embodiment, described device 300 further include: unloading unit is used for: the unloading of user's input is obtained Instruction;Data block corresponding with the unloading command in the physical machine is unloaded;By the data block after unloading wait make The distributed file system is returned to state.
In a possible embodiment, described device 300 further include: the second carry unit is used for: determining and deposit described in carry The destination carrier for storing up data block is virtual machine;By the storing data block carry to the virtual machine.
The application also provides a kind of electronic equipment, and Fig. 5 is the structural block diagram of the electronic equipment 500 in the embodiment of the present application, As shown in Figure 5.Electronic equipment 500 may include that processor 510, communication interface 520, memory 530 and at least one communication are total Line 540.Wherein, communication bus 540 is for realizing the direct connection communication of these components.Wherein, equipment in the embodiment of the present application Communication interface 520 be used to carry out the communication of signaling or data with other node devices.Processor 510 can be a kind of integrated electricity Road chip, the processing capacity with signal.
Above-mentioned processor 510 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other programmable logic device, discrete gate Or transistor logic, discrete hardware components.May be implemented or execute disclosed each method in the embodiment of the present application, Step and logic diagram.General processor can be microprocessor or the processor 510 is also possible to any conventional processing Device etc..
Memory 530 may be, but not limited to, random access memory (Random Access Memory, RAM), only It reads memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Computer-readable instruction fetch is stored in memory 530, when the computer-readable instruction fetch is executed by the processor 510 When, electronic equipment 500 can execute each step that above-mentioned Fig. 1 embodiment of the method is related to.
Electronic equipment 500 can also include storage control.
The memory 530, storage control, each element of processor 510 are directly or indirectly electrically connected between each other, To realize the transmission or interaction of data.For example, these elements can realize electricity by one or more communication bus 540 between each other Property connection.The processor 510 is for executing the executable module stored in memory 530, such as the software that device 300 includes Functional module or computer program.Also, device 300 is for executing following methods: storage is created in distributed file system Data block;The destination carrier for determining storing data block described in carry is physical machine;The storing data block is converted into small-sized meter The data block of calculation machine System Interface Protocol, and by the data block carry to the physical machine.
Optionally, electronic equipment 500 can be computer, be also possible to the equipment such as server or Cloud Server.
It is appreciated that structure shown in fig. 5 is only to illustrate, the electronic equipment 500 may also include more than shown in Fig. 5 Perhaps less component or with the configuration different from shown in Fig. 5.Each component shown in Fig. 5 can use hardware, software Or combinations thereof realize.
The embodiment of the present application also provides a kind of storage medium, and instruction is stored on the storage medium, when described instruction exists When being run on computer, method described in implementation method embodiment when the computer program is executed by processor, to avoid weight Multiple, details are not described herein again.
The application also provides a kind of computer program product to be made when the computer program product is run on computers It obtains computer and executes method described in embodiment of the method.
Through the above description of the embodiments, those skilled in the art can be understood that the application can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software, based on this understanding, this Shen Technical solution please can be embodied in the form of software products, which can store in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that a computer equipment (can be Personal computer, server or network equipment etc.) execute each implement scene of the application method.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.

Claims (10)

1. a kind of date storage method, which is characterized in that the described method includes:
Storing data block is created in distributed file system;
The destination carrier for determining storing data block described in carry is physical machine;
The storing data block is converted into the data block of disc driver performance test, and extremely by the data block carry The physical machine.
2. the method according to claim 1, wherein described be converted into minicomputer for the storing data block The data block of System Interface Protocol, comprising:
By small computer system interface gateway by the block storage service protocol conversion of the storing data block be small-sized calculating The data block of machine System Interface Protocol.
3. the method according to claim 1, wherein the destination carrier of storing data block described in the determining carry For physical machine, comprising:
Obtain the mounting instructions of user's input;
The destination carrier that storing data block described in carry is determined according to the mounting instructions is physical machine.
4. method according to claim 1 to 3, which is characterized in that the method also includes:
Obtain the unloading command of user's input;
Data block corresponding with the unloading command in the physical machine is unloaded;
The data block after unloading is returned to the distributed file system with state to be used.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
The destination carrier for determining storing data block described in carry is virtual machine;
By the storing data block carry to the virtual machine.
6. a kind of data storage device, which is characterized in that described device includes:
Creating unit, for creating storing data block in distributed file system;
Processing unit, for determining that the destination carrier of storing data block described in carry is physical machine;
First carry unit, for the storing data block to be converted into the data block of disc driver performance test, and By the data block carry to the physical machine.
7. device according to claim 6, which is characterized in that the first carry unit is also used to:
By small computer system interface gateway by the block storage service protocol conversion of the storing data block be small-sized calculating The data block of machine System Interface Protocol.
8. device according to claim 6, which is characterized in that the processing unit is also used to:
Obtain the mounting instructions of user's input;
The destination carrier that storing data block described in carry is determined according to the mounting instructions is the physical machine.
9. a kind of electronic equipment characterized by comprising memory, processor and storage are in the memory and can be The computer program run on the processor, the processor realize such as claim 1 to 5 when executing the computer program The step of described in any item date storage methods.
10. a kind of storage medium, which is characterized in that the storage medium for storing instruction, when described instruction on computers When operation, so that the computer executes such as date storage method described in any one of claim 1 to 5.
CN201910675356.8A 2019-07-24 2019-07-24 Data storage method, device, equipment and storage medium Active CN110413584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910675356.8A CN110413584B (en) 2019-07-24 2019-07-24 Data storage method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910675356.8A CN110413584B (en) 2019-07-24 2019-07-24 Data storage method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110413584A true CN110413584A (en) 2019-11-05
CN110413584B CN110413584B (en) 2021-04-02

Family

ID=68363020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910675356.8A Active CN110413584B (en) 2019-07-24 2019-07-24 Data storage method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110413584B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114579036A (en) * 2020-11-30 2022-06-03 北京达佳互联信息技术有限公司 Storage device management method and related device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475732A (en) * 2013-09-25 2013-12-25 浪潮电子信息产业股份有限公司 Distributed file system data volume deployment method based on virtual address pool
CN103618767A (en) * 2013-11-15 2014-03-05 华为技术有限公司 Virtual machine configuration method and related equipment
CN103747064A (en) * 2013-12-26 2014-04-23 广东中科遥感技术有限公司 Mounting method, client and system based on MooseFS distributed file system
CN104506589A (en) * 2014-12-10 2015-04-08 上海爱数软件有限公司 Resource migration scheduling method based on super fusion storage
CN105892943A (en) * 2016-03-30 2016-08-24 上海爱数信息技术股份有限公司 Access method and system for block storage data in distributed storage system
US9942271B2 (en) * 2005-12-29 2018-04-10 Nextlabs, Inc. Information management system with two or more interactive enforcement points
CN108170513A (en) * 2017-12-28 2018-06-15 上海优刻得信息科技有限公司 Method, apparatus, system and the storage medium of carry are carried out to network disk
CN109697020A (en) * 2017-10-23 2019-04-30 中移(苏州)软件技术有限公司 A kind of date storage method, server and system
US10346188B1 (en) * 2014-06-13 2019-07-09 Veritas Technologies Llc Booting virtual machine instances in a distributed data processing architecture

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9942271B2 (en) * 2005-12-29 2018-04-10 Nextlabs, Inc. Information management system with two or more interactive enforcement points
CN103475732A (en) * 2013-09-25 2013-12-25 浪潮电子信息产业股份有限公司 Distributed file system data volume deployment method based on virtual address pool
CN103618767A (en) * 2013-11-15 2014-03-05 华为技术有限公司 Virtual machine configuration method and related equipment
CN103747064A (en) * 2013-12-26 2014-04-23 广东中科遥感技术有限公司 Mounting method, client and system based on MooseFS distributed file system
US10346188B1 (en) * 2014-06-13 2019-07-09 Veritas Technologies Llc Booting virtual machine instances in a distributed data processing architecture
CN104506589A (en) * 2014-12-10 2015-04-08 上海爱数软件有限公司 Resource migration scheduling method based on super fusion storage
CN105892943A (en) * 2016-03-30 2016-08-24 上海爱数信息技术股份有限公司 Access method and system for block storage data in distributed storage system
CN109697020A (en) * 2017-10-23 2019-04-30 中移(苏州)软件技术有限公司 A kind of date storage method, server and system
CN108170513A (en) * 2017-12-28 2018-06-15 上海优刻得信息科技有限公司 Method, apparatus, system and the storage medium of carry are carried out to network disk

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GEORGE PARISIS ET AL: "DHTbd: A Reliable Block-Based Storage System for High Performance Clusters", 《2011 11TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND GRID COMPUTING》 *
贾博文 等: "面向虚拟机的分布式块存储系统设计及实现", 《微型电脑应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114579036A (en) * 2020-11-30 2022-06-03 北京达佳互联信息技术有限公司 Storage device management method and related device
CN114579036B (en) * 2020-11-30 2024-02-13 北京达佳互联信息技术有限公司 Storage device management method and related device

Also Published As

Publication number Publication date
CN110413584B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
US8930542B2 (en) Dynamically building a set of compute nodes to host the user's workload
US9658869B2 (en) Autonomously managed virtual machine anti-affinity rules in cloud computing environments
US9424148B2 (en) Automatic failover in modular chassis systems
US8984134B2 (en) Unified cloud computing infrastructure to manage and deploy physical and virtual environments
US10324754B2 (en) Managing virtual machine patterns
US9514039B2 (en) Determining a metric considering unallocated virtual storage space and remaining physical storage space to use to determine whether to generate a low space alert
CN110096220B (en) Distributed storage system, data processing method and storage node
CN105743808B (en) A kind of adaptation QoS method and apparatus
US10884845B2 (en) Increasing processing capacity of processor cores during initial program load processing
CN115145733A (en) Resource allocation method, device, server and system
US10884818B2 (en) Increasing processing capacity of virtual machines
US20240163226A1 (en) Tracking application scaling for network bandwidth allocation
CN110413584A (en) Date storage method, device, equipment and storage medium
CN110427250A (en) Create cloud host instances, the method, apparatus of elastic telescopic group, equipment and medium
US11809893B2 (en) Systems and methods for collapsing resources used in cloud deployments
JP7465045B2 (en) Increased virtual machine processing power for abnormal events
WO2022043792A1 (en) Input/output queue hinting for resource utilization
US11307889B2 (en) Schedule virtual machines
US20230336363A1 (en) Unauthorized communication detection in hybrid cloud
US11740789B2 (en) Automated storage capacity provisioning using machine learning techniques
US20220391250A1 (en) Virtual execution environment power usage
US20230104081A1 (en) Dynamic identity assignment system for components of an information handling system (ihs) and method of using the same
US10649933B1 (en) Select state detection and signal generation
US20220129350A1 (en) Software-defined suspected storage drive failure identification
US10956354B2 (en) Detecting a type of storage adapter connected and miscabling of a microbay housing the storage adapter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: No. 6 Science and Education Software Park, Binhu District, Wuxi City, Jiangsu Province

Applicant after: Huayun data holding group Co., Ltd

Address before: No. 6 Science and Education Software Park, Binhu District, Wuxi City, Jiangsu Province

Applicant before: WUXI CHINAC DATA TECHNICAL SERVICE Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant