CN105468300A - IP hard disc management method and device - Google Patents

IP hard disc management method and device Download PDF

Info

Publication number
CN105468300A
CN105468300A CN201510808475.8A CN201510808475A CN105468300A CN 105468300 A CN105468300 A CN 105468300A CN 201510808475 A CN201510808475 A CN 201510808475A CN 105468300 A CN105468300 A CN 105468300A
Authority
CN
China
Prior art keywords
hard disk
written
data
target
mark
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
CN201510808475.8A
Other languages
Chinese (zh)
Other versions
CN105468300B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510808475.8A priority Critical patent/CN105468300B/en
Publication of CN105468300A publication Critical patent/CN105468300A/en
Priority to PCT/CN2016/087917 priority patent/WO2017084348A1/en
Application granted granted Critical
Publication of CN105468300B publication Critical patent/CN105468300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0688Non-volatile semiconductor memory arrays

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 invention provides an IP hard disc management method and device. The method comprises the following steps: receiving a resource request sent by a client, wherein the resource request comprises to-be-written data and the length and attribute information of the to-be-written data; determining the identifications of one or more to-be-written target IP hard discs according to the length and attribute information of the to-be-written data; determining the interface types of the target IP hard discs according to the identifications of the target IP hard discs and an interface library, wherein the corresponding relationships between the identifications of the IP hard discs and corresponding interface types are stored in the interface library; converting the to-be-written data into data protocols corresponding to the interface types; and sending the data protocols to the target IP hard discs. According to the IP hard disc management method provided by the embodiments of the invention, a uniform IP hard disc interface form is provided for the users, the uniform management of the IP hard discs is realized, and the IP hard discs can be applied more widely.

Description

