CN105468300B - The management method and device of IP hard disks - Google Patents
The management method and device of IP hard disks Download PDFInfo
- Publication number
- CN105468300B CN105468300B CN201510808475.8A CN201510808475A CN105468300B CN 105468300 B CN105468300 B CN 105468300B CN 201510808475 A CN201510808475 A CN 201510808475A CN 105468300 B CN105468300 B CN 105468300B
- Authority
- CN
- China
- Prior art keywords
- data
- written
- target
- mark
- hard disks
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of management method and device of IP hard disks, and this method includes:The resource request that client is sent is received, the resource request includes the length and attribute information of data to be written and the data to be written;The mark of one or more Target IP hard disks to be written is determined according to the length of the data to be written and attribute information;The interface type of the Target IP hard disk is determined according to the mark of the Target IP hard disk and interface library respectively, the correspondence of each IP hard disks identified between corresponding interface type is preserved in the interface library;Convert the data to be written to data protocol corresponding with the interface type;The data protocol is sent to the Target IP hard disk.IP hard disk management methods provided in this embodiment, provide a user the interface form of unified IP hard disks, and realize the unified management of IP hard disks so that IP hard disks are more widely used.
Description
Technical field
The present embodiments relate to the communication technology more particularly to a kind of management methods and device of IP hard disks.
Background technology
Internet protocol (Internet Protocol, abbreviation IP) hard disk is a kind of offer Ethernet interface, using transmission
Control protocol (Transmission Control Protocol, abbreviation TCP)/IP is directly communicated and is carried with upper layer network
For the hard disk of object storage service.
With common Serial Advanced Technology Attachment (Serial Advanced Technology Attachment, abbreviation
SATA) disk or serial connecting small computer system interface (Serial Attached Small Computer System
Interface, abbreviation SAS) unlike disk, IP hard disks externally only provide key/value interfaces, and user only needs to IP hard disks
Key/value key values are provided the accesses of data can be realized, without being concerned about data specific logical blocks in disk
Location (Logical Block Address, abbreviation LBA) so that IP hard disks enormously simplify the framework of storage system.
Currently, the specific implementation of the IP hard disks of different manufacturers production is different, for example, a kind of tool of IP hard disks
Body is achieved in that a preposition pinboard (Dongle), the pinboard are equivalent to one on the disc driver of each hard disk
A small-sized storage control (Mini Storage Controller) based on arm processor has independent memory, passes through
The disk of one piece of traditional Block form is become one piece of IP disk accessed in the form of object (Object) by the pinboard.
For user oriented, each producer based on the IP hard disks that oneself produces build one it is open deposit storage platform, the storage platform use
In the IP hard disks for managing and being adapted to oneself production, and corresponding interface form is provided a user, but the storage platform cannot be adapted to
The IP hard disks of other producer's productions.For example, the kinetic storage platforms of Seagate are namely based on kinetic IP hard disks and erect
Storage platform, kinetic IP hard disks, the IP hard disks of incompatible other producers can only be adapted to.
Since the interface form of the IP hard disks of different manufacturers production is different, moreover, at present also without unified in industry
Standard can be adapted to different IP hard disks, also can not be real it is thus impossible to provide a user the interface form of unified IP hard disks
The unified management of existing IP hard disks, causes the application of IP hard disks to receive significant limitation.
Invention content
The embodiment of the present invention provides a kind of management method and device of IP hard disks, provides a user connecing for unified IP hard disks
Degree of lip-rounding formula, and realize the unified management of IP hard disks so that IP hard disks are more widely used.
In a first aspect, the embodiment of the present invention provides a kind of management method of IP hard disks, the storage system includes multiple IP
Hard disk and at least one IP hard disk controllers, the IP hard disk controllers include processor and memory, and the method is by described
Processor executes, including:The resource request that client is sent is received, the resource request includes data to be written and described
The length and attribute information of data to be written;To be written one is determined according to the length of the data to be written and attribute information
Or the mark of multiple Target IP hard disks;Determine that the Target IP is hard according to the mark of the Target IP hard disk and interface library respectively
The interface type of disk, that preserves in the interface library between the corresponding interface type of mark of each IP hard disks corresponding closes
System;Convert the data to be written to data protocol corresponding with the interface type;The data protocol is sent to institute
State Target IP hard disk.In the present embodiment, due to interface library preserve each IP hard disks the corresponding interface type of mark it
Between correspondence, therefore, processor can obtain the interface type of different types of IP hard disks with query interface library, be connect with difference
The IP hard disks of mouthful type are communicated, to realize the unified management of different type IP hard disks, moreover, user by client with
Processor communication can store data in different types of IP hard disks, be equivalent to and provide a user unified interface form,
So that the application of IP hard disks is more extensive.The device of the present embodiment, can be used for executing first aspect second may be realized
The method and technology scheme that mode provides, realization principle is similar with advantageous effect, and details are not described herein again.
With reference to first aspect, in the first possible realization method of first aspect, the resource request further includes client
End mark, then the length and attribute information according to the data to be written determines that one or more Target IPs to be written are hard
Before the mark of disk, the method further includes:According to the mark of the client identification and client identification and user's resource pool
Correspondence between knowledge determines the mark of the corresponding target user's resource pool of the client identification;Target user's money
Source pond includes one or more of Target IP hard disks;It is then described to be determined according to the length and attribute information of the data to be written
The mark of one or more Target IP hard disks to be written, including:According to the length and attribute information of the data to be written, from
The mark of one or more of Target IP hard disks is determined in target user's resource pool.In the present embodiment, processor is from pre-
It is first selection target IP hard disks in the user's resource pool that client creates, reduces the range of inquiry IP hard disks, effectively increase
Write the rate of data.
With reference to first aspect or the first possible realization method of first aspect, it may be realized at second of first aspect
In mode, the length and attribute information according to the data to be written determines one or more Target IP hard disks to be written
Mark after, the method further includes:Reservation operations instruction is sent to one or more of Target IP hard disks, it is described reserved
It is the client reserves storage resource that operational order, which is used to indicate the Target IP hard disk,.In the present embodiment, processor is being write
Before entering data, first reservation operations instruction is sent to Target IP hard disk so that Target IP hard disk is the reserved storage of data to be written
Resource, avoid due to other data occupy Target IP hard disk and the phenomenon that cause this to write data failure.
Any possible realization method with reference to first aspect, in the third possible realization method of first aspect, institute
The mark that multiple Target IP hard disks to be written are determined according to the length and attribute information of the data to be written is stated, including:Root
According to the length and attribute information of the data to be written, fragment processing is carried out to the data to be written;Respectively to each fragment
Data carry out the keyword that Hash calculation generates each fragment data;According to the keyword of each fragment data, it is
Each fragment data determines the mark of corresponding Target IP hard disk.In the present embodiment, it is written into data fragmentation and is stored in
In multiple Target IP hard disks, storage speed is fast, and storage efficiency is high.
Second aspect, the embodiment of the present invention provide a kind of managing device of IP hard disks, including:Receiving module receives client
It includes the length and attribute letter of data to be written and the data to be written to hold the resource request sent, the resource request
Breath;Processing module, for determining one or more targets to be written according to the length and attribute information of the data to be written
The mark of IP hard disks;The interface class of the Target IP hard disk is determined according to the mark of the Target IP hard disk and interface library respectively
Type preserves the correspondence between the corresponding interface type of mark of each IP hard disks in the interface library;It will be described
Data to be written are converted into data protocol corresponding with the interface type;Sending module, for sending the data protocol
To the Target IP hard disk.The device of the present embodiment can be used for executing the method and technology scheme that first aspect provides, and realize former
Reason is similar with advantageous effect, and details are not described herein again.
In conjunction with second aspect, in the first possible realization method of second aspect, if the resource request further includes visitor
Family end identifies, then the processing module is additionally operable to the mark according to the client identification and client identification and user's resource pool
Correspondence between knowledge determines the mark of the corresponding target user's resource pool of the client identification;Target user's money
Source pond includes one or more of Target IP hard disks;Then the processing module is according to the length and attribute of the data to be written
Information determines the mark of one or more Target IP hard disks to be written, including:The processing module is according to the number to be written
According to length and attribute information, the mark of one or more of Target IP hard disks is determined from target user's resource pool.
The device of the present embodiment can be used for executing the method and technology scheme that the first possible realization method of first aspect provides, in fact
Existing principle is similar with advantageous effect, and details are not described herein again.
In conjunction with the possible realization method of the first of second aspect or second aspect, second in second aspect may realization
Sending module described in mode is additionally operable to send reservation operations instruction, the reserved behaviour to one or more of Target IP hard disks
Make instruction to be used to indicate the Target IP hard disk to be the client reserves storage resource.The device of the present embodiment can be used for holding
The method and technology scheme that the possible realization method of second of row first aspect provides, realization principle is similar with advantageous effect, this
Place repeats no more.
In conjunction with any possible realization method of second aspect, in the third possible realization method of second aspect, institute
The mark that processing module determines multiple Target IP hard disks to be written according to the length and attribute information of the data to be written is stated,
Including:The processing module carries out fragment according to the length and attribute information of the data to be written to the data to be written
Processing;The keyword that Hash calculation generates each fragment data is carried out to each fragment data respectively;According to described each
The keyword of fragment data determines the mark of corresponding Target IP hard disk for each fragment data.The device of the present embodiment,
It can be used for executing the method and technology scheme that the third possible realization method of first aspect provides, realization principle and advantageous effect
Similar, details are not described herein again.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Some bright embodiments for those of ordinary skill in the art without having to pay creative labor, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is the application scenarios schematic diagram of the management method of IP hard disks provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the management method for the IP hard disks that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of the management method of IP hard disks provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of form schematic diagram of user's resource pool provided by the invention;
Fig. 5 is the form schematic diagram of another user's resource pool provided by the invention;
Fig. 6 is the form schematic diagram of another user's resource pool provided by the invention;
Fig. 7 is the structural schematic diagram of the managing device for the IP hard disks that the embodiment of the present invention three provides.
Specific implementation mode
The present embodiments relate to method, it is intended to solving IP hard disk management methods in the prior art cannot carry to user
For the interface form of unified IP hard disks, the unified management of IP hard disks is also cannot achieve, the application of IP hard disks is caused to receive very
This technical problem of big limitation.
Technical scheme of the present invention is described in detail with specifically embodiment below.These specific implementations below
Example can be combined with each other, and same or analogous concept or process may be repeated no more in some embodiments.
Fig. 1 is the application scenarios schematic diagram of the management method of IP hard disks provided in an embodiment of the present invention.The scene is one
Storage system, as shown in Figure 1, the storage system includes at least IP hard disk controllers and multiple IP hard disks, wherein IP hard disk controllings
Device can be the equipment such as server, computer, and IP hard disk controllers include processor 1 and memory 6, and memory 6 is for storing
Interface library 2 and interface library 3, IP hard disks 4 and IP hard disks 5 are the different IP hard disks of two kinds of interface types.
Processor 1 may be a central processing unit (Central Processing Unit, abbreviation CPU), or specially
With integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), or it is arranged to reality
Apply one or more integrated circuits of the embodiment of the present invention.In embodiments of the present invention, processor 1, which can be used for receiving, comes from client
The resource request and read data request sent is held, and it is hard to be sent to IP after handling the resource request and read data request
Disk and the other operations of execution.
Memory 6, for storing program instruction and related data, memory 6 may include high-speed RAM memory,
May further include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.It is appreciated that
, memory 6 can be hard for random access memory (Random-Access Memory, RAM), magnetic disc, hard disk, CD, solid-state
Disk (Solid State Disk, SSD) or nonvolatile memory etc. are various can to store the non-transitory of program code
(non-transitory) machine readable media.In embodiments of the present invention, memory 6 can be used for storing relevant program and refer to
It enables, interface library etc..
Interface library is software journey of the storage file of the forms such as file, database, table either for inquiring data
Sequence, interface library include the correspondence between the corresponding interface type of the mark of IP hard disks, and each interface library corresponds to a kind of
The IP hard disks of interface type, interface library can also record the number of the IP hard disks of corresponding interface type and increase, the letters such as delete
Breath.The interface type of IP hard disks can be small computer system interface (Small Computer System Interface,
Abbreviation SCSI), Serial Attached SCSI (SAS) interface (Serial Attached SCSI, abbreviation SAS) etc..
Fig. 2 is the flow chart of the management method for the IP hard disks that the embodiment of the present invention one provides.The method application of the present embodiment
In scene shown in FIG. 1, also, this method is executed by the processor in Fig. 1, as shown in Fig. 2, this method includes following step
Suddenly:
Step 101 receives the resource request that client is sent, and resource request includes data to be written and number to be written
According to length and attribute information.
In the present embodiment, the length of data to be written is used to judge to store the storage that data to be written need much capacity
The data information in space, data to be written includes word, picture, audio, video etc..
Step 102 determines that one or more Target IPs to be written are hard according to the length and attribute information of data to be written
The mark of disk.
In the present embodiment, processor judges to store the IP hard disks needed for the data according to the attribute information of data to be written
Type, according to the length of data to be written judge store the data needed for respective type IP hard disks quantity, to really
Make the mark of one or more Target IP hard disks.
Step 103, the interface type for determining Target IP hard disk according to the mark of Target IP hard disk and interface library respectively, connect
The correspondence of each IP hard disks identified between corresponding interface type is preserved in mouth library.
In the present embodiment, since the interface form of different types of IP hard disks differs, in the type for determining IP hard disks
Later, processor needs query interface library, obtains interface type corresponding with the mark of Target IP hard disk.Wherein, interface library can
Think the forms such as file, database, table.
Step 104 is written into data and is converted into data protocol corresponding with interface type.
Data protocol is sent to Target IP hard disk by step 105.
In the present embodiment, processor is written into data and is converted into data protocol corresponding with the interface type of Target IP
Later, it is sent to Target IP hard disk, ensures that IP hard disks can correctly parse data protocol, stores data.
The management method of IP hard disks provided in this embodiment, processor receives the resource request that client is sent, according to money
The length and attribute information of data to be written in the request of source determine the mark of one or more Target IP hard disks to be written, point
The interface type for not determining Target IP hard disk according to the mark of Target IP hard disk and interface library, be written into data be converted into
Data protocol is sent to Target IP hard disk by the corresponding data protocol of interface type.Since interface library preserves each IP hard disks
The corresponding interface type of mark between correspondence, therefore, processor can obtain different type with query interface library
IP hard disks interface type, communicated with the IP hard disks of different interface type, to realize the system of different type IP hard disks
One management, moreover, user can be stored data in by client and processor communication in different types of IP hard disks, quite
In providing a user unified interface form so that the application of IP hard disks is more extensive.
Fig. 3 is the flow chart of the management method of IP hard disks provided by Embodiment 2 of the present invention.The present embodiment is to Fig. 2 institutes
Show the detailed description of embodiment of the method, this method is executed by the processor in Fig. 1, as shown in figure 3, this method includes following step
Suddenly:
Step 201 receives the resource request that client is sent.
Wherein, resource request includes the length and attribute information of data to be written and data to be written.
Optionally, if in resource request further including client identification, step " according to the length of the data to be written and
Attribute information determines the mark of one or more Target IP hard disks to be written " before, can also include step 202, also, can
To replace the step 102 in Fig. 1 with step 203.
Step 202, according to the correspondence between client identification and client identification and the mark of user's resource pool,
Determine the mark of the corresponding target user's resource pool of client identification;Target user's resource pool includes that one or more Target IPs are hard
Disk.
In the present embodiment, processor can also be that client creates user's resource pool, user money according to resource request
Source pond may include a type of IP hard disks, can also include different types of IP hard disks.Fig. 4 is one kind provided by the invention
The form schematic diagram of user's resource pool, Fig. 5 are the form schematic diagram of another user's resource pool provided by the invention, and Fig. 6 is this
The form schematic diagram of another user's resource pool provided is provided.As shown in figure 4, the user's resource pool includes a type of IP
Hard disk.As shown in figure 5, the user's resource pool includes at least two child resource ponds, each child resource pond includes a type of IP
Hard disk.As shown in fig. 6, the user's resource pool includes the IP hard disks of at least two types.
Step 203, length and attribute information according to data to be written determine one or more from target user's resource pool
The mark of a Target IP hard disk.
Optionally, the realization method of step 203 may comprise steps of:
Step 2031, length and attribute information according to data to be written carry out fragment processing to data to be written;
Step 2032 carries out the keyword that Hash calculation generates each fragment data to each fragment data respectively;
Step 2033, according to the keyword of each fragment data, determine corresponding Target IP hard disk for each fragment data
Mark.
Step 204 sends reservation operations instruction to one or more Target IP hard disks, and reservation operations instruction is used to indicate mesh
Mark IP hard disks are client reserves storage resource.
It should be noted that step 204 is an optional step, step can also be directly executed after step 203
205。
Step 205, the interface type for determining Target IP hard disk according to the mark of Target IP hard disk and interface library respectively.
Wherein, the correspondence of each IP hard disks identified between corresponding interface type is preserved in interface library.
Step 206 is written into data and is converted into data protocol corresponding with interface type.
Data protocol is simultaneously sent to Target IP hard disk by step 207.
Optionally, it writes data into after Target IP hard disk, the data in Target IP hard disk can also be read, specifically included
Following steps:
Step 208 receives the read data request that client is sent.
Wherein, read data request includes the keyword and client identification of data to be read.
Step 209, according to the correspondence between client identification and client identification and the mark of user's resource pool,
Determine the mark of the corresponding target user's resource pool of client identification.
Step 210, the keyword that each fragment data is obtained according to the keyword of data to be read, and according to fragment data
Keyword and the mark of IP hard disks between correspondence, determine each fragment data respectively from target user's resource pool
The mark of the corresponding Target IP hard disk of keyword.
Step 211 sends to each Target IP hard disk and reads instruction.
Step 212 receives the fragment data that each Target IP hard disk is sent.
All fragment datas are assembled into data to be read, and data to be read are sent to client by step 213.
The management method of IP hard disks provided in this embodiment, user send resource to IP hard disk controllers by client and ask
It asks, processor is identified according to client identification inquiry target user's resource pool in resource request, according to the length of data to be written
Degree and attribute information, determine the mark of one or more Target IP hard disks from target user's resource pool, and to one or more
Target IP hard disk sends reservation operations instruction, and instruction Target IP hard disk is client reserves storage resource, is written into data and turns
It is sent to Target IP hard disk after turning to data protocol corresponding with interface type, also, user can pass through IP hard disk controllers
Data are read in ability Target IP hard disk, may be implemented to store data in different types of IP hard disks, moreover, storing process is simple
Single, storage efficiency is high.
Fig. 7 is the structural schematic diagram of the managing device for the IP hard disks that the embodiment of the present invention three provides.As shown in fig. 7, the dress
It sets including receiving module 11, processing module 12 and sending module 13.Receiving module 11 receives the resource request that client is sent, money
Source request includes the length and attribute information of data to be written and data to be written;Processing module 12 is used for according to be written
The length and attribute information of data determine the mark of one or more Target IP hard disks to be written;Respectively according to Target IP hard disk
Mark and interface library determine that the interface type of Target IP hard disk, the mark that each IP hard disks are preserved in interface library are right with it
Correspondence between the interface type answered;It is written into data and is converted into data protocol corresponding with interface type;Send mould
Block 13 is used to data protocol being sent to Target IP hard disk.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 2, realization principle and friendship
Effect is similar, and details are not described herein again.
Optionally, if resource request further includes client identification, processing module 12 be additionally operable to according to client identification with
And the correspondence between client identification and the mark of user's resource pool, determine the corresponding target user's resource of client identification
The mark in pond;Target user's resource pool includes one or more Target IP hard disks;Then processing module 12 is according to data to be written
Length and attribute information determine the mark of one or more Target IP hard disks to be written, including:Processing module 12 is according to be written
The length and attribute information for entering data determine the mark of one or more Target IP hard disk from target user's resource pool.
Optionally, sending module 13 is additionally operable to send reservation operations instruction to one or more Target IP hard disks, reserves behaviour
Make instruction to be used to indicate Target IP hard disk to be client reserves storage resource.
Optionally, processing module 12 determines multiple Target IPs to be written according to the length and attribute information of data to be written
The mark of hard disk, including:Processing module 12 carries out fragment according to the length and attribute information of data to be written to data to be written
Processing;The keyword that Hash calculation generates each fragment data is carried out to each fragment data respectively;According to each fragment data
Keyword, determine the mark of corresponding Target IP hard disk for each fragment data.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 3, realization principle and beneficial
Effect is similar, and details are not described herein again.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:Read-only memory
(Read-Only Memory, abbreviation ROM), random access memory (random access memory, abbreviation RAM), magnetic disc
Or the various media that can store program code such as CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (8)
1. a kind of method of the IP hard disks in management storage system, which is characterized in that the storage system includes multiple IP hard disks
With at least one IP hard disk controllers, the IP hard disk controllers include processor and memory, and the method is by the processing
Device executes, including:
The resource request that client is sent is received, the resource request includes data to be written and the data to be written
Length and attribute information;
The mark of one or more Target IP hard disks to be written is determined according to the length of the data to be written and attribute information;
The interface type of the Target IP hard disk is determined according to the mark of the Target IP hard disk and interface library respectively, it is described to connect
The correspondence of each IP hard disks identified between corresponding interface type is preserved in mouth library;
Convert the data to be written to data protocol corresponding with the interface type;
The data protocol is sent to the Target IP hard disk.
2. according to the method described in claim 1, it is characterized in that, the resource request further includes client identification, then described
Before the mark for determining one or more Target IP hard disks to be written according to the length of the data to be written and attribute information,
The method further includes:
According to the correspondence between the client identification and client identification and the mark of user's resource pool, determine described in
The mark of the corresponding target user's resource pool of client identification;Target user's resource pool includes one or more of targets
IP hard disks;
Then the length and attribute information according to the data to be written determines one or more Target IP hard disks to be written
Mark, including:
According to the length and attribute information of the data to be written, determination is one or more from target user's resource pool
The mark of a Target IP hard disk.
3. method according to claim 1 or 2, which is characterized in that the length and category according to the data to be written
After property information determines the mark of one or more Target IP hard disks to be written, the method further includes:
Reservation operations instruction is sent to one or more of Target IP hard disks, the reservation operations instruction is used to indicate the mesh
Mark IP hard disks are the client reserves storage resource.
4. method according to claim 1 or 2, which is characterized in that the length and category according to the data to be written
Property information determines the mark of multiple Target IP hard disks to be written, including:
According to the length and attribute information of the data to be written, fragment processing is carried out to the data to be written;
The keyword that Hash calculation generates each fragment data is carried out to each fragment data respectively;
According to the keyword of each fragment data, the mark of corresponding Target IP hard disk is determined for each fragment data
Know.
5. a kind of managing device of Internet protocol IP hard disk, which is characterized in that including:
Receiving module receives the resource request that client is sent, and the resource request includes data to be written and described to be written
Enter the length and attribute information of data;
Processing module, for determining one or more targets to be written according to the length and attribute information of the data to be written
The mark of IP hard disks;The interface class of the Target IP hard disk is determined according to the mark of the Target IP hard disk and interface library respectively
Type preserves the correspondence between the corresponding interface type of mark of each IP hard disks in the interface library;It will be described
Data to be written are converted into data protocol corresponding with the interface type;
Sending module, for the data protocol to be sent to the Target IP hard disk.
6. device according to claim 5, which is characterized in that if the resource request further includes client identification, institute
Processing module is stated to be additionally operable to according to corresponding between the client identification and client identification and the mark of user's resource pool
Relationship determines the mark of the corresponding target user's resource pool of the client identification;Target user's resource pool includes described
One or more Target IP hard disks;
Then the processing module determines one or more mesh to be written according to the length and attribute information of the data to be written
The mark of IP hard disks is marked, including:
The processing module is determined according to the length and attribute information of the data to be written from target user's resource pool
The mark of one or more of Target IP hard disks.
7. device according to claim 5 or 6, which is characterized in that the sending module is additionally operable to one or more
A Target IP hard disk sends reservation operations instruction, and it is the client that the reservation operations instruction, which is used to indicate the Target IP hard disk,
Reserve storage resource in end.
8. device according to claim 5 or 6, which is characterized in that the processing module is according to the data to be written
Length and attribute information determine the mark of multiple Target IP hard disks to be written, including:
The processing module carries out at fragment the data to be written according to the length and attribute information of the data to be written
Reason;The keyword that Hash calculation generates each fragment data is carried out to each fragment data respectively;According to described each point
The keyword of sheet data determines the mark of corresponding Target IP hard disk for each fragment data.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510808475.8A CN105468300B (en) | 2015-11-20 | 2015-11-20 | The management method and device of IP hard disks |
PCT/CN2016/087917 WO2017084348A1 (en) | 2015-11-20 | 2016-06-30 | Management method and apparatus for ip hard disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510808475.8A CN105468300B (en) | 2015-11-20 | 2015-11-20 | The management method and device of IP hard disks |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105468300A CN105468300A (en) | 2016-04-06 |
CN105468300B true CN105468300B (en) | 2018-08-14 |
Family
ID=55606053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510808475.8A Active CN105468300B (en) | 2015-11-20 | 2015-11-20 | The management method and device of IP hard disks |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105468300B (en) |
WO (1) | WO2017084348A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107436725B (en) | 2016-05-25 | 2019-12-20 | 杭州海康威视数字技术股份有限公司 | Data writing and reading methods and devices and distributed object storage cluster |
CN109101186A (en) * | 2017-06-20 | 2018-12-28 | 上海宝存信息科技有限公司 | Data memory device and data storage method |
CN108646981B (en) * | 2018-04-28 | 2021-09-03 | 深圳市茁壮网络股份有限公司 | Data cache node management method, data cache method and cache management node |
CN109669633B (en) * | 2018-12-17 | 2021-11-09 | 郑州云海信息技术有限公司 | Disk control method, device, equipment and medium of distributed storage system |
CN114116560A (en) * | 2020-08-31 | 2022-03-01 | 华为技术有限公司 | Information interaction method and device |
CN112256204B (en) * | 2020-10-28 | 2022-06-03 | 重庆紫光华山智安科技有限公司 | Storage resource allocation method and device, storage node and storage medium |
CN113821467A (en) * | 2021-09-29 | 2021-12-21 | 广联达科技股份有限公司 | Data transmission method and device and electronic equipment |
CN115495398B (en) * | 2022-09-28 | 2023-06-30 | 北京亚控科技发展有限公司 | Interface resource operation method, device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973810A (en) * | 2014-05-22 | 2014-08-06 | 华为技术有限公司 | Data processing method and device based on IP disk |
CN104077374A (en) * | 2014-06-24 | 2014-10-01 | 华为技术有限公司 | Method and device for achieving internet protocol (IP) disk file storage |
CN104238963A (en) * | 2014-09-30 | 2014-12-24 | 华为技术有限公司 | Data storage method, device and system |
CN105068948A (en) * | 2015-07-02 | 2015-11-18 | 华为技术有限公司 | Memory disc and memory disc setting method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7369570B2 (en) * | 2003-03-03 | 2008-05-06 | Nec Corporation | iSCSI apparatus and communication control method for the same |
US20070197100A1 (en) * | 2006-02-17 | 2007-08-23 | Robert Tsao | Type of hard disk interface device |
US8146027B1 (en) * | 2009-05-07 | 2012-03-27 | Xilinx, Inc. | Creating interfaces for importation of modules into a circuit design |
CN104007938B (en) * | 2014-05-29 | 2017-04-05 | 华为技术有限公司 | Key assignments generation method and device in storage network |
-
2015
- 2015-11-20 CN CN201510808475.8A patent/CN105468300B/en active Active
-
2016
- 2016-06-30 WO PCT/CN2016/087917 patent/WO2017084348A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973810A (en) * | 2014-05-22 | 2014-08-06 | 华为技术有限公司 | Data processing method and device based on IP disk |
CN104077374A (en) * | 2014-06-24 | 2014-10-01 | 华为技术有限公司 | Method and device for achieving internet protocol (IP) disk file storage |
CN104238963A (en) * | 2014-09-30 | 2014-12-24 | 华为技术有限公司 | Data storage method, device and system |
CN105068948A (en) * | 2015-07-02 | 2015-11-18 | 华为技术有限公司 | Memory disc and memory disc setting method |
Also Published As
Publication number | Publication date |
---|---|
WO2017084348A1 (en) | 2017-05-26 |
CN105468300A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105468300B (en) | The management method and device of IP hard disks | |
KR102428317B1 (en) | A novel ssd architecture for fpga based acceleration | |
US10339079B2 (en) | System and method of interleaving data retrieved from first and second buffers | |
CN107111452B (en) | Data migration method and device applied to computer system and computer system | |
TWI602074B (en) | Method for creating multi-namespaces and method for accessing data stored therein | |
CN107229415A (en) | A kind of data write method, data read method and relevant device, system | |
CN104731635B (en) | A kind of virtual machine access control method and virtual machine access control system | |
CN109074309A (en) | Data access between calculate node | |
US9946721B1 (en) | Systems and methods for managing a network by generating files in a virtual file system | |
US8868793B2 (en) | SAS expander system and method for dynamically allocating SAS addresses to SAS expander devices | |
CN104272242A (en) | Creating encrypted storage volumes | |
CN104932922A (en) | Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk | |
WO2015180650A1 (en) | Method and device for generating key value in storage area network | |
CN109471843A (en) | A kind of metadata cache method, system and relevant apparatus | |
CN114827178A (en) | Data processing method, device and equipment and readable storage medium | |
KR20190105496A (en) | A novel ssd architecture for fpga based acceleration | |
CN105260139B (en) | A kind of disk management method and system | |
CN107291392A (en) | A kind of solid state hard disc and its reading/writing method | |
WO2016188373A1 (en) | Method and apparatus for fusing san and nas storage architectures in storage system | |
WO2016082559A1 (en) | Data writing method and storage device | |
TWI622890B (en) | Method for creating multi-namespaces and method for accessing data stored therein | |
CN107451271A (en) | A kind of Hash table processing method, device, equipment and storage medium | |
CN104077374B (en) | A kind of method and device for realizing the storage of IP disk files | |
CN109783462A (en) | A kind of data access method and device based on distributed file system | |
JP2018129074A5 (en) | Storage system and storage system control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |