[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101546601A - Solid state disk and memory system - Google Patents

Solid state disk and memory system Download PDF

Info

Publication number
CN101546601A
CN101546601A CN200910140726A CN200910140726A CN101546601A CN 101546601 A CN101546601 A CN 101546601A CN 200910140726 A CN200910140726 A CN 200910140726A CN 200910140726 A CN200910140726 A CN 200910140726A CN 101546601 A CN101546601 A CN 101546601A
Authority
CN
China
Prior art keywords
iscsi
tcp
packet
processing unit
solid state
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
CN200910140726A
Other languages
Chinese (zh)
Other versions
CN101546601B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009101407264A priority Critical patent/CN101546601B/en
Publication of CN101546601A publication Critical patent/CN101546601A/en
Application granted granted Critical
Publication of CN101546601B publication Critical patent/CN101546601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The present invention discloses a solid state disk which is provided with an Ethernet interface. The solid state disk comprises the following components: a non-volatile storage medium used for storing data; an Ethernet controller which is used for receiving TCP/IP data packages through the Ethernet interface; a magnetic disk controller which is used for analyzing the TCP/IP data package received by Ethernet controller and obtaining iSCSI data packages, analyzing the iSCSI data packages for obtaining the executable content, executing the executable content in the non-volatile storage medium, obtaining the executing result, transforming the executing result to the iSCSI response result, executing TCP/IP packaging to the iSCSI response result and transmitting the packaged TCP/IP data packages. The solid state disk and memory system of the invention realize the direct accessing to the solid state disk by the memory host through the Ethernet and constructs the memory system of full Ethernet.

Description

Solid state hard disc and storage system
Technical field
The present invention relates to storage and communication technical field, particularly a kind of solid state hard disc and storage system.
Background technology
Rapid growth along with data service, the continuous lifting of server performance, the IOPS of server (Input/Output Per Second, per second I/O number of times) also sustainable growth, and traditional memory device since based on the characteristic limitations of mechanical hard disk IOPS, the speed that has also promptly limited data read and write, therefore traditional memory device based on mechanical hard disk can not be applicable to the server that IOPS is growing.Arise at the historic moment in the SSD that is based on the solid-state electronic storage chip (Solid State Disk, solid state hard disc).
SSD is made up of control module and storage unit, and storage unit adopts the solid-state electronic storage chip, for example: the Flash chip.Because solid-state electronic storage chip inside does not have physical construction, thereby SSD has the readwrite performance height, shock resistance is strong, advantages such as the power supply expense is little can be widely used in fields such as military affairs, vehicle-mounted, industry control, video monitoring, network monitoring, the network terminal, electric power, medical treatment, aviation and navigator.
The interface major part of existing SSD is SATA (Serial Advanced TechnologyAttachment, the serial advanced technology attachment feeder apparatus) interface or SAS (Serial Attached SmallComputer System Interface, serial attached small computer system interface).Certainly, IDE (Integrated Drive Electronics is also arranged in the prior art, integrated driving electronics)/SSD of SCSI (Small Computer System Interface, small computer system interface)/FC (FibreChannel, optical-fibre channel) interface.
As shown in Figure 1, the synoptic diagram of the SSD of a kind of SATA/SAS interface that provides for prior art.SSD is made up of Magnetic Disk Controller and FLASH storage chip, and SATA or SAS interface are provided.SATA or SAS interface are the link blocks of SSD and main frame, comprise power interface and data transmission interface, are used for transmitting data between SSD and main frame.Magnetic Disk Controller mainly is responsible for work such as SSD reading and writing data instruction and data transmission, mainly comprises functions such as address selection, data transmission, DMA (DirectMemory Access, direct memory visit) request and interrupt request.Magnetic Disk Controller is finished the data write function by FLASH memory channel visit FLASH storage chip.
As shown in Figure 2, the synoptic diagram of a kind of typical SAS storage system that provides for prior art, a typical SAS storage system comprises SAS controller or main frame, SAS Expander (SAS expansion) equipment and SAS equipment (SAS solid state hard disc or SATA solid state hard disc).Connect by SAS Expander equipment between SAS controller and the SAS equipment.The SAS controller is by the visit of SAS Expander equipment realization to SAS equipment.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art: the interface of existing solid state hard disc comprises the IDE/SATA/SAS/SCSI/FC interface, main frame will be visited solid state hard disc, must be by IDE/SATA/SAS/SCSI/FC protocol access solid state hard disc; Perhaps pass through IDE/SATA/SAS/SCSI/FC protocol access solid state hard disc by Magnetic Disk Controller, main frame visits solid state hard disc by the visit Magnetic Disk Controller.In the prior art, main frame can not be directly by the ethernet access solid state hard disc.
Summary of the invention
The invention provides a kind of solid state hard disc and storage system, to realize that storage host is directly by the ethernet access solid state hard disc.
On the one hand, the present invention also provides a kind of solid state hard disc again, and described solid state hard disc has Ethernet interface, and described solid state hard disc comprises:
Non-volatile memory medium is used to store data;
Ethernet controller is connected with described Ethernet interface, is used for receiving the TCP/IP packet by described Ethernet interface;
Magnetic Disk Controller, be connected with described ethernet controller, be used to resolve the TCP/IP packet acquisition iSCSI packet that described ethernet controller receives, resolve described iSCSI packet and obtain executable content, in described non-volatile memory medium, carry out described executable content, obtain execution result, described execution result is converted into the iSCSI response results, described iSCSI response results is carried out the TCP/IP encapsulation, send the TCP/IP packet after encapsulating.
Preferably, described Magnetic Disk Controller comprises:
The TCP/IP processing unit is used for described TCP/IP packet is carried out decapsulation, obtains the iSCSI packet;
The iSCSI processing unit is connected with described TCP/IP processing unit, is used to utilize the iSCSI agreement that the iSCSI packet that described TCP/IP processing unit obtains is carried out decapsulation, obtains SCSI protocol command or data;
The SCSI processing unit is connected with described iSCSI processing unit, and being used to utilize the SCSI agreement is executable content with SCSI protocol command or the data parsing that described iSCSI processing unit obtains;
Disc driver is connected with described SCSI processing unit, is used for carrying out the executable content that described SCSI processing unit obtains at described non-volatile memory medium, and obtains execution result.
Preferably, described SCSI processing unit also is used to utilize the SCSI agreement that the execution result that described disc driver obtains is encapsulated as SCSI protocol responses result;
Described iSCSI processing unit also is used to utilize the iSCSI agreement that the SCSI protocol responses result of described SCSI processing unit encapsulation is encapsulated, and obtains the iSCSI response results;
Described TCP/IP processing unit also is used for the iSCSI response results that described iSCSI processing unit obtains is carried out the TCP/IP encapsulation, sends the TCP/IP packet after encapsulating.
Preferably, described solid state hard disc also comprises: receiving end equipment PD controller, be connected with described Ethernet interface, described ethernet controller, described Magnetic Disk Controller and described non-volatile memory medium, be used for accepting POE by described Ethernet interface, and to described Ethernet interface, described ethernet controller, described Magnetic Disk Controller and the power supply of described non-volatile memory medium.
Preferably, when described solid state hard disc has an Ethernet interface, described solid state hard disc comprises an ethernet controller, and described Magnetic Disk Controller comprises a SCSI processing unit, a disc driver, an iSCSI processing unit and a TCP/IP processing unit;
When described solid state hard disc has a plurality of Ethernet interface, described solid state hard disc comprises a plurality of ethernet controllers, the corresponding Ethernet interface of a described ethernet controller, described Magnetic Disk Controller comprises a SCSI processing unit, disc driver, one or more iSCSI processing unit, and one or more TCP/IP processing units, the corresponding TCP/IP processing unit of a described iSCSI processing unit.
On the one hand, the present invention also provides a kind of storage system, comprises storage host, Ethernet switch and Ethernet interface hard disk again,
Described storage host, be connected with described Ethernet interface hard disk by described Ethernet switch, be used for and be encapsulated as the iSCSI packet in the content that described Ethernet interface hard disk is carried out, described iSCSI packet is carried out TCP/IP encapsulation obtain the TCP/IP packet and send to described Ethernet interface hard disk; Receive the TCP/IP packet that described Ethernet interface hard disk sends, the described TCP/IP packet of decapsulation obtains the iSCSI response results; Resolve described iSCSI response results and obtain the execution result of described iSCSI packet in described Ethernet interface hard disk;
Described Ethernet interface hard disk, be used for receiving the TCP/IP packet that described storage host sends by described Ethernet switch by described Ethernet interface, resolve described TCP/IP packet and obtain the iSCSI packet, resolve the executable content of Magnetic Disk Controller that described iSCSI packet obtains described Ethernet interface hard disk, in described Ethernet interface hard disk, carry out described executable content, obtain execution result, described execution result is converted into the iSCSI response results, described iSCSI response results is carried out TCP/IP encapsulation, and the TCP/IP packet after will encapsulating by described Ethernet switch is sent to described storage host.
Compared with prior art, the present invention has the following advantages: the invention provides a kind of Ethernet interface hard disk, solid state hard disc receives the TCP/IP packet by Ethernet interface, resolve this TCP/IP packet and obtain the iSCSI packet, resolve the executable content of Magnetic Disk Controller of this iSCSI packet acquisition solid state hard disc, and the data in the solid state hard disc are handled according to this executable content, realized that storage host directly by the ethernet access solid state hard disc, has made up the storage system of full Ethernet.
Description of drawings
In order to be illustrated more clearly in technical scheme of the present invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The synoptic diagram of the SSD of a kind of SATA/SAS interface that Fig. 1 provides for prior art;
The synoptic diagram of a kind of typical SAS storage system that Fig. 2 provides for prior art;
Fig. 3 is the process flow diagram of the data processing method in a kind of solid state hard disc provided by the invention;
Fig. 4 is the structural drawing of iSCSI protocol stack among the present invention;
The schematic flow sheet of Fig. 5 for according to the TCP/IP packet that receives the data in the solid state hard disc being handled among the present invention;
Fig. 6 is the data processing method process flow diagram in a kind of solid state hard disc provided by the invention;
Fig. 7 is the structural drawing of a kind of solid state hard disc provided by the invention;
Fig. 8 is the structural drawing of another kind of solid state hard disc provided by the invention;
Fig. 9 is the structural representation with two Ethernet interface hard disks provided by the invention;
Figure 10 has two Ethernet interface hard disks when realizing an iSCSITarget, the structural representation of Magnetic Disk Controller for provided by the invention;
Figure 11 has two Ethernet interface hard disks when realizing two iSCSITarget, the structural representation of Magnetic Disk Controller for provided by the invention;
Figure 12 is the structural drawing of a kind of network equipment provided by the invention;
Figure 13 is the structural drawing of a kind of storage system provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing among the present invention, the technical scheme among the present invention is clearly and completely described, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Core concept of the present invention is, a kind of Ethernet interface hard disk is provided, this solid state hard disc receives the TCP/IP packet by Ethernet interface, resolve this TCP/IP packet and obtain the iSCSI packet, resolve the executable content of Magnetic Disk Controller of this iSCSI packet acquisition solid state hard disc, and in solid state hard disc, carry out this executable content, realized that storage host is directly by the ethernet access solid state hard disc.
As shown in Figure 3, be the process flow diagram of the data processing method in a kind of solid state hard disc provided by the invention, the data processing method in this solid state hard disc is used for carrying out data processing at the Ethernet interface hard disk, comprising:
Step 301 receives TCP (Transmission Control Protocol, transmission control protocol)/IP (Internet Protocol, Internet Protocol) packet by Ethernet interface.
Step 302, resolve the TCP/IP packet and obtain iSCSI (Internet Small ComputerSystems Interface, internet small computer system interface) packet is resolved the executable content of Magnetic Disk Controller that this iSCSI packet obtains solid state hard disc.
Step 303 is carried out above-mentioned executable content in solid state hard disc, obtain execution result, and this execution result is converted into the iSCSI response results, and this iSCSI response results is carried out the TCP/IP encapsulation, sends the TCP/IP packet after encapsulating.
Present embodiment, solid state hard disc receives the TCP/IP packet by Ethernet interface, resolve this TCP/IP packet and obtain the iSCSI packet, resolve the executable content of Magnetic Disk Controller of this iSCSI packet acquisition solid state hard disc, and the data in the solid state hard disc are handled according to this executable content, realized that storage host directly by the ethernet access solid state hard disc, expanded the range of application of solid state hard disc.
Particularly, the present invention realizes data transmission by the iSCSI agreement, the structure of iSCSI protocol stack as shown in Figure 4, the iSCSI agreement is a kind of of SCSI transport layer protocol, encapsulates SCSI protocol command or data block by ICP/IP protocol, transmits on IP network.Wherein, the source end equipment of filing a request is called Initiator, and the target device of request is called Target.The tcp port number picked at random of Initiator end, the tcp port number acquiescence of Target is 3260.
Among the present invention, the flow process of the data in the solid state hard disc being handled according to the TCP/IP packet that receives comprises as shown in Figure 5:
Step 501 to the TCP/IP packet decapsulation that receives, obtains the iSCSI packet.Be specifically as follows: remove the TCP/IP head of TCP/IP packet, obtain the iSCSI packet.
Step 502 utilizes the iSCSI agreement that this iSCSI packet is carried out decapsulation, obtains SCSI protocol command or data.Particularly, the method for decapsulation can for: remove the iSCSI head of iSCSI packet, obtain SCSI protocol command or data.
Step 503 utilizes the SCSI agreement that this SCSI protocol command or data parsing are executable order of the Magnetic Disk Controller of solid state hard disc or data, and should executable order or data send to Magnetic Disk Controller.
Step 504, Magnetic Disk Controller are carried out order or the data that receive in the non-volatile memory medium of solid state hard disc, obtain execution result.The result that this execution result can get success or failure for the state or the command execution of storage unit in specific data or the non-volatile memory medium etc.This non-volatile memory medium can be the solid-state electronic storage chip, for example: the Flash chip.
Step 505 utilizes the SCSI agreement that execution result is encapsulated as SCSI protocol responses result.
Step 506 utilizes the iSCSI agreement that SCSI protocol responses result is encapsulated, and obtains the iSCSI response results.Be specifically as follows: encapsulation iSCSI head before SCSI protocol responses result obtains the iSCSI response results.
Step 507 is carried out the TCP/IP encapsulation with the iSCSI response results, sends the TCP/IP packet after encapsulating.The method of TCP/IP encapsulation is specifically as follows: encapsulation TCP/IP head before the iSCSI response results obtains the TCP/IP packet.
Carrying out read operation with solid state hard disc according to the TCP/IP packet that receives below is example, and the flow chart of data processing in the solid state hard disc is specifically described:
(1) the TCP/IP packet decapsulation to receiving obtains the iSCSI packet.
(2) utilize the iSCSI agreement that this iSCSI packet is carried out decapsulation, obtain the SCSI protocol command.This SCSI protocol command is the read command of SCSI agreement.
(3) utilize the SCSI agreement that this SCSI agreement read command is resolved to the executable read command of Magnetic Disk Controller of solid state hard disc, and should executable read command send to Magnetic Disk Controller.
(4) Magnetic Disk Controller is carried out the read command that receives in non-volatile memory medium, the destination address that reads according to the needs that carry in the read command, read data this destination address from non-volatile memory medium, and return execution result according to reading the result, comprise the data that read in this execution result.If the address of reading is illegal,, return the fill order failure perhaps from the failure of non-volatile memory medium reading of data.
(5) utilize the SCSI agreement that execution result is encapsulated as SCSI protocol responses result.
(6) utilize the iSCSI agreement that SCSI protocol responses result is encapsulated, obtain the iSCSI response results.
(7) the iSCSI response results is carried out the TCP/IP encapsulation, send the TCP/IP packet after encapsulating.
By above-mentioned flow process, solid state hard disc can carry out corresponding read operation and return the data that read according to the iSCSI packet in the TCP/IP packet that receives, and the state of the destination address that reads in the non-volatile memory medium.
Carrying out write operation with solid state hard disc according to the TCP/IP packet again is example, and the flow chart of data processing in the solid state hard disc is specifically described:
(1) the TCP/IP packet decapsulation to receiving obtains the iSCSI packet.
(2) utilize the iSCSI agreement that the iSCSI packet that obtains is carried out decapsulation, obtain the SCSI protocol command, this SCSI protocol command is a SCSI agreement write order.Obtain SCSI protocol data to be written simultaneously.
(3) utilize the SCSI agreement that this SCSI agreement write order and SCSI protocol data to be written are resolved to executable write order of Magnetic Disk Controller and data, and should executable write order and data send to Magnetic Disk Controller.
(4) Magnetic Disk Controller is carried out the write order that receives in non-volatile memory medium, the data of the length-specific that receives after receiving write order according to the content aware of write order are data to be written, and can be according to the destination address of the content aware of write order data to be written.Magnetic Disk Controller writes non-volatile memory medium according to the data to be written that the destination address of data to be written will receive, and returns execution result according to writing the result.Comprise the result that write order is carried out successfully or failed in this execution result.
(5) utilize the SCSI agreement that execution result is encapsulated as SCSI protocol responses result.
(6) utilize the iSCSI agreement that SCSI protocol responses result is encapsulated, obtain the iSCSI response results.
(7) the iSCSI response results is carried out the TCP/IP encapsulation, send the TCP/IP packet after encapsulating.
By above-mentioned flow process, solid state hard disc can carry out corresponding write operation according to the iSCSI packet in the TCP/IP packet that receives, data to be written are write the non-volatile memory medium of solid state hard disc, and return the result that write order is carried out successfully or failed.
For other data manipulations, the implementation of the implementation of solid state hard disc and above-mentioned data reading operation and write operation is similar, does not repeat them here.
The present invention also provides the data processing method in a kind of solid state hard disc, in the network equipment that is applied to the data in the solid state hard disc are handled, as shown in Figure 6, comprising:
Step 601, the content that need carry out in solid state hard disc is encapsulated as the iSCSI packet.
Particularly, at first the content that need carry out in solid state hard disc is converted into SCSI protocol command or data, utilizes the iSCSI agreement that this SCSI protocol command or data encapsulation are the iSCSI packet then.The method of encapsulation is specifically as follows: encapsulation iSCSI head before SCSI protocol command or data.
Step 602 is carried out TCP/IP encapsulation to this iSCSI packet and is obtained the TCP/IP packet and send to solid state hard disc.The method of carrying out the TCP/IP encapsulation is specifically as follows: encapsulation TCP/IP head before the iSCSI packet.
Step 603 receives the TCP/IP packet that solid state hard disc sends, and this TCP/IP packet of decapsulation obtains the iSCSI response results.The method of this decapsulation is specifically as follows: remove the TCP/IP head of TCP/IP packet, obtain the iSCSI response results.
Step 604 is resolved this iSCSI response results and is obtained the execution result of iSCSI packet in solid state hard disc.
Particularly, the network equipment is resolved this iSCSI response results earlier and is obtained SCSI protocol responses result, resolves SCSI protocol responses result then and obtains SCSI protocol command or the execution result of data in solid state hard disc.The result that this execution result can get success or failure for the state or the command execution of storage unit in the non-volatile memory medium of specific data or solid state hard disc etc.This non-volatile memory medium can be the solid-state electronic storage chip, for example: the Flash chip.
As shown in Figure 7, be the structural drawing of a kind of solid state hard disc provided by the invention, solid state hard disc shown in Figure 7 has an Ethernet interface 70, and this solid state hard disc comprises:
Non-volatile memory medium 71 is used to store data;
Ethernet controller 72 is connected with Ethernet interface 70, is used for receiving the TCP/IP packet by Ethernet interface 70 ethernet controller 72 corresponding Ethernet interfaces 70;
Magnetic Disk Controller 73, be connected with ethernet controller 72, be used to resolve the TCP/IP packet acquisition iSCSI packet that ethernet controller 72 receives, resolve this iSCSI packet and obtain executable content, in non-volatile memory medium 71, carry out above-mentioned executable content, obtain execution result, this execution result is converted into the iSCSI response results, this iSCSI response results is carried out the TCP/IP encapsulation, send the TCP/IP packet after encapsulating.
Particularly, as shown in Figure 8, Magnetic Disk Controller 73 can comprise:
TCP/IP processing unit 731 is used for the TCP/IP packet is carried out decapsulation, obtains the iSCSI packet;
ISCSI processing unit 732 is connected with TCP/IP processing unit 731, is used to utilize the iSCSI agreement that the iSCSI packet that TCP/IP processing unit 731 obtains is carried out decapsulation, obtains SCSI protocol command or data;
SCSI processing unit 733 is connected with iSCSI processing unit 732, and being used to utilize the SCSI agreement is executable content with SCSI protocol command or the data parsing that iSCSI processing unit 732 obtains;
Disc driver 734 is connected with SCSI processing unit 733, is used for carrying out the executable content that SCSI processing unit 733 obtains at non-volatile memory medium 71, and obtains execution result.
Above-mentioned SCSI processing unit 733 also is used to utilize the SCSI agreement that the execution result that disc driver 734 obtains is encapsulated as SCSI protocol responses result;
ISCSI processing unit 732 also is used to utilize the iSCSI agreement that the SCSI protocol responses result of SCSI processing unit 733 encapsulation is encapsulated, and obtains the iSCSI response results;
TCP/IP processing unit 731 also is used for the iSCSI response results that described iSCSI processing unit obtains is carried out the TCP/IP encapsulation.
This solid state hard disc can also comprise:
PD (Power Device, receiving end equipment) controller 74, be connected with Ethernet interface 70, ethernet controller 72, Magnetic Disk Controller 73 and non-volatile memory medium 71, be used for accepting POE by Ethernet interface 70, and to Ethernet interface 70, ethernet controller 72, Magnetic Disk Controller 73 and non-volatile memory medium 71 power supplies.
Particularly, solid state hard disc is specifically as follows according to the process that the TCP/IP packet that receives carries out read operation: the TCP/IP packet decapsulation that 731 pairs of the TCP/IP processing units of Magnetic Disk Controller 73 receive obtains the iSCSI packet.ISCSI processing unit 732 utilizes the iSCSI agreement that the iSCSI packet that TCP/IP processing unit 731 obtains is carried out decapsulation, obtains the SCSI protocol command.This SCSI protocol command is the read command of SCSI agreement.The SCSI agreement read command that SCSI processing unit 733 utilizes the SCSI agreement that iSCSI processing unit 732 is obtained resolves to the Magnetic Disk Controller 73 executable read commands of solid state hard disc, and should executable read command send to Magnetic Disk Controller 73.
Disc driver 734 is carried out the read command that receives in non-volatile memory medium, the destination address that reads according to the needs that carry in the read command, read data this destination address from non-volatile memory medium 71, and return execution result according to reading the result, comprise the data that read in this execution result.If the address of reading is illegal, perhaps from the failure of non-volatile memory medium 71 reading of data, disc driver 734 returns the fill order failure.
At this moment, SCSI processing unit 733 execution result that utilizes the SCSI agreement that disc driver 734 is returned is encapsulated as SCSI protocol responses result.Utilize the iSCSI agreement that the SCSI protocol responses result of SCSI processing unit 733 encapsulation is encapsulated by iSCSI processing unit 732 again, obtain the iSCSI response results.At last, the iSCSI response results that 731 pairs of iSCSI processing units of TCP/IP processing unit 732 obtain is carried out the TCP/IP encapsulation, sends the TCP/IP packet after encapsulating.
Particularly, solid state hard disc is specifically as follows according to the process that the TCP/IP packet that receives carries out write operation: the TCP/IP packet decapsulation that 731 pairs of TCP/IP processing units receive obtains the iSCSI packet.ISCSI processing unit 732 utilizes the iSCSI agreement that the iSCSI packet that obtains is carried out decapsulation, obtains the SCSI protocol command, and this SCSI protocol command is a SCSI agreement write order.ISCSI processing unit 732 obtains SCSI protocol data to be written simultaneously.SCSI processing unit 733 utilizes the SCSI agreement that this SCSI agreement write order and SCSI protocol data to be written are resolved to Magnetic Disk Controller 73 executable write order and data, and should executable write order and data send to Magnetic Disk Controller 73.
Disc driver 734 is carried out the write order that receives in non-volatile memory medium 71, the data of the length-specific that receives after receiving write order according to the content aware of write order are data to be written, and can be according to the destination address of the content aware of write order data to be written.Disc driver 734 writes non-volatile memory medium 71 according to the data to be written that the destination address of data to be written will receive, and returns execution result according to writing the result.Comprise the result that write order is carried out successfully or failed in this execution result.
At this moment, SCSI processing unit 733 execution result that utilizes the SCSI agreement that disc driver 734 is returned is encapsulated as SCSI protocol responses result.Utilize the iSCSI agreement that SCSI protocol responses result is encapsulated by iSCSI processing unit 732 again, obtain the iSCSI response results.At last, the iSCSI response results that TCP/IP processing unit 731 obtains iSCSI processing unit 732 is carried out the TCP/IP encapsulation, sends the TCP/IP packet after encapsulating.
As deletion, rename etc., the implementation of the implementation of solid state hard disc and above-mentioned read operation and write operation is similar, does not repeat them here for other data manipulations.
Fig. 7 and Fig. 8 show the structural representation with an Ethernet interface hard disk, but the present invention is not limited thereto, solid state hard disc among the present invention can have a plurality of Ethernet interfaces 70, correspondingly, it is corresponding with an Ethernet interface 70 that this solid state hard disc has 72, one ethernet controllers 72 of a plurality of ethernet controllers.
Having two Ethernet interfaces with solid state hard disc below is that example describes.
As shown in Figure 9, be the structural representation with two Ethernet interface hard disks provided by the invention, this solid state hard disc comprises two Ethernet interfaces 70, two ethernet controllers 72, a Magnetic Disk Controller 73 and a PD controller 74, and the function of each functional module is the same, does not repeat them here.Having two Ethernet interface hard disks can provide redundant for storage system, and can improve the bandwidth of data access.
Have two Ethernet interface hard disks and can only realize an iSCSI Target, two different IP addresses of Ethernet interface configuration.Different storage host can be by different IP address visit solid state hard discs.When having two Ethernet interface hard disks when only realizing an iSCSI Target, as shown in figure 10, the Magnetic Disk Controller 73 of this solid state hard disc comprises a TCP/IP processing unit 731, iSCSI processing unit 732, a SCSI processing unit 733 and a disc driver 734.
The multithreading of iSCSI allows an iSCSI Initiator by the same iSCSI Target of a plurality of session connections, when therefore a storage host is visited solid state hard disc, can use the multithreading of iSCSI that different sessions is set up in different IP addresses, packet is sent to iSCSI target by different sessions.ISCSI target can handle the packet that different sessions receives simultaneously, iSCSI target can realize a plurality of processes, each process is handled a session, and the processing procedure and the previously described process of TCP/ IP processing unit 731 and 732 pairs of packets of iSCSI processing unit are similar in each process.Thereby a storage host can be visited different IP addresses simultaneously by the multithreading of iSCSI, reaches the purpose of using two Ethernet interface visit solid state hard discs simultaneously.
Have two Ethernet interface hard disks and can also realize two iSCSI Target, corresponding respectively two Ethernet interfaces and different IP addresses.Different storage host can be by different iSCSITarget visit solid state hard discs.When a storage host visit solid state hard disc, can connect two iSCSI Target simultaneously, reach the purpose of using two Ethernet interface visit solid state hard discs simultaneously.
Above-mentioned two iSCSI Target are independent fully, the data that independent processing receives.A storage host can be visited solid state hard disc simultaneously by two iSCSI Target.
When having two iSCSI Target of two Ethernet interface hard disks realizations, as shown in figure 11, the Magnetic Disk Controller 73 of this solid state hard disc comprises two TCP/IP processing units 731, two iSCSI processing units 732, a SCSI processing unit 733 and a disc driver 734.
As previously mentioned, the solid state hard disc among the present invention can have a plurality of Ethernet interfaces, and correspondingly, this solid state hard disc has a plurality of ethernet controllers, and an ethernet controller is corresponding with an Ethernet interface.At this moment this solid state hard disc can be realized an iSCSI Target, also can realize a plurality of iSCSI Target.When having a plurality of Ethernet interface hard disks when realizing a plurality of iSCSI Target, the Magnetic Disk Controller of this solid state hard disc comprises a SCSI processing unit and a disc driver, and a plurality of TCP/IP processing units and a plurality of iSCSI processing unit, wherein, corresponding iSCSI processing unit of TCP/IP processing unit.
Among the present invention, the Magnetic Disk Controller of solid state hard disc comprises the TCP/IP processing unit, has the ICP/IP protocol stack, therefore can pass through SNMP (Simple Network Management Protocol, Simple Network Management Protocol), realize the Network Management Function of solid state hard disc, thereby make network management host not pass through storage host, directly solid state hard disc is carried out network management.
As shown in figure 12, be the structural drawing of a kind of network equipment provided by the invention, comprise data processing unit 121 and data interface unit 122,
Data processing unit 121 is used for being encapsulated as the iSCSI packet in the content that solid state hard disc is carried out, and this iSCSI packet is carried out the TCP/IP encapsulation obtain the TCP/IP packet; And the TCP/IP packet of resolution data interface unit 122 receptions, this TCP/IP packet of decapsulation obtains the iSCSI response results, resolves this iSCSI response results and obtains the execution result of iSCSI packet in above-mentioned solid state hard disc;
Data interface unit 122 is used for the TCP/IP packet after data processing unit 121 encapsulation is sent to solid state hard disc, and receives the TCP/IP packet that solid state hard disc sends.
Wherein, this network equipment is specifically as follows storage host.
Particularly, the content that data processing unit 121 need be carried out in solid state hard disc is converted into SCSI protocol command or data, data processing unit 121 utilizes the iSCSI agreement that this SCSI protocol command or data encapsulation are the iSCSI packet then, this iSCSI packet is carried out the TCP/IP encapsulation obtain the TCP/IP packet.TCP/IP packet after data interface unit 122 encapsulates data processing unit 121 sends to solid state hard disc, and receives the TCP/IP packet that solid state hard disc sends.
The TCP/IP packet that data processing unit 121 decapsulation data interface unit 122 receive obtains the iSCSI response results, resolve this iSCSI response results and obtain SCSI protocol responses result, resolve SCSI protocol responses result then and obtain SCSI protocol command or the execution result of data in solid state hard disc.The result that this execution result can get success or failure for the state or the command execution of storage unit in the non-volatile memory medium of specific data or solid state hard disc etc.This non-volatile memory medium can be the solid-state electronic storage chip, for example: the Flash chip.
As shown in figure 13, be the structural drawing of a kind of storage system provided by the invention, comprise storage host 131, Ethernet switch 132 and Ethernet interface hard disk 133,
Storage host 131, be connected with Ethernet interface hard disk 133 by Ethernet switch 132, be used for and be encapsulated as the iSCSI packet in the content that Ethernet interface hard disk 133 is carried out, this iSCSI packet is carried out the TCP/IP encapsulation obtain the TCP/IP packet and send to Ethernet interface hard disk 133; Receive the TCP/IP packet that Ethernet interface hard disk 133 sends, this TCP/IP packet of decapsulation obtains the iSCSI response results; Resolve this iSCSI response results and obtain the execution result of iSCSI packet in Ethernet interface hard disk 133;
Ethernet interface hard disk 133, be used for receiving the TCP/IP packet that storage host 131 sends by Ethernet switch 132 by Ethernet interface, resolve this TCP/IP packet and obtain the iSCSI packet, resolve the executable content of Magnetic Disk Controller of this iSCSI packet acquisition Ethernet interface hard disk 133, in Ethernet interface hard disk 133, carry out above-mentioned executable content, obtain execution result, this execution result is converted into the iSCSI response results, this iSCSI response results is carried out TCP/IP encapsulation, and the TCP/IP packet after will encapsulating by Ethernet switch 132 is sent to storage host 131;
Ethernet switch 132, be connected with Ethernet interface hard disk 133 with storage host 131, has PoE (Power Over Ethernet, POE) function, be used for powering to Ethernet interface hard disk 133, and between storage host 131 and Ethernet interface hard disk 133, carry out exchanges data by the Ethernet cable.
In the prior art, SAS storage system as shown in Figure 2, a SAS controller has only 8 pairs of serial differential signal wires, can only manage 8 hard disks at most, realize the management to more disks, needs to adopt expansion technique.Expansion technique is mainly realized by SAS Expander equipment, can support 128 SAS Expander equipment in the SAS storage system at most, and each SAS Expander equipment is supported 128 SAS equipment at most.
And in the storage system that the present invention proposes, Ethernet interface hard disk 133 can be realized a plurality of iSCSI Target, storage host 131 can be passed through Ethernet switch 132, visits a plurality of iSCSI Target in a plurality of Ethernet interface hard disks and the same Ethernet interface hard disk simultaneously.The storage system that the present invention proposes only need pass through Ethernet switch, and must not adopt the expansion technique of special use can realize that a plurality of storage host 131 visit Ethernet interface hard disk 133 simultaneously.
Above-mentioned module can be distributed in a device, also can be distributed in multiple arrangement.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.It will be appreciated by those skilled in the art that accompanying drawing is the synoptic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (6)

1, a kind of solid state hard disc is characterized in that, described solid state hard disc has Ethernet interface, and described solid state hard disc comprises:
Non-volatile memory medium is used to store data;
Ethernet controller is connected with described Ethernet interface, is used for receiving the TCP/IP packet by described Ethernet interface;
Magnetic Disk Controller, be connected with described ethernet controller, be used to resolve the TCP/IP packet acquisition iSCSI packet that described ethernet controller receives, resolve described iSCSI packet and obtain executable content, in described non-volatile memory medium, carry out described executable content, obtain execution result, described execution result is converted into the iSCSI response results, described iSCSI response results is carried out the TCP/IP encapsulation, send the TCP/IP packet after encapsulating.
2, solid state hard disc according to claim 1 is characterized in that described Magnetic Disk Controller comprises:
The TCP/IP processing unit is used for described TCP/IP packet is carried out decapsulation, obtains the iSCSI packet;
The iSCSI processing unit is connected with described TCP/IP processing unit, is used to utilize the iSCSI agreement that the iSCSI packet that described TCP/IP processing unit obtains is carried out decapsulation, obtains SCSI protocol command or data;
The SCSI processing unit is connected with described iSCSI processing unit, and being used to utilize the SCSI agreement is executable content with SCSI protocol command or the data parsing that described iSCSI processing unit obtains;
Disc driver is connected with described SCSI processing unit, is used for carrying out the executable content that described SCSI processing unit obtains at described non-volatile memory medium, and obtains execution result.
3, as solid state hard disc as described in the claim 2, it is characterized in that,
Described SCSI processing unit also is used to utilize the SCSI agreement that the execution result that described disc driver obtains is encapsulated as SCSI protocol responses result;
Described iSCSI processing unit also is used to utilize the iSCSI agreement that the SCSI protocol responses result of described SCSI processing unit encapsulation is encapsulated, and obtains the iSCSI response results;
Described TCP/IP processing unit also is used for the iSCSI response results that described iSCSI processing unit obtains is carried out the TCP/IP encapsulation, sends the TCP/IP packet after encapsulating.
4, solid state hard disc according to claim 1 is characterized in that, also comprises:
Receiving end equipment PD controller, be connected with described Ethernet interface, described ethernet controller, described Magnetic Disk Controller and described non-volatile memory medium, be used for accepting POE by described Ethernet interface, and to described Ethernet interface, described ethernet controller, described Magnetic Disk Controller and the power supply of described non-volatile memory medium.
5, as solid state hard disc as described in any one of the claim 1-4, it is characterized in that, when described solid state hard disc has an Ethernet interface, described solid state hard disc comprises an ethernet controller, and described Magnetic Disk Controller comprises a SCSI processing unit, a disc driver, an iSCSI processing unit and a TCP/IP processing unit;
When described solid state hard disc has a plurality of Ethernet interface, described solid state hard disc comprises a plurality of ethernet controllers, the corresponding Ethernet interface of a described ethernet controller, described Magnetic Disk Controller comprises a SCSI processing unit, disc driver, one or more iSCSI processing unit, and one or more TCP/IP processing units, the corresponding TCP/IP processing unit of a described iSCSI processing unit.
6, a kind of storage system is characterized in that, comprises storage host, Ethernet switch and Ethernet interface hard disk,
Described storage host, be connected with described Ethernet interface hard disk by described Ethernet switch, be used for and be encapsulated as the iSCSI packet in the content that described Ethernet interface hard disk is carried out, described iSCSI packet is carried out TCP/IP encapsulation obtain the TCP/IP packet and send to described Ethernet interface hard disk; Receive the TCP/IP packet that described Ethernet interface hard disk sends, the described TCP/IP packet of decapsulation obtains the iSCSI response results; Resolve described iSCSI response results and obtain the execution result of described iSCSI packet in described Ethernet interface hard disk;
Described Ethernet interface hard disk, be used for receiving the TCP/IP packet that described storage host sends by described Ethernet switch by described Ethernet interface, resolve described TCP/IP packet and obtain the iSCSI packet, resolve the executable content of Magnetic Disk Controller that described iSCSI packet obtains described Ethernet interface hard disk, in described Ethernet interface hard disk, carry out described executable content, obtain execution result, described execution result is converted into the iSCSI response results, described iSCSI response results is carried out TCP/IP encapsulation, and the TCP/IP packet after will encapsulating by described Ethernet switch is sent to described storage host.
CN2009101407264A 2009-05-13 2009-05-13 Solid state disk and memory system Active CN101546601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101407264A CN101546601B (en) 2009-05-13 2009-05-13 Solid state disk and memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101407264A CN101546601B (en) 2009-05-13 2009-05-13 Solid state disk and memory system

Publications (2)

Publication Number Publication Date
CN101546601A true CN101546601A (en) 2009-09-30
CN101546601B CN101546601B (en) 2011-06-08

Family

ID=41193669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101407264A Active CN101546601B (en) 2009-05-13 2009-05-13 Solid state disk and memory system

Country Status (1)

Country Link
CN (1) CN101546601B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073459A (en) * 2010-11-02 2011-05-25 记忆科技(深圳)有限公司 Computer system based on solid state drive and solid state drive
CN102843284A (en) * 2011-06-23 2012-12-26 北京飞杰信息技术有限公司 iSCSI storage node, framework and read-write method
CN103475695A (en) * 2013-08-21 2013-12-25 华为数字技术(成都)有限公司 Interconnection method and device for storage system
CN103703441A (en) * 2013-05-20 2014-04-02 华为技术有限公司 Hard disk and data processing method
CN103838517A (en) * 2012-11-23 2014-06-04 中国科学院声学研究所 Method and system for transmitting data between multi-core processor and disk array
CN103838516A (en) * 2012-11-23 2014-06-04 中国科学院声学研究所 Method and system for multi-core processor to efficiently have access to iSCSI disk array
CN103929475A (en) * 2014-03-27 2014-07-16 华为技术有限公司 A kind of hard disk storage system of Ethernet architecture and hard disk data operation method
CN103955344A (en) * 2014-05-13 2014-07-30 华为技术有限公司 Data processing method and hard disk
CN104090727A (en) * 2014-07-01 2014-10-08 华为技术有限公司 Hard disk device and capacity integration method and system thereof
WO2015165057A1 (en) * 2014-04-30 2015-11-05 华为技术有限公司 Method and device for hard disk drive to execute application code
WO2016050139A1 (en) * 2014-09-29 2016-04-07 华为技术有限公司 Data writing method and apparatus
WO2016050112A1 (en) * 2014-09-30 2016-04-07 华为技术有限公司 Data storage method, storage apparatus and storage system
CN107291640A (en) * 2017-06-30 2017-10-24 郑州云海信息技术有限公司 A kind of method and apparatus of the data transfer based on SAS technologies
CN118646699A (en) * 2024-08-14 2024-09-13 广东省绿算技术有限公司 Multipath data access method, accelerator card, storage system, and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100370380C (en) * 2004-10-15 2008-02-20 李迪 An open reconfigurable soft numerical control system
CN2819319Y (en) * 2005-07-08 2006-09-20 泰豪科技股份有限公司 Electric management controller
CN101212631B (en) * 2007-01-25 2010-11-17 深圳创维-Rgb电子有限公司 A USB Composite Device Applied to TV
CN101296258A (en) * 2007-04-28 2008-10-29 海尔集团公司 Hard disk device with network function

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073459B (en) * 2010-11-02 2013-04-17 记忆科技(深圳)有限公司 Computer system based on solid state drive and solid state drive
CN102073459A (en) * 2010-11-02 2011-05-25 记忆科技(深圳)有限公司 Computer system based on solid state drive and solid state drive
CN102843284A (en) * 2011-06-23 2012-12-26 北京飞杰信息技术有限公司 iSCSI storage node, framework and read-write method
CN102843284B (en) * 2011-06-23 2015-08-12 北京飞杰信息技术有限公司 ISCSI memory node, framework and reading, wiring method
CN103838516B (en) * 2012-11-23 2016-09-28 中国科学院声学研究所 A kind of method and system for polycaryon processor efficient access iscsi disk array
CN103838517A (en) * 2012-11-23 2014-06-04 中国科学院声学研究所 Method and system for transmitting data between multi-core processor and disk array
CN103838516A (en) * 2012-11-23 2014-06-04 中国科学院声学研究所 Method and system for multi-core processor to efficiently have access to iSCSI disk array
CN103838517B (en) * 2012-11-23 2017-06-09 中国科学院声学研究所 A kind of method and system for transmitting data between polycaryon processor and disk array
WO2014186940A1 (en) * 2013-05-20 2014-11-27 华为技术有限公司 Hard disk and data processing method
CN103703441A (en) * 2013-05-20 2014-04-02 华为技术有限公司 Hard disk and data processing method
CN103475695A (en) * 2013-08-21 2013-12-25 华为数字技术(成都)有限公司 Interconnection method and device for storage system
CN103929475B (en) * 2014-03-27 2017-11-24 华为技术有限公司 The hard disk storage system and hard disc data operating method of a kind of Ethernet architecture
CN103929475A (en) * 2014-03-27 2014-07-16 华为技术有限公司 A kind of hard disk storage system of Ethernet architecture and hard disk data operation method
CN105247618B (en) * 2014-04-30 2017-12-15 华为技术有限公司 A kind of hard disk performs the method and device of application code
CN107844360B (en) * 2014-04-30 2021-10-01 华为技术有限公司 A method and device for executing application code on a hard disk
CN105247618A (en) * 2014-04-30 2016-01-13 华为技术有限公司 Method and device for hard disk drive to execute application code
US10310876B2 (en) 2014-04-30 2019-06-04 Huawei Technologies Co., Ltd. Executing application code based on manner of accessing a hard disk
WO2015165057A1 (en) * 2014-04-30 2015-11-05 华为技术有限公司 Method and device for hard disk drive to execute application code
CN107844360A (en) * 2014-04-30 2018-03-27 华为技术有限公司 A kind of hard disk performs the method and device of application code
CN103955344A (en) * 2014-05-13 2014-07-30 华为技术有限公司 Data processing method and hard disk
CN103955344B (en) * 2014-05-13 2018-07-03 华为技术有限公司 A kind of data processing method and hard disk
CN104090727B (en) * 2014-07-01 2017-04-26 华为技术有限公司 Hard disk device and capacity integration method and system thereof
CN104090727A (en) * 2014-07-01 2014-10-08 华为技术有限公司 Hard disk device and capacity integration method and system thereof
WO2016050139A1 (en) * 2014-09-29 2016-04-07 华为技术有限公司 Data writing method and apparatus
WO2016050112A1 (en) * 2014-09-30 2016-04-07 华为技术有限公司 Data storage method, storage apparatus and storage system
CN107291640A (en) * 2017-06-30 2017-10-24 郑州云海信息技术有限公司 A kind of method and apparatus of the data transfer based on SAS technologies
CN107291640B (en) * 2017-06-30 2021-01-12 苏州浪潮智能科技有限公司 Data transmission method and device based on SAS technology
CN118646699A (en) * 2024-08-14 2024-09-13 广东省绿算技术有限公司 Multipath data access method, accelerator card, storage system, and readable storage medium
CN118646699B (en) * 2024-08-14 2024-11-01 广东省绿算技术有限公司 Multipath data access method, accelerator card, storage system and readable storage medium

Also Published As

Publication number Publication date
CN101546601B (en) 2011-06-08

Similar Documents

Publication Publication Date Title
CN101546601B (en) Solid state disk and memory system
KR100680633B1 (en) RAID striping using multiple virtual channels
US7743178B2 (en) Method and apparatus for SATA tunneling over fibre channel
US10540307B1 (en) Providing an active/active front end by coupled controllers in a storage system
CN101075930B (en) Network storage device
CN110609659B (en) NVMeoF RAID implementation for executing read commands
WO2017162175A1 (en) Data transmission method and device
US11275698B2 (en) Termination of non-volatile memory networking messages at the drive level
KR20130132606A (en) Data transferring apparatus, data transmission system and data transmitting method
CN103929475B (en) The hard disk storage system and hard disc data operating method of a kind of Ethernet architecture
US9280508B1 (en) Apparatus and method for interoperability between SAS and PCI express
CN101442548B (en) Solid-state hard disk and operation method thereof
CN101478462B (en) Apparatus and method for storage data reading and writing, solid hard disk
CN102333210A (en) Video data storage method and equipment
CN101208673A (en) Techniques for providing communications in a data storage system using a single IC for both storage device communications and peer-to-peer communications
CN101437046A (en) Method for processing data of solid-state hard disk, solid-state hard disk and network appliance
CN104038550B (en) Data communications method and its device, storage system
CN103558995B (en) A kind of storage control chip and disk message transmitting method
US9946819B2 (en) Simulating a large network load
CN102868684A (en) Fiber channel target and realizing method thereof
JP2007299079A (en) Storage apparatus and failure recovery method thereof
US7831741B2 (en) Indexing device and method for data storage system
US8943237B1 (en) Performance improvement for attached multi-storage devices
CN103780634B (en) Data interaction method and data interaction device
US7721007B2 (en) Methods of transmitting non-SCSI commands involving loading opcode in command descriptor block (CDB) bytes and non-SCSI commands into remaining CDB bytes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address