CN101741699B - Communication method capable of accelerating internet small computer interface data and system for processing internet small computer interface data - Google Patents
Communication method capable of accelerating internet small computer interface data and system for processing internet small computer interface data Download PDFInfo
- Publication number
- CN101741699B CN101741699B CN2008101770643A CN200810177064A CN101741699B CN 101741699 B CN101741699 B CN 101741699B CN 2008101770643 A CN2008101770643 A CN 2008101770643A CN 200810177064 A CN200810177064 A CN 200810177064A CN 101741699 B CN101741699 B CN 101741699B
- Authority
- CN
- China
- Prior art keywords
- small computer
- computer interface
- network package
- access request
- internet small
- 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
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a communication method capable of accelerating internet small computer interface data and a system for processing the internet small computer interface data, which are applied to a target terminal of an internet small computer interface to send a plurality data packet to a plurality of sets of storage equipment. The communication method comprises the following steps that: the target terminal receives an access request for accessing the storage equipment and generates a plurality of small computer interface commands according to the access request; and a data transmitting unit (egress packet generator) in the target terminal reads the small computer interface commands, runs an address resolution program to convert the small computer interface commands to a plurality of network packets, generates a first check code according to the storage content of each network packet and loads the check code into the network packet.
Description
Technical field
The present invention relates to a kind of network package processing method, particularly a kind of network package processing method and treatment system thereof of internet small computer interface storage facilities.
Background technology
The communication protocol standard that internet small computer system interface (internet Small Computer SystemsInterface is called for short iSCSI) proposes for IETF.ISCSI is through many main frames of TCP/TP communication protocol connection network, and a plurality of storage facilitiess that are scattered in the internet become virtual network storage equipment to connect.This network storage equipment of user's access is just as this machine of access hard disk unit.Compared to traditional SCSI and RAID technology, iscsi technology has the high speed transmission abilities of SCSI concurrently, but is not subject to the expansion/back-up ability of storage facilities, can unrestrictedly expand the capacity of virtual storage equipment.This virtual storage equipment is called the storage LAN, and (Storage Area Network SAN), mainly is made up of originating end (Initiator) and destination end (target).Originating end transmits access request and destination end is set up calling on-line (Session).Destination end can be considered the management/allocator of the available storage device resource of network, can be a plurality of storage devices distribute corresponding LUN (Logic Unit Number, LUN).These LUN just look like to be virtual logical volume, and each LUN corresponds to the entity storage device on one or more networks.
Destination end is after the access that receives originating end requires, and the package content (payload) during destination end can require access is stored in its internal memory.In the prior art with the package content package that converts transmission control protocol (transformer control protocol, be called for short TCP) to successively, with the package firmware layer to the network card of videoing.At last, the firmware layer by network card is sent to storage facilities with package through transmitting element (egress packetgenerator).Please refer to shown in Figure 1ly, it is the forwarding sketch map of the package of prior art.Be the memory headroom in the destination end above Fig. 1, it is in order to store access request and corresponding minicomputer interface order.In Fig. 1 central authorities is the firmware layer in the network card, and it is in order to the package content replication firmware layer with the internal memory of destination end.At last, by the transmitting element on the network card package after the encapsulating in the firmware layer is added corresponding check code.Such practice, need from the internal memory of destination end successively with data mapping and forwarding.Therefore, need expend more time and memory headroom in the destination end.
Summary of the invention
In view of above problem, main purpose of the present invention is to provide a kind of communication means that quickens the internet small computer interface data, and its destination end that is applied to the internet small computer interface is sent a plurality of data packets to a plurality of storage facilitiess.
For reaching above-mentioned purpose; The invention discloses a kind of communication means that quickens the internet small computer interface data; Its destination end that is applied to an internet small computer interface is sent a plurality of data packets to a request end; This communication means may further comprise the steps: this destination end receives an access request, and it is in order to carry out access to a storage facilities; Produce many minicomputer interface orders according to this access request; Read those minicomputer interface orders by the data transmission unit in this destination end; Carry out an address resolution program by this data transmission unit, in order to being many network package with those minicomputer interface command conversion; According to the stored contents of each this network package in order to produce one first check code; And with this this network package of first check code adding.
Receive in this access request further comprising the steps of in this destination end: according to this access request of different these storage facilitiess is assigned an access tag; And to those access request of same this access tag in order to calculate corresponding those first check codes.
Further comprising the steps of in reading those minicomputer interface orders: as to read the memory address in this destination end; And, become those network package in order to batch wrapping according to those stored in this memory address minicomputer interface orders.
Further comprising the steps of before producing this first check code: a side-play amount of calculating each this network package; And according to this side-play amount of this network package, in order to this first check code is incorporated in this network package.
Further comprising the steps of after producing this side-play amount: as to calculate this first check code in order to stored contents to this network package according to this side-play amount.
The invention also discloses a kind of treatment system of internet small computer interface, its transmission that is applied to many network package between internet small computer interface stocking system is handled, and this treatment system comprises:
One originating end is in order to send an access request; A plurality of storage facilitiess, it is in order to store a target information; An and destination end; In order to a access request from this originating end of reception; This destination end also is sent to this originating end with this target information according to this access request in order to this target information in those storage facilitiess of access, and this destination end is also in order to carry out the following step: produce many minicomputer interfaces orders according to this access request; Read those minicomputer interface orders by the data transmission unit in this destination end; Carry out an address resolution program by this data transmission unit, in order to being many network package with those minicomputer interface command conversion; According to the stored contents of each this network package in order to produce one first check code; And with this this network package of first check code adding.
Technical scheme of the present invention utilizes the network card in the destination end that network package is carried out the generation of check code, to reduce destination end access request is videoed to network card spent time and memory headroom.
Description of drawings
Fig. 1 is the forwarding sketch map of the package of prior art;
Fig. 2 is a structural representation of the present invention;
Fig. 3 A is an operation workflow sketch map of the present invention;
Fig. 3 B is the data packet sketch map of internet small computer interface;
Fig. 3 C is the structural representation of the network package of adding first check code;
Fig. 4 is the running sketch map of another embodiment of the present invention;
Fig. 5 is respectively the sketch map by the address computation check code of minicomputer interface order.
Wherein, Reference numeral:
210 originating ends, 220 storage facilitiess
230 destination end
Embodiment
Please refer to shown in Figure 2ly, it is a structural representation of the present invention.Treatment system in the network package of internet small computer interface includes: originating end 210, storage facilities 220 and destination end 230.Originating end 210 is in order to send access request.Storage facilities 220 is in order to store target information.The access request that destination end 230 receives from originating end 210, destination end 230 is sent to originating end 210 according to access request in order to the target information in the access stored equipment 220 and with target information.Wherein, destination end 230, originating end 210 and 220 of storage facilitiess utilize the mutual delivery network package in internet.
Please refer to shown in Fig. 3 A, it is an operation workflow sketch map of the present invention.Communication means of the present invention may further comprise the steps: destination end receives access request (step S310), and it is in order to carry out access to storage facilities 220.Destination end produces many minicomputer interface orders (step S320) according to access request.Read minicomputer interface order (step S330) by the data transmission unit in the destination end.By data transmission unit executive address analysis program (step S340), in order to being many network package with the minicomputer interface command conversion.
Because the packet information of internet small computer interface will be by segmentation again after getting into the TCP layer.The packet information that an internet small computer interface therefore can occur is stored in a plurality of TCP network package; Or store the packet information of a plurality of internet small computer interfaces in TCP network package.So data transmission unit can produce first check code (step S350) according to the stored contents of each network package.Please be in addition with reference to shown in the figure 3B, it is the data packet sketch map of internet small computer interface.First check code is added network package (step S360), and network package is sent to corresponding device thereof.Please be in addition with reference to shown in the figure 3C, it is the structural representation of the network package of adding first check code.For instance, each network package among 230 couples of Fig. 3 B of destination end, first network package is in regular turn handled, and producing first check code, and first check code is inserted (meaning is side-play amount 1 back among Fig. 3 B) after first network package.Then, 230 pairs of second network package of destination end are handled, and with (meaning is side-play amount 2 backs among Fig. 3 B) after second network package of first check code insertion that is produced.In like manner, each network package is produced first check code and it is incorporated into corresponding network package after.
Except above-mentioned request situation to single originating end 210, the present invention can also be utilized in the access request of a plurality of originating ends 210.Please refer to shown in Figure 4ly, it is the running sketch map of another embodiment of the present invention.Another communication means of the present invention may further comprise the steps: according to this access request of different these storage facilitiess is assigned an access tag (step S410).In this embodiment, the access request that is proposed for different originating ends 210 is regarded as the access request of identical originating end 210 same group access tag.Destination end receives access request, and it is in order to carry out access (step S420) to storage facilities.
Produce many minicomputer interface orders (step S430) according to access request.Read minicomputer interface order (step S440) by the data transmission unit in the destination end.Read the memory address (step S451) in the destination end.Minicomputer interface order according to stored in the memory address becomes network package (step S452) in order to batch wrapping.
By data transmission unit executive address analysis program, in order to being many network package (step S460) with the minicomputer interface command conversion.Calculate the side-play amount (step S470) of each network package.According to the side-play amount of network package, check code is incorporated in network package (step S471).Stored contents according to each network package produces first check code (step S472).First check code is added network package (step S480), and network package is sent to corresponding device thereof.
For clearly demonstrating the operation workflow when a plurality of originating ends 210 propose access request, following examples are proposed as explanation at this.But wherein originating end 210 quantity are not restriction of the present invention, only chat bright earlier at this.At first, first originating end proposes first access request; Second originating end proposes second access request; The 3rd originating end proposes the 3rd access request.Destination end 230 is after receiving each access request, and destination end 230 can produce corresponding minicomputer interface order (it is respectively first minicomputer interface, second minicomputer interface and the 3rd minicomputer interface) according to different access request.Please refer to shown in Figure 5ly, it is respectively the sketch map by the address computation check code of minicomputer interface order.Destination end 230 network package that at first order is produced according to first minicomputer interface in Fig. 5 is in order to calculate its first check code.Then, the network package and first check code that destination end 230 is ordered according to second minicomputer interface again are in order to calculate first check code of the second small-sized ground brain interface command.In like manner; The network package of first check code of 230 pairs first minicomputer interface orders of destination end, first check code of second minicomputer interface order and the order of the 3rd minicomputer interface is in order to calculate first check code of the 3rd minicomputer interface order.Last resulting first check code is defined as second check code.At last, when destination end 230 is sent above-mentioned network package, adding aforementioned second check code that calculates in addition after the network package with the order of the 3rd minicomputer interface again.
Network packaging transmission method of the present invention utilizes the network card in the destination end 230 network package to be carried out the generation of check code.To reduce destination end 230 access request is videoed to network card spent time and memory headroom.
Claims (6)
1. communication means that quickens the internet small computer interface data, its destination end that is applied to an internet small computer interface is sent a plurality of network package to a request end, it is characterized in that this communication means may further comprise the steps:
This destination end receives an access request, and it is in order to carry out access to a storage facilities;
Produce many minicomputer interface orders according to this access request;
Read those minicomputer interface orders by the data transmission unit in this destination end;
Carry out an address resolution program by this data transmission unit, in order to being many network package with those minicomputer interface command conversion;
Stored contents according to each this network package produces one first check code; And
This first check code is added this network package.
2. the communication means of acceleration internet small computer interface data as claimed in claim 1 is characterized in that, receives in this access request further comprising the steps of in this destination end:
This corresponding access request of different these storage facilitiess is assigned an access tag respectively; And
Those corresponding access request of same group of this access tag are calculated corresponding those first check codes.
3. the communication means of acceleration internet small computer interface data as claimed in claim 1 is characterized in that, and is further comprising the steps of in reading those minicomputer interface orders:
Read the memory address in this destination end; And
According to those stored in this memory address minicomputer interface orders, batch wrapping becomes those network package.
4. the communication means of acceleration internet small computer interface data as claimed in claim 1 is characterized in that, and is further comprising the steps of before producing this first check code:
Calculate a side-play amount of each this network package; And
According to this side-play amount of this network package, this first check code is incorporated in this network package.
5. the communication means of acceleration internet small computer interface data as claimed in claim 4 is characterized in that, and is further comprising the steps of after producing this side-play amount:
Calculate this first check code according to this side-play amount in order to stored contents to this network package.
6. the treatment system of an internet small computer interface, its transmission that is applied to many network package between internet small computer interface stocking system is handled, and it is characterized in that this treatment system comprises:
One originating end is in order to send an access request;
A plurality of storage facilitiess, it is in order to store a target information; And
One destination end, in order to receive the access request from this originating end, this destination end also is sent to this originating end with this target information according to this access request in order to this target information in those storage facilitiess of access, and this destination end is also in order to carry out the following step:
Produce many minicomputer interface orders according to this access request;
Read those minicomputer interface orders by the data transmission unit in this destination end;
Carry out an address resolution program by this data transmission unit, in order to being many network package with those minicomputer interface command conversion;
Stored contents according to each this network package produces one first check code; And
This first check code is added this network package.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101770643A CN101741699B (en) | 2008-11-19 | 2008-11-19 | Communication method capable of accelerating internet small computer interface data and system for processing internet small computer interface data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101770643A CN101741699B (en) | 2008-11-19 | 2008-11-19 | Communication method capable of accelerating internet small computer interface data and system for processing internet small computer interface data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101741699A CN101741699A (en) | 2010-06-16 |
CN101741699B true CN101741699B (en) | 2012-01-04 |
Family
ID=42464619
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101770643A Active CN101741699B (en) | 2008-11-19 | 2008-11-19 | Communication method capable of accelerating internet small computer interface data and system for processing internet small computer interface data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101741699B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1395397A (en) * | 2002-07-16 | 2003-02-05 | 威盛电子股份有限公司 | Ethernet interchange controller with consol command logic unit |
CN2554878Y (en) * | 2002-07-16 | 2003-06-04 | 威盛电子股份有限公司 | Ethernet transducer with control desk command logic unit |
CN2558012Y (en) * | 2002-08-02 | 2003-06-25 | 鸿富锦精密工业(深圳)有限公司 | TCP/IP protocol supported signal collector |
-
2008
- 2008-11-19 CN CN2008101770643A patent/CN101741699B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1395397A (en) * | 2002-07-16 | 2003-02-05 | 威盛电子股份有限公司 | Ethernet interchange controller with consol command logic unit |
CN2554878Y (en) * | 2002-07-16 | 2003-06-04 | 威盛电子股份有限公司 | Ethernet transducer with control desk command logic unit |
CN2558012Y (en) * | 2002-08-02 | 2003-06-25 | 鸿富锦精密工业(深圳)有限公司 | TCP/IP protocol supported signal collector |
Also Published As
Publication number | Publication date |
---|---|
CN101741699A (en) | 2010-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108028833B (en) | NAS data access method, system and related equipment | |
CN103902486B (en) | System, device and method for implementation of remote direct memory access | |
CN100438403C (en) | Method, system, and program for managing data transmission through a network | |
CN100556036C (en) | Carry out method, the system and program of data transmission requests | |
CN101626384B (en) | Method and system for transmitting data packet based on TPC protocol | |
US20050135395A1 (en) | Method and system for pre-pending layer 2 (L2) frame descriptors | |
CN105556930A (en) | NVM EXPRESS controller for remote memory access | |
CN106020926B (en) | A kind of method and device transmitted for data in virtual switch technology | |
CN102195874A (en) | Pre-fetching of data packets | |
CN110177087B (en) | Target end protocol hardware analysis method based on TOE network card | |
CN103838516B (en) | A kind of method and system for polycaryon processor efficient access iscsi disk array | |
CN105868136A (en) | Electronic device for packing multiple command/command frames and command frame processing method | |
CN100353307C (en) | Storage system and method of storaging data and method of reading data | |
CN111277600B (en) | Data transmission method and device | |
CN113259268A (en) | Network port and serial port data forwarding gateway and method supporting redundancy architecture | |
CN102404414A (en) | Ethernet communication system and method based on multi-media card/security digital card (MMC/SD) interface | |
CN108513701A (en) | Data transmission method, equipment, machine readable storage medium and system | |
CN105933325A (en) | Kernel mode RPC (Remote Procedure CALL) communication acceleration method based on NFSoRDMA (Network File System over Remote Direct Memory Access) | |
CN103942149B (en) | The method and system of User space program and kernel mutual message | |
JP5390662B2 (en) | Data transfer method and electronic device | |
US20150199298A1 (en) | Storage and network interface memory share | |
US20100175073A1 (en) | Network device for accelerating iscsi packet processing | |
CN101741699B (en) | Communication method capable of accelerating internet small computer interface data and system for processing internet small computer interface data | |
US10866917B2 (en) | Inter device data exchange via external bus by utilizing communication port | |
US20120136958A1 (en) | Method for analyzing protocol data unit of internet small computer systems interface |
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 | ||
ASS | Succession or assignment of patent right |
Owner name: I VALLEY HOLDINGS CO., LTD. Free format text: FORMER OWNER: YINGYEDA CO., LTD., TAIWAN Effective date: 20150722 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20150722 Address after: Cayman Islands, George Town Patentee after: IValley Holding Co., Ltd. Address before: Taipei City, Taiwan, China Patentee before: Inventec Corporation |