CN103955344B - A kind of data processing method and hard disk - Google Patents
A kind of data processing method and hard disk Download PDFInfo
- Publication number
- CN103955344B CN103955344B CN201410201866.9A CN201410201866A CN103955344B CN 103955344 B CN103955344 B CN 103955344B CN 201410201866 A CN201410201866 A CN 201410201866A CN 103955344 B CN103955344 B CN 103955344B
- Authority
- CN
- China
- Prior art keywords
- hard disk
- storage
- data
- data processing
- sent
- 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
Abstract
The embodiment of the present invention provides a kind of data processing method and hard disk, is related to data processing field, under the application scenarios of ether interface hard disk, making full use of hard disk, improves the utilization rate of storage resource, this method includes:The data processing instructions that first hard disk desampler is sent, and when determining that the storage address is in the second hard disk, which is sent to the second hard disk, so that second hard disk performs data processing according to the data processing instructions.This method embodiment is used for data processing.
Description
Technical field
The present invention relates to data processing field more particularly to a kind of data processing method and hard disks.
Background technology
The development of cloud storage technology has pushed the development of the application based on Key-Value (key/value) mode interface, at present
Through there is the ether interface hard disk based on Key-Value semantemes, ether interface hard disk has abandoned the SCSI of conventional hard
(Small Computer System Interface, small computer system interface) interface and its consensus standard, using IP
(Internet Protocol, the agreement interconnected between network) is realized and external communication.
Current ether interface hard disk provides open Key-Value semantic interfaces, and user passes through API in client-side
(Application Programming Interface, application programming interface) is called hard using the ether interface of rear end
Disk.The ether interface hard disk can not complete certain work by host computer control, and therefore, ether interface hard disk can be added to
Distributed storage network is taken together with other ether interface hard disks or distributed storage controller component, supports depositing for more capacity
Storage service.
In the prior art, Seagate Technology has issued the ether interface hard disk of a entitled Kinetic, is provided using Ethernet
Link carries, and application access is carried out using Key-Value systematic fashions in application layer, and client provides Key (key) as address,
The addressing of ether interface hard disk finds the corresponding Value of Key (value) and is back to client, alternatively, ether interface hard disk writes Value
Enter the corresponding hard disk addresses of Key.
But ether interface hard disk of the prior art must by Ethernet and external linkage, meanwhile, under existing scene
Also there are many SAS (Serial Attached SCSI, serial connecting small computer system interface)/SATA (Serial
Advanced Technology Attachment, Serial Advanced Technology Attachment) interface conventional hard, the serial interface hard disk
Can not be by Ethernet and external linkage, therefore can be idle, storage resource is caused to waste.
Invention content
The embodiment of the present invention provides a kind of data processing method and hard disk, in the application scenarios of ether interface hard disk
Under, hard disk is made full use of, improves the utilization rate of storage resource.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, a kind of data processing method is provided, including:
The data processing instructions that first hard disk desampler is sent, wherein, the data processing instructions include storage
Location, first hard disk include ether interface hard disk;
When determining that the storage address is in the second hard disk, the data processing instructions are sent to the second hard disk, with
Toilet states the second hard disk and performs data processing according to the data processing instructions.
With reference to first aspect, in first aspect in the first possible realization method, the data processing instructions include number
According to store instruction, the storage address includes the first storage address, and the instruction data storage includes the first storage data;
It is described that the data processing instructions are sent to the second hard disk, so that second hard disk is according to the data processing
Instruction performs data processing and includes:
The instruction data storage is sent to the second hard disk, so that second hard disk is according to first storage address
Store the first storage data.
With reference to first aspect, in second of possible realization method of first aspect, the data processing instructions include number
It is instructed according to reading, the storage address includes the second storage address;
It is described that the data processing instructions are sent to the second hard disk, so that second hard disk is according to the data processing
Instruction performs data processing and includes:
The data read command is sent to the second hard disk, so that second hard disk is according to second storage address
The second storage data are read, and the described second storage data are sent to first hard disk;
After second hard disk performs data processing according to the data processing instructions, receive second hard disk and send
Second storage data, and by described second storage data be sent to the interchanger.
With reference to first aspect any one of to second of possible realization method of first aspect, first aspect the third
In possible realization method, second hard disk includes serial interface hard disk.
With reference to first aspect any one of to second of possible realization method of first aspect, in the 4th kind of first aspect
In possible realization method, second hard disk includes ether interface hard disk.
Second aspect provides a kind of hard disk, including:Memory, processor, first transceiver and second transceiver;
The memory is used to store data;
The processor is used for, the data processing instructions sent by the first transceiver desampler, wherein, institute
It states data processing instructions and includes storage address;
The processor is additionally operable to, and when determining that the storage address is in the second hard disk, passes through second transmitter
The data processing instructions are sent to the second hard disk, so that second hard disk performs data according to the data processing instructions
Processing.
With reference to second aspect, in second aspect in the first possible realization method, the data processing instructions include number
According to store instruction, the storage address includes the first storage address, and the instruction data storage includes the first storage data;
The processor is specifically used for, and the instruction data storage is sent to second firmly by the second transceiver
Disk, so that second hard disk is according to first storage address storage the first storage data.
With reference to second aspect, in second of possible realization method of second aspect, the data processing instructions include number
It is instructed according to reading, the storage address includes the second storage address;
The processor is specifically used for, and the data read command is sent to second firmly by the second transceiver
Disk, so that second hard disk reads the second storage data, and store data by described second according to second storage address
First hard disk is sent to, and after second hard disk performs data processing according to the data processing instructions, receives institute
It states the second storage data of the second hard disk transmission, and by the first transceiver is sent to the described second storage data described
Interchanger.
With reference to any one of second aspect to second of possible realization method of second aspect, second aspect the third
In possible realization method, second hard disk includes serial interface hard disk;
The second transceiver includes:Serial line interface, for being connect with second hard disk.
With reference to any one of second aspect to second of possible realization method of second aspect, in the 4th kind of second aspect
In possible realization method, second hard disk includes ether interface hard disk.
By using the data processing instructions that said program, the first hard disk desampler are sent, and determining the storage
When address is in the second hard disk, which is sent to the second hard disk, so as to second hard disk according to the data at
Reason instruction performs data processing, in this way, being connect by the first hard disk with the second hard disk, classification connection is realized, so that hard disk
Network is accessed by first hard disk, realizes store function, improves the utilization rate of storage resource.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for this
For the those of ordinary skill of field, without creative efforts, others are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of flow diagram of data processing method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another data processing method provided in an embodiment of the present invention;
Fig. 3 is a kind of structure diagram of hard disk provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of another hard disk provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of another hard disk provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of data processing method, as shown in Figure 1, the executive agent of this method is hard for first
Disk, this method include:
The data processing instructions that S101, the first hard disk desampler are sent.
Wherein, which includes storage address, which includes ether interface hard disk.
Specifically, which can be ether interface hard disk, and network side distributes IP for the ether interface hard disk
(Internet Protocol, the agreement interconnected between network) address, the ether interface hard disk can be connect by ethernet switch
Enter network, and realize that data store by IP address.
It should be noted that if first hard disk realizes that hard disk is visited in application layer using key-value (Key-Value) mode
It asks, then the storage address is key (Key), in addition, the storage address can also be the LBA (Logical in serial interface hard disk
Block Address, logical block addresses), the embodiment of the present invention is not construed as limiting this.
S102, the first hard disk are sent to when determining that the storage address is in the second hard disk, by the data processing instructions
Two hard disks, so that second hard disk performs data processing according to the data processing instructions.
Wherein, which connects at least one second hard disk.
Specifically, which obtains the data processing and refers to after the data processing instructions for receiving interchanger transmission
Storage address in order when determining that the storage address is in the first hard disk, directly performs data according to the data processing instructions
The data processing instructions when determining that the storage address is in the second hard disk, are sent to the second hard disk by processing, so as to second firmly
Packing performs data processing according to the data processing instructions.
In a kind of possible realization method of the present invention, which includes instruction data storage, the storage
Location includes the first storage address, which includes the first storage data, and the first hard disk sends out the instruction data storage
It send to the second hard disk, so that second hard disk stores the first storage data according to first storage address.
Illustratively, the first hard disk obtains the first storage in the instruction data storage after instruction data storage is received
The instruction data storage when determining that first storage address is in the second hard disk, is sent to the second hard disk, second is hard by address
Disk obtains the first storage address and the first storage data after the instruction data storage is received, according to the instruction data storage,
The first storage data are stored in the corresponding memory space of the storage address, so as to complete data storage procedure.
In the alternatively possible realization method of the present invention, which includes data read command, the storage
Address includes the second storage address, which is sent to the second hard disk by the first hard disk, so as to the second hard disk root
The second storage data are read, and the second storage data are sent to first hard disk according to second storage address, this is first hard
Disk receives the second storage data of second hard disk transmission, and the second storage data are sent to the interchanger.
Illustratively, the first hard disk obtains the second storage in the data read command after instruction data storage is received
The data read command when determining that second storage address is in the second hard disk, is sent to the second hard disk, second is hard by address
Disk obtains the second storage address after the data read command is received, according to the data read command, reads second storage
The corresponding memory space in address simultaneously obtains the second storage data, and the second storage data are sent to the first hard disk, and first is hard
Disk receives the second storage data, and the second storage data are sent to interchanger, so as to complete data read process.
It should be noted that in the embodiment of the present invention, first hard disk when determining that the storage address is in the second hard disk,
The data processing instructions can be sent to the second hard disk by the first hard disk, which obtains further according to the data processing instructions
The storage address, in addition, the first hard disk can also directly by the storage address send the second hard disk, the embodiment of the present invention to this not
It is construed as limiting.
Further, which includes serial interface hard disk.
Specifically, which includes SAS (Serial Attached SCSI, Serial Attached Small Computer
System interface)/SATA (Serial Advanced Technology Attachment, Serial Advanced Technology Attachment) interface
Conventional hard, then corresponding, which uses SAS/SCSI (Small Computer System with second hard disk
Interface, small computer system interface) interface and its consensus standard be attached.
Optionally, which includes ether interface hard disk.
Specifically, which includes:IP/PCI-E(PCI-Express;Quick PCI (Peripheral
Component Interconnect, peripheral component interconnection)) network hard disc of/IB (InfiniBand, interconnection architecture) interface,
Then corresponding, which is attached with second hard disk using Ethernet/PCI-E/IB interfaces and its consensus standard.
It, can also be by network interface directly and network side it should be noted that second hard disk is ether interface hard disk
It is attached, but multiple ether interface hard disks, which are directly accessed network, can consume a large amount of IP address, implement by using the present invention
The classification connection structure that example provides, it is possible to reduce the IP address of occupancy.
Further, which can connect ether interface hard disk and serial interface hard disk simultaneously, then this is first hard
Disk has Ethernet/PCI-E/IB interfaces and SAS/SCSI interfaces simultaneously, and with corresponding link layer protocol.
By using the method that above-mentioned executive agent is the first hard disk, the data processing that the first hard disk desampler is sent
The data processing instructions and when determining that the storage address is in the second hard disk, are sent to the second hard disk by instruction, so as to this
Two hard disks perform data processing according to the data processing instructions, in this way, being connect by the first hard disk with the second hard disk, realize classification
Connection so that hard disk accesses network by first hard disk, realizes store function, improves the utilization rate of storage resource.
The embodiment of the present invention provides a kind of method of data processing, as shown in Fig. 2, the executive agent of this method connects for ether
Mouth hard disk, the ether interface hard disk are connect by adding serial line interface and its agreement at least one serial interface hard disk, the party
Method includes:
S201, the network switch are to ether interface hard disk transmission data store instruction.
Wherein, which includes the first storage address and the first storage data.
Specifically, which can be ether interface hard disk, and network side distributes IP for the ether interface hard disk
(Internet Protocol, the agreement interconnected between network) address, the ether interface hard disk can be connect by ethernet switch
Enter network, and realize that data store by IP address.
It should be noted that if first hard disk realizes that hard disk is visited in application layer using key-value (Key-Value) mode
It asks, then the storage address is key (Key), in addition, the storage address can also be the LBA (Logical in serial interface hard disk
Block Address, logical block addresses), the embodiment of the present invention is not construed as limiting this.
S202, ether interface hard disk obtain the first storage address according to the instruction data storage.
S203, ether interface hard disk are when determining that first storage address is in serial interface hard disk, to the serial line interface
Hard disk sends the instruction data storage.
Specifically, which obtains the data and deposits after the instruction data storage for receiving interchanger transmission
Storage address in storage instruction, when determining that the storage address is in ether interface hard disk, directly according to the instruction data storage
Data processing is performed, when determining that the storage address is in serial interface hard disk, which is sent to serial interface
Mouth hard disk, so that serial interface hard disk performs data processing according to the instruction data storage.
S204, serial interface hard disk obtain the first storage address and the first storage data according to the instruction data storage.
The first storage data are stored in the corresponding memory space of the first storage address by S205, serial interface hard disk.
Illustratively, ether interface hard disk obtains first in the instruction data storage after instruction data storage is received
The instruction data storage when determining that first storage address is in serial interface hard disk, is sent to serial interface by storage address
Mouth hard disk, serial interface hard disk obtain the first storage after the instruction data storage is received, according to the instruction data storage
The first storage data are stored in the corresponding memory space of the storage address, so as to complete data by location and the first storage data
Storing process.
Further, serial interface hard disk sends to the ether interface hard disk and responds after the first storage data are stored
Message (message is not shown in figure), so that the response message is sent to the network switch by ether interface hard disk, to notify net
Network side the first storage data have stored.
S206, the network switch read to ether interface hard disk transmission data and instruct.
Wherein, which includes the second storage address.
S207, ether interface hard disk obtain second storage address according to the data read command.
S208, ether interface hard disk are when determining that second storage address is in serial interface hard disk, to the serial line interface
Hard disk sends the data read command.
Specifically, which obtains data reading after the data read command for receiving interchanger transmission
Storage address in instruction fetch, when determining that the storage address is in ether interface hard disk, directly according to the data read command
Data processing is performed, when determining that the storage address is in serial interface hard disk, which is sent to serial interface
Mouth hard disk, so that serial interface hard disk performs data processing according to the data read command.
S209, serial interface hard disk obtain the second storage address according to the data read command.
S210, serial interface hard disk according to second storage address obtain second storage data, and by this second storage number
According to being sent to ether interface hard disk.
The second storage data are sent to the network switch by S211, ether interface hard disk.
Illustratively, ether interface hard disk obtains second in the data read command after instruction data storage is received
The data read command when determining that second storage address is in serial interface hard disk, is sent to serial interface by storage address
Mouth hard disk, serial interface hard disk obtain the second storage after the data read command is received, according to the data read command
Location reads the corresponding memory space of the second storage address and obtains the second storage data, and the second storage data are sent
To ether interface hard disk, ether interface hard disk receives the second storage data, and the second storage data are sent to interchanger,
So as to complete data read process.
It should be noted that in the embodiment of the present invention, which is determining the storage address in serial line interface
When in hard disk, which can be sent to serial interface hard disk by the data processing instructions, the serial interface hard disk
The storage address is obtained further according to the data processing instructions, in addition, ether interface hard disk can also directly send out the storage address
Serial interface hard disk is sent, the embodiment of the present invention is not construed as limiting this.
Wherein, which includes SAS (Serial Attached SCSI, serial connecting small computer
Unite interface)/SATA (Serial Advanced Technology Attachment, Serial Advanced Technology Attachment) interface biography
System hard disk, then using SAS/SCSI (Small Computer System Interface, small computer system interface) interface
And its consensus standard is attached.
It is alternatively possible to substitute the serial interface hard disk using ether interface hard disk, which includes:IP/
PCI-E(PCI-Express;Quick PCI (Peripheral Component Interconnect, peripheral component interconnection))/IB
The network hard disc of (InfiniBand, interconnection architecture) interface, then it is corresponding using Ethernet/PCI-E/IB interfaces and its consensus standard
It is attached.
It should be noted that ether interface hard disk can be directly attached by network interface with network side, but it is more
A ether interface hard disk, which is directly accessed network, can consume a large amount of IP address, be connected by using classification provided in an embodiment of the present invention
Structure, it is possible to reduce the IP address of occupancy.
Further, which can connect ether interface hard disk and serial interface hard disk simultaneously, then this is first hard
Disk has Ethernet/PCI-E/IB interfaces and SAS/SCSI interfaces simultaneously, and with corresponding link layer protocol.
By using the data processing instructions that said program, the first hard disk desampler are sent, and determining the storage
When address is in the second hard disk, which is sent to the second hard disk, so as to second hard disk according to the data at
Reason instruction performs data processing, in this way, being connect by the first hard disk with the second hard disk, classification connection is realized, so that hard disk
Network is accessed by first hard disk, realizes store function, improves the utilization rate of storage resource.
The embodiment of the present invention provides a kind of hard disk 30, as shown in figure 3, the hard disk 30 includes:Memory 31, processor 32,
First transceiver 33 and second transceiver 34;
The memory 31 is used to store data;
The processor 32 is used for, the data processing instructions sent by 33 desampler of first transceiver, wherein, it should
Data processing instructions include storage address;
The processor is additionally operable to, should by second transmitter 34 when determining that the storage address is in the second hard disk
Data processing instructions are sent to the second hard disk, so that second hard disk performs data processing according to the data processing instructions.
Wherein, which connects at least one second hard disk.The hard disk 30 can be ether interface hard disk, and network side is is somebody's turn to do
Ether interface hard disk distribution IP (Internet Protocol, the agreement interconnected between network) address, which can
To access network by ethernet switch, and realize that data store by IP address.
Specifically, which obtains the data processing instructions after the data processing instructions for receiving interchanger transmission
In storage address, when determining that the storage address is in hard disk 30, directly according to the data processing instructions perform data processing,
When determining that the storage address is in the second hard disk, which is sent to the second hard disk, so as to the second hard disk root
Data processing is performed according to the data processing instructions.
It should be noted that if first hard disk realizes that hard disk is visited in application layer using key-value (Key-Value) mode
It asks, then the storage address is key (Key), in addition, the storage address can also be the LBA (Logical in serial interface hard disk
Block Address, logical block addresses), the embodiment of the present invention is not construed as limiting this.
Optionally, which includes instruction data storage, which includes the first storage address, the number
Include the first storage data according to store instruction;
32 body of processing utensil is used for, and the instruction data storage is sent to the second hard disk by the second transceiver 34,
So that second hard disk stores the first storage data according to first storage address.
Illustratively, hard disk 30 obtains the first storage in the instruction data storage after instruction data storage is received
The instruction data storage when determining that first storage address is in the second hard disk, is sent to the second hard disk, the second hard disk by location
After the instruction data storage is received, the first storage address and the first storage data are obtained according to the instruction data storage, it will
The first storage data are stored in the corresponding memory space of the storage address, so as to complete data storage procedure.
Optionally, which includes data read command, which includes the second storage address;
The processor 32 is specifically used for, and the data read command is sent to the second hard disk by the second transceiver 34,
So that second hard disk reads the second storage data according to second storage address, and the second storage data are sent to this firmly
Disk 30, and after second hard disk performs data processing according to the data processing instructions, receive the second of second hard disk transmission
Data are stored, and passes through the first transceiver 33 and the second storage data is sent to the interchanger.
Illustratively, hard disk 30 obtains the second storage in the data read command after instruction data storage is received
The data read command when determining that second storage address is in the second hard disk, is sent to the second hard disk, the second hard disk by location
After the data read command is received, the second storage address is obtained according to the data read command, reads second storage
The corresponding memory space in location simultaneously obtains the second storage data, and the second storage data are sent to hard disk 30, and hard disk 30 receives
The second storage data, and the second storage data are sent to interchanger, so as to complete data read process.
It should be noted that in the embodiment of the present invention, the hard disk 30 is when determining that the storage address is in the second hard disk, firmly
The data processing instructions can be sent to the second hard disk by disk 30, which obtains this further according to the data processing instructions and deposit
Address is stored up, in addition, the storage address directly can also be sent the second hard disk by hard disk 30, the embodiment of the present invention does not limit this
It is fixed.
Further, which includes serial interface hard disk.
Specifically, which includes SAS (Serial Attached SCSI, Serial Attached Small Computer
System interface)/SATA (Serial Advanced Technology Attachment, Serial Advanced Technology Attachment) interface
Conventional hard, then corresponding, which uses SAS/SCSI (Small Computer System with second hard disk
Interface, small computer system interface) interface and its consensus standard be attached.
Optionally, as shown in figure 4, second hard disk includes ether interface hard disk, the second transceiver includes:Serial interface
Mouth 341, for being connect with second hard disk.
Specifically, which includes:IP/PCI-E(PCI-Express;Quick PCI (Peripheral
Component Interconnect, peripheral component interconnection)) network hard disc of/IB (InfiniBand, interconnection architecture) interface,
Then corresponding, which is attached with second hard disk using Ethernet/PCI-E/IB interfaces and its consensus standard.
It, can also be by network interface directly and network side it should be noted that second hard disk is ether interface hard disk
It is attached, but multiple ether interface hard disks, which are directly accessed network, can consume a large amount of IP address, implement by using the present invention
The classification connection structure that example provides, it is possible to reduce the IP address of occupancy.
Further, which can connect ether interface hard disk and serial interface hard disk simultaneously, then this is first hard
Disk has Ethernet/PCI-E/IB interfaces and SAS/SCSI interfaces simultaneously, and with corresponding link layer protocol.
By using the data processing instructions that above-mentioned hard disk, hard disk desampler are sent, and determining the storage address
When in the second hard disk, which is sent to the second hard disk, so that second hard disk refers to according to the data processing
It enables and performs data processing, in this way, being connect by hard disk with the second hard disk, classification connection is realized, so that serial interface hard disk
Network is accessed by the hard disk, realizes store function, improves the utilization rate of storage resource.
The embodiment of the present invention provides a kind of hard disk 50, as shown in figure 5, the hard disk 50 includes:
Processor (processor) 51, communication interface (Communications Interface) 52, memory
(memory) 53 and communication bus 54;Wherein, the processor 51, the communication interface 52 and the memory 53 pass through the communication bus
54 complete mutual communication.
Processor 51 may be a central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit) or be arranged to implement the embodiment of the present invention one or more integrate electricity
Road.
For memory 53 for storing program code, which includes computer-managed instruction.Memory 53 may packet
Memory containing high-speed RAM, it is also possible to further include nonvolatile memory (non-volatile memory), for example, at least one
Magnetic disk storage.
The communication interface 52, the connection communication being used to implement between these devices.
The processor 51 performs program code, for the data processing instructions that desampler is sent, and is determining that this deposits
When storing up address in the second hard disk, which is sent to the second hard disk, so that second hard disk is according to the data
Process instruction performs data processing.
Wherein, which includes storage address, which includes ether interface hard disk.
Optionally, which includes instruction data storage, which includes the first storage address, the number
Include the first storage data according to store instruction.
The processor 51 is additionally operable to, which is sent to the second hard disk, so that second hard disk is according to this
First storage address stores the first storage data.
Optionally, which includes data read command, which includes the second storage address.
The processor 51 is additionally operable to, which is sent to the second hard disk, so that second hard disk is according to this
Second storage address reads the second storage data, and the second storage data are sent to first hard disk, and second hard at this
After packing performs data processing according to the data processing instructions, receive the second storage data of second hard disk transmission, and by this
Two storage data are sent to the interchanger.
Optionally, which includes serial interface hard disk.
Optionally, which includes ether interface hard disk.
Affiliated those skilled in the art can be understood that, for convenience and simplicity of description, foregoing description it is hard
The specific work process of disk 50 and description can refer to the corresponding process in preceding method embodiment, and details are not described herein.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.
Claims (7)
1. a kind of data processing method, which is characterized in that including:
The data processing instructions that first hard disk desampler is sent, wherein, the data processing instructions include storage address, institute
It states the first hard disk and includes ether interface hard disk, first hard disk accesses network by the interchanger;
First hard disk is sent to second when determining that the storage address is in the second hard disk, by the data processing instructions
Hard disk, so as to second hard disk according to the data processing instructions perform data processing, wherein, first hard disk with it is described
Interchanger connects, and first hard disk is also connected at least one second hard disk, first hard disk and second hard disk classification
Connection, second hard disk include serial interface hard disk and ether interface hard disk.
2. according to the method described in claim 1, it is characterized in that, the data processing instructions include instruction data storage, institute
It states storage address and includes the first storage address, the instruction data storage includes the first storage data;
It is described that the data processing instructions are sent to the second hard disk, so that second hard disk is according to the data processing instructions
Data processing is performed to include:
The instruction data storage is sent to the second hard disk, so that second hard disk is stored according to first storage address
The first storage data.
3. according to the method described in claim 1, it is characterized in that, the data processing instructions include data read command, institute
It states storage address and includes the second storage address;
It is described that the data processing instructions are sent to the second hard disk, so that second hard disk is according to the data processing instructions
Data processing is performed to include:
The data read command is sent to the second hard disk, so that second hard disk is read according to second storage address
Second storage data, and the described second storage data are sent to first hard disk;
After second hard disk performs data processing according to the data processing instructions, receive that second hard disk sends the
Two storage data, and the described second storage data are sent to the interchanger.
4. a kind of hard disk, which is characterized in that including:Memory, processor, first transceiver and second transceiver;The hard disk
Network is accessed by interchanger;
The memory is used to store data;
The processor is used for, the data processing instructions sent by the first transceiver desampler, wherein, the number
Include storage address according to process instruction;
The processor is additionally operable to, and the hard disk is received when determining that the storage address is in the second hard disk by described second
The data processing instructions are sent to the second hard disk by hair device, so that second hard disk is held according to the data processing instructions
Row data processing, wherein, the hard disk is connect with the interchanger, and the hard disk is also connected at least one second hard disk, described
Hard disk and second hard disk classification connection, second hard disk include serial interface hard disk and ether interface hard disk.
5. hard disk according to claim 4, which is characterized in that the data processing instructions include instruction data storage, institute
It states storage address and includes the first storage address, the instruction data storage includes the first storage data;
The processor is specifically used for, and the instruction data storage is sent to the second hard disk by the second transceiver, with
Toilet states the second hard disk according to first storage address storage the first storage data.
6. hard disk according to claim 4, which is characterized in that the data processing instructions include data read command, institute
It states storage address and includes the second storage address;
The processor is specifically used for, and the data read command is sent to the second hard disk by the second transceiver, with
Toilet states the second hard disk and reads the second storage data, and the described second storage data are sent to according to second storage address
First hard disk, and after second hard disk performs data processing according to the data processing instructions, receive described second
The second storage data that hard disk is sent, and the described second storage data are sent to by the exchange by the first transceiver
Machine.
7. according to claim 4 to 6 any one of them hard disk, which is characterized in that the second transceiver includes:Serial interface
Mouthful, for being connect with second hard disk.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410201866.9A CN103955344B (en) | 2014-05-13 | 2014-05-13 | A kind of data processing method and hard disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410201866.9A CN103955344B (en) | 2014-05-13 | 2014-05-13 | A kind of data processing method and hard disk |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103955344A CN103955344A (en) | 2014-07-30 |
CN103955344B true CN103955344B (en) | 2018-07-03 |
Family
ID=51332621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410201866.9A Active CN103955344B (en) | 2014-05-13 | 2014-05-13 | A kind of data processing method and hard disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103955344B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114936090B (en) * | 2022-04-28 | 2024-01-23 | Tcl金融科技(深圳)有限公司 | Financial big data information storage method and equipment based on cloud platform |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546601A (en) * | 2009-05-13 | 2009-09-30 | 杭州华三通信技术有限公司 | Solid state disk and memory system |
CN102707902A (en) * | 2012-04-27 | 2012-10-03 | 苏州瀚瑞微电子有限公司 | Mobile storage system and storage method thereof |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100351766C (en) * | 2004-04-21 | 2007-11-28 | 华为技术有限公司 | Disk array system |
CN100581172C (en) * | 2006-04-19 | 2010-01-13 | 杭州华三通信技术有限公司 | Method for accessing object magnetic dish and system for extensing disk content |
CN101175073B (en) * | 2006-11-01 | 2012-01-11 | 英业达股份有限公司 | Double-controller communication system and method based on hard disk controller |
-
2014
- 2014-05-13 CN CN201410201866.9A patent/CN103955344B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546601A (en) * | 2009-05-13 | 2009-09-30 | 杭州华三通信技术有限公司 | Solid state disk and memory system |
CN102707902A (en) * | 2012-04-27 | 2012-10-03 | 苏州瀚瑞微电子有限公司 | Mobile storage system and storage method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103955344A (en) | 2014-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104111907B (en) | A kind of method and NVMe storage devices of access NVMe storage devices | |
EP2889780B1 (en) | Data processing system and data processing method | |
JP6385995B2 (en) | System and method for storing data using a table of content entry | |
US10235047B2 (en) | Memory management method, apparatus, and system | |
CN105549904A (en) | Data migration method applied in storage system and storage devices | |
AU2021269201B2 (en) | Utilizing coherently attached interfaces in a network stack framework | |
US9736011B2 (en) | Server including switch circuitry | |
CN107229415A (en) | A kind of data write method, data read method and relevant device, system | |
JP2017513096A (en) | Computer, control device and data processing method | |
CN103827842A (en) | Writing message to controller memory space | |
CN104461698A (en) | Dynamic virtual disk mounting method, virtual disk management device and distributed storage system | |
JP6498844B2 (en) | Computer device and method for reading / writing data by computer device | |
EP3077914B1 (en) | System and method for managing and supporting virtual host bus adaptor (vhba) over infiniband (ib) and for supporting efficient buffer usage with a single external memory interface | |
WO2016065611A1 (en) | File access method, system and host | |
WO2015180650A1 (en) | Method and device for generating key value in storage area network | |
CN103577125A (en) | Cross controller group mirror image writing method and device applied to high-end disk array | |
CN106250322B (en) | A kind of method and apparatus for writing data | |
CN109478171A (en) | Improve the handling capacity in OPENFABRICS environment | |
CN108234551A (en) | A kind of data processing method and device | |
CN103955344B (en) | A kind of data processing method and hard disk | |
CN110471627B (en) | Method, system and device for sharing storage | |
CN103533075A (en) | Method for importing data into iSCSI target and iSCSI starter | |
CN105765542B (en) | Access method, distributed memory system and the memory node of file | |
WO2017173844A1 (en) | Directory reading method, apparatus and system | |
CN104954392A (en) | Cloud disk as well as realization method and realization device thereof |
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 |