The management method of IP hard disk and device
Technical field
The embodiment of the present invention relates to the communication technology, particularly relates to a kind of management method and device of IP hard disk.
Background technology
Internet protocol (InternetProtocol, being called for short IP) hard disk is that one provides Ethernet interface, adopts transmission control protocol (TransmissionControlProtocol, be called for short TCP)/IP directly carry out communicating with upper layer network and provide the hard disk of object stores service.
With common Serial Advanced Technology Attachment (SerialAdvancedTechnologyAttachment, abbreviate SAT A) coil or serial connecting small computer system interface (SerialAttachedSmallComputerSystemInterface, be called for short SAS) dish unlike, IP hard disk externally only provides key/value interface, user only needs to provide key/value key value can realize the access of data to IP hard disk, and do not need the logical block addresses (LogicalBlockAddress that care data are concrete in disk, be called for short LBA), IP hard disk is made to enormously simplify the framework of storage system.
At present, the specific implementation of the IP hard disk that different manufacturers is produced is all different, such as, a kind of specific implementation of IP hard disk is, a preposition card extender (Dongle) on the disc driver of each hard disk, this card extender is equivalent to a small-sized memory controller (MiniStorageController) based on arm processor, there is independently internal memory, by this card extender, the disk of one piece of traditional Block form is become one piece with the IP disk of object (Object) form access.In order to user oriented, each producer builds one based on the IP hard disk that oneself produces and openly deposits storage platform, this storage platform for managing and the adaptive IP hard disk that oneself produces, and provides corresponding interface shape to user, but this storage platform can not the IP hard disk of other manufacturer production adaptive.Such as, the kinetic storage platform of Seagate is exactly the storage platform of building based on kineticIP hard disk, can only adaptive kineticIP hard disk, the IP hard disk of other producer incompatible.
Because the interface shape of the IP hard disk of different manufacturers production is each variant, and, standard also ununified in current industry can adaptive different IP hard disk, therefore, the interface shape of unified IP hard disk can not be provided to user, also cannot realize the unified management of IP hard disk, cause the application of IP hard disk to receive significant limitation.
Summary of the invention
The embodiment of the present invention provides a kind of management method and device of IP hard disk, provides the interface shape of unified IP hard disk, and achieve the unified management of IP hard disk to user, and IP hard disk is more widely used.
First aspect, the embodiment of the present invention provides a kind of management method of IP hard disk, described storage system comprises multiple IP hard disk and at least one IP hard disk controller, described IP hard disk controller comprises processor and storer, described method is performed by described processor, comprise: receive the resource request that client sends, described resource request comprises data to be written, and the length of described data to be written and attribute information; The mark of one or more Target IP hard disks to be written is determined according to the length of described data to be written and attribute information; Determine the interface type of described Target IP hard disk respectively according to the mark of described Target IP hard disk and interface library, in described interface library, preserve the corresponding relation between the mark of each IP hard disk interface type corresponding with it; Be the data protocol corresponding with described interface type by described data transformations to be written; Described data protocol is sent to described Target IP hard disk.In the present embodiment, because interface library preserves the corresponding relation between the mark of each IP hard disk interface type corresponding with it, therefore, processor can obtain the interface type of dissimilar IP hard disk in query interface storehouse, communicate with the IP hard disk of different interface type, thus realize the unified management of dissimilar IP hard disk, and, user can store data in dissimilar IP hard disk by client and processor communication, be equivalent to provide unified interface shape to user, make the application of IP hard disk more extensive.The device of the present embodiment, the method and technology scheme that the second possibility implementation that can be used for performing first aspect provides, it realizes principle and beneficial effect is similar, repeats no more herein.
In conjunction with first aspect, in the first possibility implementation of first aspect, described resource request also comprises client identification, before then the described length according to described data to be written and attribute information determine the mark of one or more Target IP hard disks to be written, described method also comprises: according to the corresponding relation between the mark in described client identification and client identification and user resources pond, determine the mark of targeted customer's resource pool that described client identification is corresponding; Described targeted customer's resource pool comprises described one or more Target IP hard disk; Then the described length according to described data to be written and attribute information determine the mark of one or more Target IP hard disks to be written, comprise: according to length and the attribute information of described data to be written, from described targeted customer's resource pool, determine the mark of described one or more Target IP hard disk.In the present embodiment, processor, from being select target IP hard disk the user resources pond of client establishment in advance, reducing the scope of inquiry IP hard disk, effectively improves the speed writing data.
May implementation in conjunction with the first of first aspect or first aspect, in the second possibility implementation of first aspect, after the described length according to described data to be written and attribute information determine the mark of one or more Target IP hard disks to be written, described method also comprises: send reservation operations instruction to described one or more Target IP hard disk, it is described client reserves storage resources that described reservation operations instruction is used to indicate described Target IP hard disk.In the present embodiment, processor is before write data, first send reservation operations instruction to Target IP hard disk, make Target IP hard disk be that data to be written reserve storage resources, avoid because other data take Target IP hard disk and cause this to write the phenomenon of data failure.
In conjunction with any one possibility implementation of first aspect, in the third possibility implementation of first aspect, the described length according to described data to be written and attribute information determine the mark of multiple Target IP hard disks to be written, comprise: according to length and the attribute information of described data to be written, burst process is carried out to described data to be written; Respectively the key word that Hash calculation generates described each fragment data is carried out to each fragment data; According to the key word of described each fragment data, for described each fragment data determines the mark of corresponding Target IP hard disk.In the present embodiment, be stored in by data fragmentation to be written in multiple Target IP hard disk, storage speed is fast, and storage efficiency is high.
Second aspect, the embodiment of the present invention provides a kind of management devices of IP hard disk, comprising: receiver module, and receive the resource request that client sends, described resource request comprises data to be written, and the length of described data to be written and attribute information; Processing module, for determining the mark of one or more Target IP hard disks to be written according to the length of described data to be written and attribute information; Determine the interface type of described Target IP hard disk respectively according to the mark of described Target IP hard disk and interface library, in described interface library, preserve the corresponding relation between the mark of each IP hard disk interface type corresponding with it; Be the data protocol corresponding with described interface type by described data transformations to be written; Sending module, for sending to described Target IP hard disk by described data protocol.The device of the present embodiment, can be used for the method and technology scheme that execution first aspect provides, it realizes principle and beneficial effect is similar, repeats no more herein.
In conjunction with second aspect, in the first possibility implementation of second aspect, if described resource request also comprises client identification, then described processing module is also for according to the corresponding relation between the mark of described client identification and client identification and user resources pond, determines the mark of targeted customer's resource pool that described client identification is corresponding; Described targeted customer's resource pool comprises described one or more Target IP hard disk; Then described processing module determines the mark of one or more Target IP hard disks to be written according to the length of described data to be written and attribute information, comprise: described processing module, according to the length of described data to be written and attribute information, determines the mark of described one or more Target IP hard disk from described targeted customer's resource pool.The device of the present embodiment, the method and technology scheme that the first the possibility implementation that can be used for performing first aspect provides, it realizes principle and beneficial effect is similar, repeats no more herein.
May implementation in conjunction with the first of second aspect or second aspect, described in the second possibility implementation of second aspect, sending module is also for sending reservation operations instruction to described one or more Target IP hard disk, and it is described client reserves storage resources that described reservation operations instruction is used to indicate described Target IP hard disk.The device of the present embodiment, the method and technology scheme that the second possibility implementation that can be used for performing first aspect provides, it realizes principle and beneficial effect is similar, repeats no more herein.
In conjunction with any one possibility implementation of second aspect, in the third possibility implementation of second aspect, described processing module determines the mark of multiple Target IP hard disks to be written according to the length of described data to be written and attribute information, comprise: described processing module, according to the length of described data to be written and attribute information, carries out burst process to described data to be written; Respectively the key word that Hash calculation generates described each fragment data is carried out to each fragment data; According to the key word of described each fragment data, for described each fragment data determines the mark of corresponding Target IP hard disk.The device of the present embodiment, the method and technology scheme that the third possibility implementation that can be used for performing first aspect provides, it realizes principle and beneficial effect is similar, repeats no more herein.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The application scenarios schematic diagram of the management method of the IP hard disk that Fig. 1 provides for the embodiment of the present invention;
The process flow diagram of the management method of the IP hard disk that Fig. 2 provides for the embodiment of the present invention one;
The process flow diagram of the management method of the IP hard disk that Fig. 3 provides for the embodiment of the present invention two;
Fig. 4 is the form schematic diagram in a kind of user resources pond provided by the invention;
Fig. 5 is the form schematic diagram in another kind of user resources pond provided by the invention;
Fig. 6 is the form schematic diagram in another user resources pond provided by the invention;
The structural representation of the management devices of the IP hard disk that Fig. 7 provides for the embodiment of the present invention three.
Embodiment
The method that the embodiment of the present invention relates to, be intended to solve IP hard disk management method of the prior art can not provide interface shape from unified IP hard disk to user, also cannot realize the unified management of IP hard disk, cause the application of IP hard disk to receive this technical matters of significant limitation.
With embodiment particularly, technical scheme of the present invention is described in detail below.These specific embodiments can be combined with each other below, may repeat no more for same or analogous concept or process in some embodiment.
The application scenarios schematic diagram of the management method of the IP hard disk that Fig. 1 provides for the embodiment of the present invention.This scene is a storage system, as shown in Figure 1, this storage system comprises at least IP hard disk controller and multiple IP hard disk, wherein, IP hard disk controller can be the equipment such as server, computing machine, IP hard disk controller comprises processor 1 and storer 6, and storer 6 is IP hard disks that two kinds of interface types are not identical for memory interface storehouse 2 and interface library 3, IP hard disk 4 with IP hard disk 5.
Processor 1 may be a central processing unit (CentralProcessingUnit, be called for short CPU), or special IC (ApplicationSpecificIntegratedCircuit, be called for short ASIC), or be configured to the one or more integrated circuit implementing the embodiment of the present invention.In embodiments of the present invention, processor 1 can be used for receiving the resource request from client transmission and read data request, and sends to IP hard disk after processing described resource request and read data request and perform other operation.
Storer 6, for depositing programmed instruction and related data, storer 6 may comprise high-speed RAM storer, still may comprise nonvolatile memory (non-volatilememory), such as at least one magnetic disk memory.Be understandable that, storer 6 can be random access memory (Random-AccessMemory, RAM), magnetic disc, hard disk, CD, solid state hard disc (SolidStateDisk, SSD) or nonvolatile memory etc. various can be program code stored (non-transitory) machine readable media of non-transience.In embodiments of the present invention, storer 6 can be used for storing relevant programmed instruction, interface library etc.
Interface library is the storage file of form or the software programs for data query such as file, database, form, interface library comprises the corresponding relation between the mark of the IP hard disk interface type corresponding with it, the IP hard disk of the corresponding a kind of interface type of each interface library, interface library can also record the IP hard disk of corresponding interface type number and increase, the information such as to delete.The interface type of IP hard disk can be small computer system interface (SmallComputerSystemInterface is called for short SCSI), Serial Attached SCSI (SAS) interface (SerialAttachedSCSI is called for short SAS) etc.
The process flow diagram of the management method of the IP hard disk that Fig. 2 provides for the embodiment of the present invention one.The method of the present embodiment is applied in the scene shown in Fig. 1, and the method is performed by the processor in Fig. 1, and as shown in Figure 2, the method comprises the following steps:
Step 101, receive the resource request that client sends, resource request comprises data to be written, and the length of data to be written and attribute information.
In the present embodiment, the length of data to be written is for judging that storing data to be written needs how jumbo storage space, and the data message of data to be written comprises word, picture, audio frequency, video etc.
Step 102, determine the mark of one or more Target IP hard disks to be written according to the length of data to be written and attribute information.
In the present embodiment, processor judges the type of the IP hard disk stored needed for these data according to the attribute information of data to be written, judge the quantity of the IP hard disk of the respective type stored needed for these data according to the length of data to be written, thus determine the mark of one or more Target IP hard disk.
Step 103, respectively according to the mark of Target IP hard disk and the interface type of interface library determination Target IP hard disk, in interface library, preserve the corresponding relation between the mark of each IP hard disk interface type corresponding with it.
In the present embodiment, because the interface shape of dissimilar IP hard disk is not identical, after the type determining IP hard disk, processor needs query interface storehouse, obtains the interface type corresponding with the mark of Target IP hard disk.Wherein, interface library can be the forms such as file, database, form.
Step 104, be the data protocol corresponding with interface type by data transformations to be written.
Step 105, data protocol is sent to Target IP hard disk.
In the present embodiment, processor sends to Target IP hard disk after data transformations to be written is the data protocol corresponding with the interface type of Target IP, ensures that IP hard disk correctly can be resolved data protocol, stores data.
The management method of the IP hard disk that the present embodiment provides, processor receives the resource request that client sends, 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 in resource request and attribute information, respectively according to the mark of Target IP hard disk and the interface type of interface library determination Target IP hard disk, by the data protocol that data transformations to be written is corresponding with interface type, data protocol is sent to Target IP hard disk.Because interface library preserves the corresponding relation between the mark of each IP hard disk interface type corresponding with it, therefore, processor can obtain the interface type of dissimilar IP hard disk in query interface storehouse, communicate with the IP hard disk of different interface type, thus realize the unified management of dissimilar IP hard disk, and, user can store data in dissimilar IP hard disk by client and processor communication, be equivalent to provide unified interface shape to user, make the application of IP hard disk more extensive.
The process flow diagram of the management method of the IP hard disk that Fig. 3 provides for the embodiment of the present invention two.The present embodiment be detailed description to embodiment of the method shown in Fig. 2, the method is performed by the processor in Fig. 1, and as shown in Figure 3, the method comprises the following steps:
The resource request that step 201, reception client send.
Wherein, resource request comprises data to be written, and the length of data to be written and attribute information.
Alternatively, if also comprise client identification in resource request, then, before step " determines the mark of one or more Target IP hard disks to be written " according to the length of described data to be written and attribute information, step 202 can also be comprised, further, the step 102 in Fig. 1 can be replaced by step 203.
Step 202, according to the corresponding relation between the mark in client identification and client identification and user resources pond, determine the mark of targeted customer's resource pool that client identification is corresponding; Targeted customer's resource pool comprises one or more Target IP hard disk.
In the present embodiment, processor can also be that client creates user resources pond according to resource request, and this user resources pond can comprise the IP hard disk of a type, also can comprise dissimilar IP hard disk.Fig. 4 is the form schematic diagram in a kind of user resources pond provided by the invention, and Fig. 5 is the form schematic diagram in another kind of user resources pond provided by the invention, and Fig. 6 is the form schematic diagram in another user resources pond provided by the invention.As shown in Figure 4, this user resources pond comprises the IP hard disk of a type.As shown in Figure 5, this user resources pond comprises at least two sub-resource pools, and each child resource pond comprises the IP hard disk of a type.As shown in Figure 6, this user resources pond comprises the IP hard disk of at least two types.
Step 203, according to the length of data to be written and attribute information, from targeted customer's resource pool, determine the mark of one or more Target IP hard disk.
Alternatively, the implementation of step 203 can comprise the following steps:
Step 2031, according to the length of data to be written and attribute information, burst process is carried out to data to be written;
Step 2032, respectively the key word that Hash calculation generates each fragment data is carried out to each fragment data;
Step 2033, key word according to each fragment data, for each fragment data determines the mark of corresponding Target IP hard disk.
Step 204, send reservation operations instruction to one or more Target IP hard disk, it is client reserves storage resources that reservation operations instruction is used to indicate Target IP hard disk.
It should be noted that, step 204 is an optional step, also directly can perform step 205 after step 203.
Step 205, respectively according to the mark of Target IP hard disk and the interface type of interface library determination Target IP hard disk.
Wherein, the corresponding relation between the mark of each IP hard disk interface type corresponding with it is preserved in interface library.
Step 206, be the data protocol corresponding with interface type by data transformations to be written.
Data protocol is also sent to Target IP hard disk by step 207.
Alternatively, after data being write Target IP hard disk, the data in Target IP hard disk can also be read, specifically comprise the steps:
The read data request that step 208, reception client send.
Wherein, read data request comprises key word and the client identification of data to be read.
Step 209, according to the corresponding relation between the mark in client identification and client identification and user resources pond, determine the mark of targeted customer's resource pool that client identification is corresponding.
Step 210, obtain the key word of each fragment data according to the key word of data to be read, and according to the corresponding relation between the key word of fragment data and the mark of IP hard disk, from targeted customer's resource pool, determine the mark of the Target IP hard disk that the key word of each fragment data is corresponding respectively.
Step 211, send reading command to each Target IP hard disk.
Step 212, receive each Target IP hard disk send fragment data.
Step 213, all fragment datas are assembled into data to be read, and data to be read are sent to client.
The management method of the IP hard disk that the present embodiment provides, user sends resource request by client to IP hard disk controller, processor is according to the client identification query aim user resources pond mark in resource request, according to length and the attribute information of data to be written, the mark of one or more Target IP hard disk is determined from targeted customer's resource pool, and send reservation operations instruction to one or more Target IP hard disk, indicating target IP hard disk is client reserves storage resources, be send to Target IP hard disk after the data protocol corresponding with interface type by data transformations to be written, and, user can by reading data in IP hard disk controller just Target IP hard disk, can realize storing data in dissimilar IP hard disk, and, storing process is simple, storage efficiency is high.
The structural representation of the management devices of the IP hard disk that Fig. 7 provides for the embodiment of the present invention three.As shown in Figure 7, this device comprises receiver module 11, processing module 12 and sending module 13.Receiver module 11 receives the resource request that client sends, and resource request comprises data to be written, and the length of data to be written and attribute information; Processing module 12 is for determining the mark of one or more Target IP hard disks to be written according to the length of data to be written and attribute information; Respectively according to the mark of Target IP hard disk and the interface type of interface library determination Target IP hard disk, in interface library, preserve the corresponding relation between the mark of each IP hard disk interface type corresponding with it; By the data protocol that data transformations to be written is corresponding with interface type; Sending module 13 is for sending to Target IP hard disk by data protocol.
The device of the present embodiment, can be used for the technical scheme performing embodiment of the method shown in Fig. 2, it realizes principle and friendship effect is similar, repeats no more herein.
Alternatively, if resource request also comprises client identification, then processing module 12 is also for according to the corresponding relation between the mark of client identification and client identification and user resources pond, determines the mark of targeted customer's resource pool that client identification is corresponding; Targeted customer's resource pool comprises one or more Target IP hard disk; Then processing module 12 determines the mark of one or more Target IP hard disks to be written according to the length of data to be written and attribute information, comprise: processing module 12, according to the length of data to be written and attribute information, determines the mark of one or more Target IP hard disk from targeted customer's resource pool.
Alternatively, sending module 13 is also for sending reservation operations instruction to one or more Target IP hard disk, and it is client reserves storage resources that reservation operations instruction is used to indicate Target IP hard disk.
Alternatively, processing module 12 determines the mark of multiple Target IP hard disks to be written according to the length of data to be written and attribute information, comprising: processing module 12, according to the length of data to be written and attribute information, carries out burst process to data to be written; Respectively the key word that Hash calculation generates each fragment data is carried out to each fragment data; According to the key word of each fragment data, for each fragment data determines the mark of corresponding Target IP hard disk.
The device of the present embodiment, can be used for the technical scheme performing embodiment of the method shown in Fig. 3, it realizes principle and beneficial effect is similar, repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM (read-only memory) (Read-OnlyMemory, be called for short ROM), random access memory (randomaccessmemory, be called for short RAM), magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (8)

