CN101984638A - Storage agent system used for cross-IPv4 and IPv6-network processing and method thereof - Google Patents

Storage agent system used for cross-IPv4 and IPv6-network processing and method thereof Download PDF

Info

Publication number
CN101984638A
CN101984638A CN2010105384758A CN201010538475A CN101984638A CN 101984638 A CN101984638 A CN 101984638A CN 2010105384758 A CN2010105384758 A CN 2010105384758A CN 201010538475 A CN201010538475 A CN 201010538475A CN 101984638 A CN101984638 A CN 101984638A
Authority
CN
China
Prior art keywords
ipv6
ipv4
node
destination node
storage
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
CN2010105384758A
Other languages
Chinese (zh)
Other versions
CN101984638B (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.)
Changzhou Campus of Hohai University
Original Assignee
Changzhou Campus of Hohai University
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 Changzhou Campus of Hohai University filed Critical Changzhou Campus of Hohai University
Priority to CN 201010538475 priority Critical patent/CN101984638B/en
Publication of CN101984638A publication Critical patent/CN101984638A/en
Application granted granted Critical
Publication of CN101984638B publication Critical patent/CN101984638B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a storage agent system used for cross-IPv4 and IPv6-network processing, comprising a main control unit, an IPv6 input buffer, an IPv4 input buffer, an IPv4 output buffer, an IPv6 output buffer, a PDU analyzer, a PDU constructor, a command analytic unit, a data processing unit, a port mapping tank, a target node registration management module and a communication manager. The method includes that a storage request and storage data packet from an initiator node in the IPv6 network are subject to analyzing, mapping and processing by virtue of the system and are then sent to corresponding storage target node; and a storage response packet and data packet which are sent to the IPv6 node by the target node are subject to buffering and conversion processing by virtue of the system and are then forwarded to the IPv6 initiator node. The invention provides intermediate conversion and expedited forwarding functions for communication and data transmission of IPv6 storage user and IPv4 storage system, and efficiency that an IPv6 uses storage service is improved.

Description