1. the method for the IP hard disk in a management storage systems, it is characterized in that, described storage system comprises multiple IP hard disk and at least one IP hard disk controller, and described IP hard disk controller comprises processor and storer, described method is performed by described processor, comprising:
Receive the resource request that client sends, described resource request comprises data to be written, and the length of described data to be written and attribute information;
The mark of one or more Target IP hard disks to be written is determined according to the length of described data to be written and attribute information;
Determine the interface type of described Target IP hard disk respectively according to the mark of described Target IP hard disk and interface library, in described interface library, preserve the corresponding relation between the mark of each IP hard disk interface type corresponding with it;
Be the data protocol corresponding with described interface type by described data transformations to be written;
Described data protocol is sent to described Target IP hard disk.
2. method according to claim 1, it is characterized in that, described resource request also comprises client identification, then, before the described length according to described data to be written and attribute information determine the mark of one or more Target IP hard disks to be written, described method also comprises:
According to the corresponding relation between the mark in described client identification and client identification and user resources pond, determine the mark of targeted customer's resource pool that described client identification is corresponding; Described targeted customer's resource pool comprises described one or more Target IP hard disk;
Then the described length according to described data to be written and attribute information determine the mark of one or more Target IP hard disks to be written, comprising:
According to length and the attribute information of described data to be written, from described targeted customer's resource pool, determine the mark of described one or more Target IP hard disk.
3. method according to claim 1 and 2, is characterized in that, after the described length according to described data to be written and attribute information determine the mark of one or more Target IP hard disks to be written, described method also comprises:
Send reservation operations instruction to described one or more Target IP hard disk, it is described client reserves storage resources that described reservation operations instruction is used to indicate described Target IP hard disk.
4. the method according to any one of claim 1-3, is characterized in that, the described length according to described data to be written and attribute information determine the mark of multiple Target IP hard disks to be written, comprising:
According to length and the attribute information of described data to be written, burst process is carried out to described data to be written;
Respectively the key word that Hash calculation generates described each fragment data is carried out to each fragment data;
According to the key word of described each fragment data, for described each fragment data determines the mark of corresponding Target IP hard disk.
5. a management devices for Internet protocol IP hard disk, is characterized in that, comprising:
Receiver module, receive the resource request that client sends, described resource request comprises data to be written, and the length of described data to be written and attribute information;
Processing module, for determining the mark of one or more Target IP hard disks to be written according to the length of described data to be written and attribute information; Determine the interface type of described Target IP hard disk respectively according to the mark of described Target IP hard disk and interface library, in described interface library, preserve the corresponding relation between the mark of each IP hard disk interface type corresponding with it; Be the data protocol corresponding with described interface type by described data transformations to be written;
Sending module, for sending to described Target IP hard disk by described data protocol.
6. device according to claim 5, it is characterized in that, if described resource request also comprises client identification, then described processing module is also for according to the corresponding relation between the mark of described client identification and client identification and user resources pond, determines the mark of targeted customer's resource pool that described client identification is corresponding; Described targeted customer's resource pool comprises described one or more Target IP hard disk;
Then described processing module determines the mark of one or more Target IP hard disks to be written according to the length of described data to be written and attribute information, comprising:
Described processing module, according to the length of described data to be written and attribute information, determines the mark of described one or more Target IP hard disk from described targeted customer's resource pool.
7. the device according to claim 5 or 6, it is characterized in that, described sending module is also for sending reservation operations instruction to described one or more Target IP hard disk, and it is described client reserves storage resources that described reservation operations instruction is used to indicate described Target IP hard disk.
8. the device according to any one of claim 5-7, is characterized in that, described processing module determines the mark of multiple Target IP hard disks to be written according to the length of described data to be written and attribute information, comprising:
Described processing module, according to the length of described data to be written and attribute information, carries out burst process to described data to be written; Respectively the key word that Hash calculation generates described each fragment data is carried out to each fragment data; According to the key word of described each fragment data, for described each fragment data determines the mark of corresponding Target IP hard disk.
CN201510808475.8A 2015-11-20 2015-11-20 The management method and device of IP hard disks Active CN105468300B (en)

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 true CN105468300A (en) 2016-04-06
CN105468300B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436725A (en) * 2016-05-25 2017-12-05 杭州海康威视数字技术股份有限公司 A kind of data are write, read method, apparatus and distributed objects storage cluster
CN108646981A (en) * 2018-04-28 2018-10-12 深圳市茁壮网络股份有限公司 A kind of data buffer storage node administration method, data cache method and caching management node
CN109101186A (en) * 2017-06-20 2018-12-28 上海宝存信息科技有限公司 Data memory device and data storage method
CN109669633A (en) * 2018-12-17 2019-04-23 郑州云海信息技术有限公司 A kind of magnetic disc control method of distributed memory system, device, equipment and medium
CN114116560A (en) * 2020-08-31 2022-03-01 华为技术有限公司 Information interaction method and device
CN115061958A (en) * 2022-07-05 2022-09-16 中国长城科技集团股份有限公司 Hard disk identification method, identification system, storage medium and computer equipment
CN115495398A (en) * 2022-09-28 2022-12-20 北京亚控科技发展有限公司 Interface resource operation method and device, electronic equipment, storage medium and product

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040174893A1 (en) * 2003-03-03 2004-09-09 Nec Corporation iSCSI apparatus and communication control method for the same
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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040174893A1 (en) * 2003-03-03 2004-09-09 Nec Corporation iSCSI apparatus and communication control method for the same
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

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436725A (en) * 2016-05-25 2017-12-05 杭州海康威视数字技术股份有限公司 A kind of data are write, read method, apparatus and distributed objects storage cluster
US11216187B2 (en) 2016-05-25 2022-01-04 Hangzhou Hikvision Digital Technology Co., Ltd. Data writing and reading method and apparatus, and distributed object storage cluster
CN109101186A (en) * 2017-06-20 2018-12-28 上海宝存信息科技有限公司 Data memory device and data storage method
CN108646981A (en) * 2018-04-28 2018-10-12 深圳市茁壮网络股份有限公司 A kind of data buffer storage node administration method, data cache method and caching management node
CN109669633A (en) * 2018-12-17 2019-04-23 郑州云海信息技术有限公司 A kind of magnetic disc control method of distributed memory system, device, equipment and medium
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
CN115061958A (en) * 2022-07-05 2022-09-16 中国长城科技集团股份有限公司 Hard disk identification method, identification system, storage medium and computer equipment
CN115495398A (en) * 2022-09-28 2022-12-20 北京亚控科技发展有限公司 Interface resource operation method and device, electronic equipment, storage medium and product
CN115495398B (en) * 2022-09-28 2023-06-30 北京亚控科技发展有限公司 Interface resource operation method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2017084348A1 (en) 2017-05-26
CN105468300B (en) 2018-08-14