Be used to handle the storage agent system and method for striding IPv4 and IPv6 network
Technical field
The present invention relates to Network storage technology, relate in particular to IPv6 and be used to handle the storage agent system and method for striding IPv4 and IPv6 network storage service transition period.
Background technology
Along with the fast development of Internet and applying of IPv6 technology, IPv6 and existing IPv4 network integration degree are more and more higher.But the infrastructure of IPv4 network is very extensive, can not accomplish in one move from the IPv4 network transition to IPv6.The IPv6 network interoperability working group (v6ops) of IETF also points out, network can not occur on a large scale, widely, whole migration, transition, IPv4 and IPv6 technology in following more than ten years even longer time with long-term co-existence and interoperability.Transition period, IPv6 and IPv4 network were mainly interconnected by modes such as two stacks, tunnel, protocol conversions, that is to say that IPv4 is not by independent pure IPv6 link with the idea that is connected of IPv6 network, transmitted but use original IPv4 link.Stores service is as a kind of valuable source equipment on the other hand, and ISP generally can not dispose many places in network, but concentrates on certain zone.In view of above 2 points, there are the IPv6 of storage demand, IPv4 node that all there is competition in the visit of stores service equipment at aspects such as the network bandwidth, storage resources, thereby cause performance bottleneck.And the research and the solution of current IP v6, IPv4 storage system addressing means aspect relatively lack, and can't satisfy the convenience requirement that the user uses, safeguards storage system.
From the IPv6 agreement, one of IPv6 network design thought is exactly to improve network transmission efficiency, so the packet header length of IPv6 packet shortens, its load can be specially adapted to big throughput data access services, as application such as Streaming Medias much larger than the IPv4 packet; And using present situation from present IPv6, IPv6 uses many really in big throughput data access service such as Streaming Media.The service guarantees specific service quality demand that this class business need is provided requires storage system to support concurrent application as much as possible simultaneously, therefore storage system is produced bigger pressure.
The interconnection technique that the network storage is at present adopted mainly contains optical-fibre channel and TCP/IP.IP-based iSCSI(Internet SCSI) agreement is one of IP storage network protocol, and it combines the two kinds of industrial standard SCSI and the TCP/IP of extensive use, and the Connection Service of object data block level is provided for memory device.Owing to the iSCSI agreement can solve the compatibility that exists in the network storage based on optical-fibre channel and transmission range problem and can provide relatively inexpensive solution to receive extensive welcome.
Though the IP network storage based on iSCSI can realize the direct expansion of stores service to the IPv6 network by in storage server network layer being increased the IPv6 agreement, but because present IPv6 inserts modes such as using two stacks, tunnel, protocol conversion mostly, in fact ipv6 traffic uses the IPv4 link transmission, therefore this directly interconnected extension storage method of service can not be brought into play the IPv6 protocol characteristic to greatest extent, and can cause that network traffics are doubled and redoubled, storage resources is because shortage unified management, optimization reduce service efficiency.
How to make full use of IP6 protocol function and iSCSI Network storage technology characteristics, and the load that as far as possible reduces the IPv4 existing network becomes the key that solves IPv6 network storage issue in transition period.The storage agent system that this paper proposes is a kind of effective solution.
Application number is that the patent application that 200580015737.X, name are called " method and apparatus that is used to handle the IPV4 DNS PTR inquiry of striding IPV4 and IPV6 network " discloses the method and apparatus that is used to handle the IPV4 DNS PTR inquiry of striding IPV4 and IPV6 network, handles the storage means of striding IPV4 and IPV6 network but relate to.Application number is 200910242354.6, for the patent application of " supporting the service control method that extendible IPv 6 inserts under the IPv4 environment " discloses the service control method that extendible IPv 6 inserts under the IPv4 environment, but do not relate to network storage aspect.
Summary of the invention
The purpose of this invention is to provide a kind of under IPv6 IPv4/IPv6 in transition period and dis environment, do not change under the condition of existing network configuration, for IPv6 storage user provides intermediate conversion and quickens forwarding capability with the communications and data transmission of IPv4 storage system, raising IPv6 user use stores service efficient be used to handle the storage agent system and method for striding IPv4 and IPv6 network.
The present invention realizes that the technical scheme of above-mentioned purpose is: a kind ofly be used to handle the storage agent system of striding IPv4 and IPv6 network, comprise: main control unit, the IPv6 input buffering, the IPv4 input buffering, IPv4 exports buffering, IPv6 exports buffering, the PDU resolver, the PDU constructor, command resolution unit, data processing unit, the port mapping pond, destination node registration management module and contact manager, described contact manager is by the task management unit, the connection management unit, session management unit, IPv4 end text parameter negotiation information table, IPv6 end text parameter negotiation information table is formed.
The technical scheme that the present invention realizes being used in the above-mentioned purpose handle the storage agent systems approach of striding IPv4 and IPv6 network is: a kind ofly be used to handle the storage agent method of striding IPv4 and IPv6 network, adopt and describedly be used to handle the storage agent system of striding IPv4 and IPv6 network and handle, may further comprise the steps: (1) initialization procedure: destination node registration management module is to the initialization of storage essential information, and contact manager is to the telecommunication management information initializing;
(2) main control unit is received packet and the packet that is received is judged whether it is the IPv6 packet, if IPv6 packet, then query aim node information on services registration table and initiator node communication information table, judge whether initiator node from IPv6, if, then put into the IPv6 input buffering, otherwise abandon; If the IPv4 packet then judges whether the destination node from IPv4, if then put into the IPv4 input buffering, otherwise abandon;
(3) the PDU resolver carries out the packet parsing to the packet that receives after handling through step (2), by packet internal structure judgment data bag type; According to iSCSI type of message in the packet, give command resolution unit or data processing unit respectively and handle;
(4) data of handling through step (3) are changed, are configured to new packet through the PDU constructor again, put into corresponding IPv4 output buffer or IPv6 output buffer, wait to be sent;
(5), revise telecommunication management relative recording table by contact manager according to the message communication situation; Get back to step (2), periodic duty.
Judgment data bag type in the described step (3) specifically refers to:
A checks the telecommunication management state table if based on state message and the command message of iSCSI, then further carry out command analysis, judges whether order, state be legal, if non-rule is carried out fault processing;
B checks data validity if based on the data message of iSCSI, then check the data transmit-receive record, and invalid data is carried out fault processing; To the valid data message, carry out data according to the consultation parameter table and split and encapsulation process.
Destination node information on services registration table in the step (2) and initiator node communication information table specifically comprise each field shown in the following table:
1. destination node information on services registration table comprises: the IPv4 address of destination node sequence number, destination node name, destination node, destination node communication port numbers, interface group mark;
2. initiator node communication information table comprises: the IPv6 address of initiator node sequence number, initiator node name, initiator node, initiator node communication port numbers, initiator node session id.
5. according to claim 3ly be used to handle the storage agent method of striding IPv4 and IPv6 network, it is characterized in that: described telecommunication management state table comprises: duty mapping table, linkage record table, conversation recording table,
(a), the duty mapping table comprises: task number, the task flagging of record initiator node, task order type, read/write data LUN, affiliated hyphen, affiliated session number, task status;
(b), the linkage record table comprises: connect sequence number, the IPv6 address of initiator node, the port numbers of initiator node, the IPv4 address of destination node, the port numbers of destination node, the mapped port that storage agent provides number, affiliated conversation index, task status;
(c), the conversation recording table comprises: conversation index, record initiator node name, initiator node end session number, record object namespace node, destination node end session number, the port set mark of destination node end, session status.
By between IPv6 initiator node and the IPv4 destination node each communication tuple: IPv6 initiator node IPv6 address, IPv6 initiator node port numbers, destination node IP address, destination node port numbers, the mapped port in corresponding port mapping pond, the initiator node and the destination node that carry out network service in network layer binding are that mapping relations are one to one set up in session between initiator node and the destination node with the network port.
By each Nexus tuple between IPv6 initiator node and the IPv4 destination node: IPv6 initiator node name, initiator node end session number, destination node name, port set mark, both sides' interface of a fixed iSCSI session connection; Utilize the Nexus tuple to realize related each session both sides's of iSCSI layer mapping.
Described contact manager provides record, inquiry and update functions to IPv6 initiator node, storage agent system and IPv4 destination node three's communication process, mainly realizes by aspects such as the management of text parameter negotiation information, duty mapping management, connection management, session managements.
The invention has the beneficial effects as follows: the present invention inserts storage agent system based on iSCSI at the interconnected network boundary of IPv6 subnet and IPv4 backbone network, and this system supports IPv4/IPv6 dual stack.From the storage request of IPv6 network internal initiator node and storage packet by storage agent resolve, mapping and handle after, send to corresponding storage destination node; Destination node sends to the storage response packet of IPv6 node and packet also by being transmitted to the IPv6 initiator node after storage agent buffering, the conversion process.By the storage agent system, provide the storage system of stores service needn't do any change and just can provide unified stores service simultaneously for IP4 and IPv6 network node, protect the existed system investment as far as possible, make full use of existing equipments resources; And all regard as based on IPv4 all storage users, thus simplified transition period IPv4/IPv6 and dis environment under the framework and the task management complexity of storage service system.Make full use of IPv6 protocol function and iSCSI Network storage technology characteristics, guaranteed efficient access and the operation of IPv6 storage user to the IPv4 memory device, for the storage user of IPv6 subnet provides high performance data processing and application responds ability, guarantee the efficient operation of types of applications system and database.Storage agent provides transparent exchanging visit mediating function for IPv6 stores user and IPv4 storage server and memory device, effectively reduce IPv6 storage user and be used to store the resource consumption of packet encapsulation, transmission and reception, reduced the offered load that the IPv4 storage networking brings because of a large amount of IPv6 storage services simultaneously as far as possible.
To the later stage of IPv6 transition, IPv6 will become backbone network, stores service is mostly based on IPv6, this moment, storage agent can be used as the middle bridge that isolated IPv4 network storage user conducts interviews to IPv6 storage target, make the storage target it seems that all users are IPv6 users and unified stores service is provided, simplified the storage system framework that the transition later stage takes as the leading factor with IPv6 and the complexity of task management equally.
Description of drawings
Fig. 1 is a network application environment of the present invention;
Fig. 2 is a storage agent internal system structure chart of the present invention;
Fig. 3 is the procotol correspondence mapping graph of system of the present invention;
Fig. 4 is the entry stage traffic diagram of storage agent of the present invention system;
Fig. 5 is the write operation traffic diagram of storage agent of the present invention system;
Fig. 6 is the read operation traffic diagram of the storage agent system that the present invention relates to;
Fig. 7 is the workflow diagram that system of the present invention and system relate to;
The network application environment that Fig. 8 relates to for another example of the present invention.
Embodiment
As shown in Figure 2, of the present invention be used for handling stride IPv4 and IPv6 network, internal structure based on the storage agent 205 of the storage agent system of iSCSI storage service comprises: main control unit 100, IPv6 input buffering 101, IPv4 input buffering 105, IPv4 output buffering 103, IPv6 output buffering 108, PDU resolver 104, PDU constructor 107, command resolution unit 102, data processing unit 106, port mapping pond 109, destination node registration management module 110 and contact manager 112, described contact manager 112 is by task management unit 111, connection management unit 113, session management unit 114, IPv4 end text parameter negotiation information table 115, IPv6 end text parameter negotiation information table 116 is formed.
Shown in Fig. 1,3,4,5,6,7, a kind of be used to handle stride IPv4 and IPv6 network, based on the storage agent method of iSCSI storage service, adopt describedly to be used to handle the storage agent system of striding IPv4 and IPv6 network and to handle, may further comprise the steps:
(1) initialization procedure: the initialization of 110 pairs of storages of destination node registration management module essential information, 112 pairs of telecommunication management information initializings of contact manager;
(2) main control unit 100 is received packet and the packet that is received is judged whether it is the IPv6 packet, if IPv6 packet, then query aim node information on services registration table and initiator node communication information table, judge whether initiator node from IPv6, if, then put into the IPv6 input buffering, otherwise abandon; If the IPv4 packet then judges whether the destination node from IPv4, if then put into the IPv4 input buffering, otherwise abandon;
(3) packet that receives after PDU resolver 104 pairs of processes step (2) is handled carries out packet resolves, by packet internal structure judgment data bag type; According to iSCSI type of message in the packet, give command resolution unit 102 or data processing unit 106 processing respectively;
(4) data of handling through step (3) are changed, are configured to new packet through PDU constructor 107 again, put into corresponding IPv4 output buffer 103 or IPv6 output buffer 108, wait to be sent;
(5), revise telecommunication management relative recording table by contact manager 112 according to the message communication situation; Get back to step (2), periodic duty.
Judgment data bag type in the described step (3) specifically refers to:
A checks the telecommunication management state table if based on state message and the command message of iSCSI, then further carry out command analysis, judges whether order, state be legal, if non-rule is carried out fault processing;
B checks data validity if based on the data message of iSCSI, then check the data transmit-receive record, and invalid data is carried out fault processing; To the valid data message, carry out data according to the consultation parameter table and split and encapsulation process.
Destination node information on services registration table in the step (2) and initiator node communication information table specifically comprise each field shown in the following table:
1. destination node information on services registration table comprises: the IPv4 address of destination node sequence number, destination node name, destination node, destination node communication port numbers, interface group mark;
2. initiator node communication information table comprises: the IPv6 address of initiator node sequence number, initiator node name, initiator node, initiator node communication port numbers, initiator node session id.
Described telecommunication management state table comprises: duty mapping table, linkage record table, conversation recording table, and concrete field and being illustrated as:
(a), the duty mapping table comprises: task number, the task flagging of record initiator node, task order type, read/write data LUN, affiliated hyphen, affiliated session number, task status;
(b), the linkage record table comprises: connect sequence number, the IPv6 address of initiator node, the port numbers of initiator node, the IPv4 address of destination node, the port numbers of destination node, the mapped port that storage agent provides number, affiliated conversation index, task status;
(c), the conversation recording table comprises: conversation index, record initiator node name, initiator node end session number, record object namespace node, destination node end session number, the port set mark of destination node end, session status.
As shown in Figure 1, by between IPv6 initiator node and the IPv4 destination node each communication tuple: IPv6 initiator node IPv6 address, IPv6 initiator node port numbers, destination node IP address, destination node port numbers, the mapped port in corresponding port mapping pond 109, the initiator node and the destination node that carry out network service in network layer binding are that mapping relations are one to one set up in session between initiator node and the destination node with the network port.
By each Nexus tuple between IPv6 initiator node and the IPv4 destination node: IPv6 initiator node name, initiator node end session number, destination node name, port set mark, both sides' interface of a fixed iSCSI session connection; Utilize the Nexus tuple to realize related each session both sides's of iSCSI layer mapping.
112 pairs of IPv6 initiator node of described contact manager, storage agent system and IPv4 destination node three's communication process provides record, inquiry and update functions, mainly realizes by aspects such as the management of text parameter negotiation information, duty mapping management, connection management, session managements.
Network application environment of the present invention is: backbone network and storage area network are all based on the IPv4 agreement, and backbone network is that the IPv6 sub-network provides access with IPv4/IPv6 dual stack or tunnel style.IPv6 storage user's initiator node (Initiator), storage agent and storage destination node (Target) are all supported the iSCSI agreement.
Insert storage agent 205 based on iSCSI at IPv6 subnet 201 and IPv4 backbone network 401 interconnected network boundaries, storage agent 205 is supported IPv4/IPv6 dual stack.From the storage request of IPv6 network 201 inner initiator node 202 or 203 and storage packet by storage agent 205 resolve, mapping and handle after, send to the respective stored server destination node 502 or 503 of appointment; Storage response packet that storage server destination node 502 or 503 sends to and packet are also by being transmitted to former IPv6 initiator node 202 or 203 after storage agent 205 bufferings, mapping, the processing.And still communicate by letter the influence that not inserted by IPv6 with the destination node 502 or 503 of storage area 501 by IPv4 backbone network 401 from the storage request and the packet of IPv4 subnet 301.A mapped port correspondence of storage agent the corresponding relation of a session between IPv6 initiator node port and the destination node port.
A plurality of functional modules that above-mentioned storage agent 205 is comprised specify as follows:
Main control unit 100: the storage agent flow process is controlled and managed.
IPv6 input buffering 101: be used for temporarily depositing iSCSI protocol massages from the IPv6 initiator node.
IPv6 output buffering 103: be used for temporarily depositing the iSCSI protocol massages that to issue the IPv6 initiator node.
IPv4 input buffering 105: be used for temporarily depositing iSCSI protocol massages from the IPv4 destination node.
IPv4 input buffering 108: be used for temporarily depositing the iSCSI protocol massages that to issue the IPv4 destination node.
PDU resolver 104, PDU constructor 107: be respectively applied for the iSCSI protocol massages based on IPv6 or IPv4 is resolved and re-constructed.
Command resolution unit 102: the message commands of classifying out after resolving by PDU resolver 104 is carried out the context determination analysis, and make the suitable processing of replying according to the iSCSI agreement.
Data processing unit 106: the message data of classifying out after resolving by PDU resolver 104 is carried out analytical calculation, split or union operation according to the data message length limit value of consulting, and deposit new message in output buffer.
Port mapping pond 109: with the port of storage agent 205 is that mapping relations are one to one set up in session between initiator node and the destination node.
Destination node registration management module 110: collect and preserve the storing service information that destination node provided, use for inquiry.
Contact manager 112: the communication process to IPv6 initiator node, storage agent and IPv4 destination node three provides record, inquiry and update functions, mainly realizes by aspects such as the management of text parameter negotiation information, duty mapping management, connection management, session managements.
Specifically describe as follows to above-mentioned storage agent system.
, the storage basic information management
Storage agent 205 is each destination node collection storing service information in storage area 501 regularly, and the information on services registration table in preservation and the renewal destination node registration management module 110 specifically comprises each field as shown in the figure.Storage agent 205 is collected the method for storing service information can utilize the existing SLP positioning service of IP network agreement according to the RFC2165 regulation, also can utilize the Internet storage NSP to collect.
Form
Figure 159283DEST_PATH_IMAGE002
Destination node information on services registration table
Target-ID The destination node sequence number
Target-Name The destination node name
IP-Address The IPv4 address of Target
Port The destination node communication port numbers
Portal-group-tag The interface group mark
Form 2 initiator node communication information tables
Initiator-ID The initiator node sequence number
Initiator-Name The initiator node name
IPv6-Address The IPv6 address of initiator node
Port The initiator node communication port numbers
ISID The initiator node session id
Each communication tuple between initiator node and the destination node: initiator node IPv6 address, initiator node port numbers, destination node IP address, destination node port numbers, corresponding stored agency's a mapped port is bound the both sides' main frame that carries out network service in network layer.
, contact manager
Contact manager 112 is made up of task management unit 111, connection management unit 113, session management unit 114.Wherein, a duty mapping table is safeguarded in task management unit 111, concrete field and being illustrated as:
Form
Figure 104148DEST_PATH_IMAGE002
The duty mapping table
TaskID Task number
Initiator_TaskTag The task flagging (ITT) of record initiator node
Command The task order type
LUN The read/write data LUN
ConnectionID Affiliated hyphen
SessionID Affiliated session number
Task_Status Task status
A linkage record table is safeguarded in connection management unit 113, and the storage agent mappings port realizes connecting both sides' binding, concrete field and being illustrated as:
Form
Figure 988928DEST_PATH_IMAGE002
The linkage record table
ConnectionID Connect sequence number
Initiator_IPv6_Address The IPv6 address of initiator node
Initiator_Port The port numbers of initiator node
Target_IPv4_Address The IPv4 address of destination node
Target _Port The port numbers of destination node
Agent_map_Port The mapped port that storage agent provides number
SessionID Affiliated conversation index
Connection_Status Task status
Session management unit 114 is safeguarded a conversation recording table, concrete field and being illustrated as:
Form
Figure 318278DEST_PATH_IMAGE002
The conversation recording table
SessionID Conversation index
Initiator-Name Record initiator node name
ISID Initiator node end session number
Target-Name The record object namespace node
TSIH? Destination node end session number
Target-Portal-Group-Tag The port set mark of destination node end
Session_Status Session status
Each Nexus tuple between initiator node and the destination node: initiator node name, ISID, destination node name, port set mark, both sides' interface of an iSCSI session connection of binding.The Nexus tuple of utilizing storage agent realizes related each session both sides's of iSCSI layer mapping.
, entry stage
For the convenience of describing, be that example is described with communicating by letter between IPv6 initiator node 202 and the destination node 502 below.
IPv6 initiator node 202 is obtained current name and the corresponding interface group mark that the iSCSI destination node 502 of stores service is provided by the destination node information on services registration table in the inquiry storage agent 205 before bringing into use stores service.
Pass through network monitoring, storage agent 205 will receive the memory access logging request that is sent to destination node 502 corresponding names and interface by IPv6 initiator node 202, the source address of this message is the IPv6 address of initiator node 202, destination address is the IPv6 address of storage agent 205, and has stipulated initiator node name, port numbers, destination node name and memory interface group echo.Storage agent 205 is put into IPv6 input buffering 101 with this message and is waited in line to handle.
PDU resolver 104 takes out this request message from IPv6 input buffering formation, by preliminary analytic message structure, is judged as iSCSI logging request message, and it is given to command resolution unit 102.Command resolution unit 102 is at first searched destination node name pairing IPv4 address and port numbers in the message, search the communications records of this IPv6 initiator node and destination node by contact manager 112, check its protocol compliant standard of whether communicating by letter at this request command, if legal, then hand to PDU constructor 107 and handle; Otherwise directly reply IPv6 initiator node 202 with the refusal message.The PDU constructor will be originally based on the iSCSI request message of IPv6 be converted to based on IPv4, with the IPv4 address of storage agent be source address, with the destination node IP address of the name correspondence of this destination node and the iSCSI logging request message that port numbers is destination address, and for a unallocated port of this connection memory allocated agency 205 number records in the port mapping pond as mapped port, it is to be sent then neotectonics ground message to be put into IPv4 output buffering etc.; Notifying communication manager 112 increases communications records respectively in connection management unit 113, session management unit 114 simultaneously.
In order to consult the parameters configuration with storage system, storage agent 205 initiatively sends to destination node 502 and has the message that text parameter is consulted order, destination node 502 can be replied proposing the negotiation parameter value, and final storage agent 205 is saved in IPv4 end text parameter negotiation information table to the negotiation result of determining.
IPv6 initiator node 202 also can send the message that has text parameter negotiation order to storage agent 205 in order to consult the parameters configuration with destination node 502, and storage agent 205 can provide the parameter value that is applicable to the IPv6 agreement to hold consultation with it.As the maximum length (FirstBurstLength), acquiescence stand-by period (DefaultTime2Wait), each task that receive the maximum data segment length (MaxRecvDataSegmentLength) of data, the maximum length (MaxBurstLength) of request class data, non-request class data can no longer be subjected to the IPv4 protocols limit with the setting of the higher limit key values such as (MaxOutstandingR2T) of R2T, but satisfy the IPv6 requirement as far as possible, with the protocol function advantage of performance IPv6.Consult to finish, storage agent 205 is saved in IPv6 end text parameter negotiation information table to the text parameter negotiation result of IPv6 end.
Destination node 502 is received from the logging request message of storage agent 205 and after finishing the text parameter negotiation, is replied message according to iSCSI agreement structure IPv4 and send back to storage agent 205.Storage agent 205 is put into the IPv4 input buffering with this response message, gives PDU constructor 107 by PDU resolver 104, command resolution unit 102 after judging, resolving.PDU constructor 107 is by the link information in the mapping table of being connected in inquiry port mapping pond 109 and the contact manager 112, structure mails to the response message of IPv6 initiator node 202, puts into IPv6 output buffering and treats to send to IPv6 initiator node 202 after the text parameter of IPv6 end is consulted to finish.
, full worker's stage
After IPv6 initiator node 202 received that login is replied, storage both sides' communication entered the full worker stage by entry stage, and IPv6 initiator node 202 can send the reading and writing data command to stores service equipment as required.
(1) write order communication process
When IPv6 initiator node 202 need be write the storage data, can send an iSCSI write order and first batch of write data to the IPv6 address of storage agent 205.Comprise initiator node task flagging (ITT), LUN (LUN), LBA (LBA) and total length in the write order.The important traffic parameters such as maximum length of first batch of write data are carried out according to entry stage storage agent 205 and IPv6 initiator node 202 negotiation parameter values in the communication process.After storage agent 205 is received this message, on the one hand, storage agent 205 is after the write data order of receiving IPv6 initiator node 202 and first batch of dateout are carried out command analysis, task management unit 111 in contact manager 112 adds a record, according to connecting sequence number, conversation index renewal session management unit 114 and connection management unit 113, and send a R2T(Ready-to-Transfer to IPv6 initiator node 202 by PDU constructor 107) response message, show and carry out the preparation that receives the next group data.On the other hand, handle, first batch of write data is given to data processing unit 106 by after 104 parsings of PDU resolver, the judgement write order being delivered command resolution unit 102.Data processing unit 106 is repacked after destination node 502 corresponding clauses and subclauses provide the consultation parameter value that data are split in the IPv4 end text parameter negotiation information table.PDU constructor 107 with write order and again the data block after the encapsulation to be configured to IPv4 address with storage agent 205 be that the IPv4 address of source address, destination node 502 is the write order message of destination address, it is to be sent to put into IPv4 output buffering etc.Because the maximum data packet length of IPv6 agreement regulation is generally much larger than IPv4 packet maximum length, so data processing unit 106 always is split as the littler data message of length with data entrained in the IPv6 packet.After storage agent 205 receives that the R2T that has ITT, buffer offset and total length that sends from destination node 502 replys, will continue to send the remaining dateout for the treatment of.So circulation is received the state confirmation response message of destination node up to sending all data.Task termination, storage agent are upgraded this task record state for finishing from the duty mapping table.
(2) read command communication process
When the IPv6 initiator node need be from the destination node read data, at first send a read command to the IPv6 address of storage agent 205.Comprise initiator node task flagging (ITT), LUN (LUN), LBA (LBA) and total length in the read command.After storage agent 205 received that command analysis is carried out in this instruction, the task management unit 111 in contact manager 112 added a record, and foundation is related with session management unit 114 and connection management unit 113; Reequip message then, send to destination node IPv4 address.Destination node receive orders and get ready after begin to send the data block of reading in of being asked.205 IPv4 packet bufferings of receiving of storage agent are to the IPv4 buffering area, re-assemblying, be configured to IPv6 address with storage agent 205 according to the pairing consultation parameter value of IPv6 initiator node in the IPv6 end text parameter negotiation information table then is that the IPv6 address of source address, initiator node is that the iSCSI of destination address reads in data message, puts into the queuing of IPv6 output buffer and sends.So constantly circulation, the state of receiving after receiving all data that will read is replied.This task status is upgraded in task termination, storage agent 205 from the duty mapping table.
, workflow:
(1) initialization procedure: destination node registration management module is to the initialization of storage essential information, and contact manager is to the telecommunication management information initializing.
(2) storage agent grid interface judges whether it is the IPv6 packet to the packet that is received, if IPv6 packet, then query aim node information on services registration table and initiator node communication information table, judge whether initiator node from IPv6, if, then put into the IPv6 input buffering, otherwise abandon; If the IPv4 packet then judges whether the destination node from IPv4, if then put into the IPv4 input buffering, otherwise abandon;
(3) the PDU resolver carries out the packet parsing to the packet of receiving, by packet internal structure judgment data bag type; According to iSCSI type of message in the packet, give command resolution unit or data processing unit respectively and handle;
(4) the PDU constructor is changed, is configured to new packet, puts into corresponding IPv4 or IPv6 output buffer, waits to be sent;
(5), revise telecommunication management relative recording table by contact manager according to the message communication situation; Get back to step (2), periodic duty.
In concrete enforcement, storage agent of the present invention system can be according to the network environment difference and respective change.At the IPv6 transition initial stage, based on the IPv4 network, IPv6 inserts as indivedual subnets, and stores service is based on the IPv4 agreement, so storage agent is that IPv6 user capture IPv4 stores service equipment is offered help; To the IPv6 transition middle and later periods, based on the IPv6 network, IPv4 inserts as indivedual subnets, and stores service is based on the IPv6 agreement, so storage agent is that IPv4 user capture IPv6 stores service equipment is offered help.
As shown in Figure 8, be in the interconnected network boundary of IPv4 subnet 601 and IPv6 backbone network 701 based on the storage agent system 605 of iSCSI.From the storage request of IPv4 network 601 inner initiator node 602 and storage packet by storage agent system 605 resolve, mapping and handle after, send to the IPv6 storage server destination node 902 of appointment in the IPv6 storage networking 901; Storage response packet that storage server destination node 902 sends and packet are transmitted to former IPv4 initiator node 602 after cushioning, shine upon, handle by storage agent system 605.A mapped port correspondence of storage agent system 605 corresponding relation of a session between IPv6 initiator node port and the destination node port.
Storage agent 605 job steps are as follows:
(1) initialization procedure: destination node registration management module is to the initialization of storage essential information, and contact manager is to the telecommunication management information initializing.
(2) storage agent grid interface judges whether it is the IPv4 packet to the packet that is received, if IPv4 packet, then query aim node information on services registration table and initiator node communication information table, judge whether initiator node from IPv4, if, then put into the IPv4 input buffering, otherwise abandon; If the IPv6 packet then judges whether the destination node from IPv6, if then put into the IPv6 input buffering, otherwise abandon;
(3) the PDU resolver carries out the packet parsing to the packet of receiving, by packet internal structure judgment data bag type; According to iSCSI type of message in the packet, give command resolution unit or data processing unit respectively and handle;
(4) the PDU constructor is changed, is configured to new packet, puts into corresponding IPv6 or IPv4 output buffer, waits to be sent;
(5), revise telecommunication management relative recording table by contact manager according to the message communication situation; Get back to step (2), periodic duty.
As can be seen, in early stage of IPv6 transition and latter stage two kinds of network environments, the principle of storage agent of the present invention system is identical with forming structure from the explanation of above specific embodiment.
Early stage to the IPv6 transition, realize that by storage agent IPv6 storage user stores communicating by letter and transfer of data between the target with IPv4, in the IPv6 network, make full use of the agreement characteristics and the IPv6 network bandwidth of IPv6 on the one hand, structure has the IPv6 iSCSI storage packet of mass data load, improve efficiency of transmission and bandwidth availability ratio, reduce the resources such as CPU, I/O that the IPv6 node consumes in structure and parsing iSCSI message; On the other hand, the storage agent system provides the transfer of iSCSI message for IPv6 storage user, realize the bi-directional conversion of iSCSI message between IPv6 and the IPv4, and provide buffering for memorying data flow based on iSCSI, reduce IPv6 message transmission frequency on the IPv4 backbone network, alleviate the load of IPv4 backbone network and the processing complexity of IPv4 storage system.Similarly, in middle and later periods to the IPv6 transition, realize that by storage agent IPv4 storage user stores communicating by letter and transfer of data between the target with IPv6, for IPv4 storage user provides transfer of iSCSI stored messages and buffering, realize the bi-directional conversion of iSCSI message between IPv4 and the IPv6, with loading rate and the efficiency of transmission that makes full use of the IPv6 network message, improve network storage efficiency of service, simplify the framework and the task management complexity of storage service system in transition period.

Claims (8)

1. one kind is used to handle the storage agent system of striding IPv4 and IPv6 network, it is characterized in that: comprising: main control unit (100), IPv6 input buffering (101), IPv4 input buffering (105), IPv4 output buffering (103), IPv6 output buffering (108), PDU resolver (104), PDU constructor (107), command resolution unit (102), data processing unit (106), port mapping pond (109), destination node registration management module (110) and contact manager (112), described contact manager (112) is by task management unit (111), connection management unit (113), session management unit (114), IPv4 holds text parameter negotiation information table (115), IPv6 end text parameter negotiation information table (116) is formed.
2. one kind is used to handle the storage agent method of striding IPv4 and IPv6 network, adopts that claim 1 is described to be used to handle the storage agent system of striding IPv4 and IPv6 network and to handle, and it is characterized in that: may further comprise the steps:
(1) initialization procedure: destination node registration management module (110) is to the initialization of storage essential information, and contact manager (112) is to the telecommunication management information initializing;
(2) main control unit (100) is received packet and the packet that is received is judged whether it is the IPv6 packet, if IPv6 packet, then query aim node information on services registration table and initiator node communication information table, judge whether initiator node from IPv6, if, then put into the IPv6 input buffering, otherwise abandon; If the IPv4 packet then judges whether the destination node from IPv4, if then put into the IPv4 input buffering, otherwise abandon;
(3) PDU resolver (104) carries out the packet parsing to the packet that receives after handling through step (2), by packet internal structure judgment data bag type; According to iSCSI type of message in the packet, give command resolution unit (102) or data processing unit (106) respectively and handle;
(4) new packet is changed, is configured to the data of handling through step (3) through PDU constructor (107) again, puts into corresponding IPv4 output buffer (103) or IPv6 output buffer (108), waits to be sent;
(5), revise telecommunication management relative recording table by contact manager (112) according to the message communication situation; Get back to step (2), periodic duty.
3. according to claim 2ly be used to handle the storage agent method of striding IPv4 and IPv6 network, it is characterized in that: the judgment data bag type in the described step (3) specifically refers to:
A checks the telecommunication management state table if based on state message and the command message of iSCSI, then further carry out command analysis, judges whether order, state be legal, if non-rule is carried out fault processing;
B checks data validity if based on the data message of iSCSI, then check the data transmit-receive record, and invalid data is carried out fault processing; To the valid data message, carry out data according to the consultation parameter table and split and encapsulation process.
4. according to claim 1ly be used to handle the storage agent method of striding IPv4 and IPv6 network, it is characterized in that: destination node information on services registration table in the step (2) and initiator node communication information table specifically comprise each field shown in the following table:
1. destination node information on services registration table comprises: the IPv4 address of destination node sequence number, destination node name, destination node, destination node communication port numbers, interface group mark;
2. initiator node communication information table comprises: the IPv6 address of initiator node sequence number, initiator node name, initiator node, initiator node communication port numbers, initiator node session id.
5. according to claim 3ly be used to handle the storage agent method of striding IPv4 and IPv6 network, it is characterized in that: described telecommunication management state table comprises: duty mapping table, linkage record table, conversation recording table,
(a), the duty mapping table comprises: task number, the task flagging of record initiator node, task order type, read/write data LUN, affiliated hyphen, affiliated session number, task status;
(b), the linkage record table comprises: connect sequence number, the IPv6 address of initiator node, the port numbers of initiator node, the IPv4 address of destination node, the port numbers of destination node, the mapped port that storage agent provides number, affiliated conversation index, task status;
(c), the conversation recording table comprises: conversation index, record initiator node name, initiator node end session number, record object namespace node, destination node end session number, the port set mark of destination node end, session status.
6. according to claim 3ly be used to handle the storage agent method of striding IPv4 and IPv6 network, it is characterized in that: by between IPv6 initiator node and the IPv4 destination node each communication tuple: IPv6 initiator node IPv6 address, IPv6 initiator node port numbers, destination node IP address, the destination node port numbers, the mapped port in corresponding port mapping pond (109), the initiator node and the destination node that carry out network service in network layer binding are that mapping relations are one to one set up in session between initiator node and the destination node with the network port.
7. according to claim 3ly be used to handle the storage agent method of striding IPv4 and IPv6 network, it is characterized in that: by each Nexus tuple between IPv6 initiator node and the IPv4 destination node: IPv6 initiator node name, initiator node end session number, destination node name, port set mark, both sides' interface of a fixed iSCSI session connection; Utilize the Nexus tuple to realize related each session both sides's of iSCSI layer mapping.
8. according to claim 5ly be used to handle the storage agent method of striding IPv4 and IPv6 network, it is characterized in that: described contact manager (112) provides record, inquiry and update functions to IPv6 initiator node, storage agent system and IPv4 destination node three's communication process, mainly realizes by aspects such as the management of text parameter negotiation information, duty mapping management, connection management, session managements.
CN 201010538475 2010-11-10 2010-11-10 Storage agent system used for cross-IPv4 and IPv6-network processing and method thereof Expired - Fee Related CN101984638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010538475 CN101984638B (en) 2010-11-10 2010-11-10 Storage agent system used for cross-IPv4 and IPv6-network processing and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010538475 CN101984638B (en) 2010-11-10 2010-11-10 Storage agent system used for cross-IPv4 and IPv6-network processing and method thereof