Similar Documents

Publication Publication Date Title
CN105468300A (en) IP hard disc management method and device
CN107911249B (en) Method, device and equipment for sending command line of network equipment
CN103607428B (en) A kind of method and apparatus for accessing shared drive
CN102413156B (en) Distributed data storage system and method
US8452941B2 (en) System and method for distributing random and sequential data in a tiered storage system
US9940020B2 (en) Memory management method, apparatus, and system
EP3470984A1 (en) Method, device, and system for managing disk lock
CN103595790A (en) Remote accessing method for device, thin client side and virtual machine
CN104020961A (en) Distributed data storage method, device and system
US8868877B2 (en) Creating encrypted storage volumes based on thin-provisioning mode information
CN112104663B (en) Method and equipment for managing login user and user equipment
US9590839B2 (en) Controlling access to a shared storage system
CN104104705A (en) Access method and device of distributed storage system
CN108234551A (en) A kind of data processing method and device
EP3901766A1 (en) Offline configuration method and apparatus for smart device
CN103580918A (en) Method and device for processing configuration data
WO2012042724A1 (en) Systems and methods for managing a virtual tape library domain
CN105162833B (en) Client management system and method applied to non-disk workstation
CN102662879B (en) Processing method and system for input of multiplex peripheral equipment based on Windows operation system
CN104216834A (en) Internal storage assess method, buffering scheduler and internal storage module
CN103412860A (en) Method and device for extending database and database system
CN117407159A (en) Memory space management method and device, equipment and storage medium
CN104077374A (en) Method and device for achieving internet protocol (IP) disk file storage
CN105144073A (en) Removable storage device identity and configuration information
CN107944010B (en) Method and device for reading and writing files in distributed file system

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