Publications (2)

Publication Number Publication Date
CN101984638A true CN101984638A (en) 2011-03-09
CN101984638B CN101984638B (en) 2013-05-15

Family

ID=43641809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010538475 Expired - Fee Related CN101984638B (en) 2010-11-10 2010-11-10 Storage agent system used for cross-IPv4 and IPv6-network processing and method thereof

Country Status (1)

Country Link
CN (1) CN101984638B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023787A (en) * 2011-09-26 2013-04-03 百度在线网络技术(北京)有限公司 Data center system, data center device and method for providing service
CN108616722A (en) * 2018-04-18 2018-10-02 中南大学 A kind of embedded high definition video acquisition and data streaming system
CN105450755B (en) * 2015-12-01 2018-12-14 深圳市迪菲特科技股份有限公司 A kind of method and device of the more host network port performances of equilibrium based on ipsan
CN109413142A (en) * 2018-09-07 2019-03-01 电信科学技术第五研究所有限公司 A kind of iSCSI virtual protocol implementation method under Linux

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1399742A (en) * 1999-06-30 2003-02-26 倾向探测公司 Method and apparatus for monitoring traffic in network
CN101116052A (en) * 2004-12-21 2008-01-30 米斯特科技有限公司 Network interface and firewall device
US20090028047A1 (en) * 2007-07-25 2009-01-29 Schmidt Brian K Data stream control for network devices
US7594002B1 (en) * 2003-02-14 2009-09-22 Istor Networks, Inc. Hardware-accelerated high availability integrated networked storage system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1399742A (en) * 1999-06-30 2003-02-26 倾向探测公司 Method and apparatus for monitoring traffic in network
US7594002B1 (en) * 2003-02-14 2009-09-22 Istor Networks, Inc. Hardware-accelerated high availability integrated networked storage system
CN101116052A (en) * 2004-12-21 2008-01-30 米斯特科技有限公司 Network interface and firewall device
US20090028047A1 (en) * 2007-07-25 2009-01-29 Schmidt Brian K Data stream control for network devices

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
J. SATRAN,K. METH,C. SAPUNTZAKIS,M. CHADALAPAKA,E. ZEIDNER: "Internet Small Computer Systems Interface (iSCSI)", 《RFC3720》 *
杨正富,傅光轩: "基于隧道和NAT-PT的新型过渡技术研究与实现", 《计算机与现代化》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023787A (en) * 2011-09-26 2013-04-03 百度在线网络技术(北京)有限公司 Data center system, data center device and method for providing service
CN103023787B (en) * 2011-09-26 2016-01-20 百度在线网络技术(北京)有限公司 Data center systems and device and the method for service is provided
CN105450755B (en) * 2015-12-01 2018-12-14 深圳市迪菲特科技股份有限公司 A kind of method and device of the more host network port performances of equilibrium based on ipsan
CN108616722A (en) * 2018-04-18 2018-10-02 中南大学 A kind of embedded high definition video acquisition and data streaming system
CN109413142A (en) * 2018-09-07 2019-03-01 电信科学技术第五研究所有限公司 A kind of iSCSI virtual protocol implementation method under Linux
CN109413142B (en) * 2018-09-07 2020-07-31 电信科学技术第五研究所有限公司 Method for realizing iSCSI virtual agent under L inux

Also Published As

Publication number Publication date
CN101984638B (en) 2013-05-15

Similar Documents

Publication Publication Date Title
US6175867B1 (en) System and method for managing networks addressed via common network addresses
CN101141420B (en) Method and system for performing data communication between private network and public network
CN105554065B (en) Handle method, converting unit and the applying unit of message
US8228848B2 (en) Method and apparatus for facilitating push communication across a network boundary
CN103262505B (en) The differentiation using the Network of network address translation processes
JP4415789B2 (en) Wireless communication system
CN1146809C (en) Integrated IP network
CN101986666B (en) Network data transmission method based on virtual network interface and reverse address resolution
US20120082160A1 (en) Routing using global address pairs
CN101662411B (en) Method and device for IPv4 host computer to access IPv6 network server
CN101156147A (en) Method and apparatus for handling ipv4 dns ptr queries across ipv4 and ipv6 networks
CN102056333A (en) WAP (wireless application protocol) gateway, service processing method thereof and WAP proxy server
US8422503B2 (en) Address translator using address translation information in header area on network layer level and a method therefor
CN101136910B (en) Network address and protocol translating equipment and application layer gateway equipment
CN102209121A (en) Method and device for intercommunication between Internet protocol version 6 (IPv6) network and Internet protocol version 4 (IPv4) network
CN103856580B (en) A kind of method that IPv6 client computer accesses IPv4 servers
CN103200281A (en) Method, device and system for accessing intranet server
CN100576846C (en) Service broker's method of multi-protocols domain name mapping service
CN103329506B (en) Identify privately owned device in the public network
CN102255982A (en) Internet protocol version 4 (IPv4)/IPv6 translation gateway and translation method
CN101984638B (en) Storage agent system used for cross-IPv4 and IPv6-network processing and method thereof
CN107147655A (en) A kind of network dual stack parallel process model and its processing method
CN1933477B (en) Method for IPv6 node access IPv4 node
CN110225150A (en) Communication means, system and storage medium between different network protocol
US20100260203A1 (en) TUNNELING IPv6 PACKET THROUGH IPv4 NETWORK USING A TUNNEL ENTRY BASED ON IPv6 PREFIX AND TUNNELING IPv4 PACKET USING A TUNNEL ENTRY BASED ON IPv4 PREFIX

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130515

Termination date: 20151110

EXPY Termination of patent right or utility model