CN105763599A - Method and device for realizing T-CDP (True-Continuous Data Protection) in IPSAN (Internet Protocol Storage Area Network) - Google Patents

Method and device for realizing T-CDP (True-Continuous Data Protection) in IPSAN (Internet Protocol Storage Area Network) Download PDF

Info

Publication number
CN105763599A
CN105763599A CN201610023416.4A CN201610023416A CN105763599A CN 105763599 A CN105763599 A CN 105763599A CN 201610023416 A CN201610023416 A CN 201610023416A CN 105763599 A CN105763599 A CN 105763599A
Authority
CN
China
Prior art keywords
service end
message
cdp
mirror image
address
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
CN201610023416.4A
Other languages
Chinese (zh)
Other versions
CN105763599B (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.)
Hangzhou 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 CN201610023416.4A priority Critical patent/CN105763599B/en
Publication of CN105763599A publication Critical patent/CN105763599A/en
Application granted granted Critical
Publication of CN105763599B publication Critical patent/CN105763599B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The invention provides a method and a device for realizing T-CDP (True-Continuous Data Protection) in an IPSAN (Internet Protocol Storage Area Network). The method comprises steps: when a transmission control protocol (TCP) message with an IPSAN service end as a destination end is received, the TCP message is mirrored, and the TCP message is sent to the IPSAN service end; if the mirrored message carries a preset identifier and the destination port of the mirrored message is a preset port, the destination IP address of the mirrored message is changed into an IP address of the T-CDP service end; and the mirrored message after the destination IP address is changed is sent to the T-CDP service end to enable the T-CDP service end to perform data writing processing according to a writing command carried in the received mirrored message. When the embodiment of the invention is applied, real-time data backup can be realized, and data safety is improved.

Description

T-CDP under a kind of IPSAN realizes method and device
Technical field
The present invention relates to network communication technology field, particularly relate to the T-CDP under a kind of IPSAN and realize method and device.
Background technology
IPSAN (InternetProtocolStorageAreaNetwork, the storage area network of internet protocol-based) be a kind of IP based network build storage network, compared to traditional FCSAN (FiberChannelStorageAreaNetwork, optical-fibre channel storage area network), it has the features such as more economical, spread.
Data effectively can be protected by CDP (ContinuousDataProtection, continuous data protection) when any change occurs data.CDP technology is by the conventional data protection technique of " data image or backup, single data trnascription " in the past; it is advanced to the new stage of the data protection being conceived to fast quick-recovery, minimal data loss; its maximum technical advantage is that the different pieces of information copy saving historical time; within the fastest a few minutes to the very short time of several seconds, the data on random time point can be carried out and recover.
CDP can be divided into true CDP (TrueCDP is called for short T-CDP) and quasi-CDP (NearCDP), and wherein, the backup of T-CDP, recovery window period are 0, it is possible to recover the data of any time.
But, in prior art and be absent under IPSAN realizing the technical scheme of T-CDP.
Summary of the invention
The present invention provides the T-CDP under a kind of IPSAN to realize method and device, it is achieved that data syn-chronization write IPSAN service end and T-CDP service end.
First aspect according to embodiments of the present invention, it is provided that the T-CDP under a kind of IPSAN realizes method, including:
When receiving the transmission control protocol TCP message that destination is IPSAN service end, described TCP message is carried out mirror image, and described TCP message is sent to described IPSAN service end;
Preset mark if mirror image message carries, and the destination interface of mirror image message is for presetting port, then the purpose IP address of mirror image message is revised as the IP address of T-CDP service end;
Amended for purpose IP address mirror image message is sent to described T-CDP service end, so that described T-CDP service end carries out data write process according to the write order carried in the mirror image message received.
Second aspect according to embodiments of the present invention, it is provided that the T-CDP under a kind of IPSAN realizes device, including:
Mirror image unit, for when described device receives the transmission control protocol TCP message that destination is IPSAN service end, carrying out mirror image to described TCP message;
Transmitting element, for being sent to described IPSAN service end by described TCP message;
Amendment unit, if presetting mark for carrying in mirror image message, and the destination interface of mirror image message is for presetting port, then the purpose IP address of mirror image message is revised as the IP address of T-CDP service end;
Described transmitting element, is additionally operable to amended for purpose IP address mirror image message is sent to described T-CDP service end, described T-CDP service end carries out data write process according to the write order carried in the mirror image message received.
The application embodiment of the present invention, when receiving the TCP message that destination is IPSAN service end, this TCP message is carried out mirror image, and then, on the one hand this TCP message is sent to IPSAN service end, on the other hand, this mirror image message carries and presets mark, and the destination interface of mirror image message be preset port when, the purpose IP address of this mirror image message is revised as the IP address of T-CDP service end, and amended for purpose IP address mirror image message is sent to T-CDP service end, so that T-CDP service end carries out data write process according to the write order carried in the mirror image message received, achieve and data syn-chronization is write IPSAN service end and T-CDP service end, achieve backing up in realtime of data, improve the safety of data.
Accompanying drawing explanation
Fig. 1 is the network architecture schematic diagram realized of the T-CDP under a kind of IPSAN that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet realizing method of the T-CDP under a kind of IPSAN that the embodiment of the present invention provides;
Fig. 3 is the configuration diagram of a kind of concrete application scenarios that the embodiment of the present invention provides;
Fig. 4 is the structural representation realizing device of the T-CDP under a kind of IPSAN that the embodiment of the present invention provides;
Fig. 5 is the structural representation realizing device of the T-CDP under the another kind of IPSAN that the embodiment of the present invention provides;
Fig. 6 is the configuration diagram realizing system of the T-CDP under a kind of IPSAN that the embodiment of the present invention provides.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the technical scheme in the embodiment of the present invention, and it is understandable to enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage to become apparent from, below in conjunction with accompanying drawing, technical scheme in the embodiment of the present invention is described in further detail.
Refer to the network architecture schematic diagram realized of the T-CDP under a kind of IPSAN that Fig. 1, Fig. 1 provide for the embodiment of the present invention.As it is shown in figure 1, this network architecture schematic diagram can include IPSAN service end, T-CDP service end, the network equipment and storage client (referred to as client).Wherein, client can be passed through to carry the mode presetting mark in TCP (TransmissionControlProtocol, the transmission control protocol) message sent to the network equipment and realize the data syn-chronization of write IPSAN service end is written to T-CDP service end;nullWhen the network equipment receives the TCP message that destination is IPSAN service end,This TCP message can be carried out mirror image,Then,On the one hand this TCP message is sent to IPSAN service end,On the other hand,Judge this mirror image message (namely,The message obtained after this TCP message is carried out mirror image) in whether carry preset mark,And whether the destination interface of mirror image message is preset port,And preset mark when mirror image message carries,And the destination interface of mirror image message for preset port time,It is sent to T-CDP service end after the purpose IP address of mirror image message is revised as the IP address of T-CDP service end,Data write process is carried out according to the write order carried in the mirror image message received by T-CDP service end,It is achieved thereby that data syn-chronization to be write IPSAN service end and T-CDP service end,Achieve backing up in realtime of data,Improve the safety of data.
Wherein, the network equipment in the network architecture shown in Fig. 1 can include but not limited to router or switch etc. with Port Mirroring and NAT (NetworkAddressTranslation, network address translation) function.
Based on the network architecture shown in Fig. 1, the T-CDP embodiments provided under a kind of IPSAN realizes method, refers to Fig. 2, realizes the schematic flow sheet of method for the T-CDP under a kind of IPSAN that the embodiment of the present invention provides, as in figure 2 it is shown, the method may comprise steps of:
It should be noted that, in the embodiment of the present invention, the executive agent of step 201~step 203 is the network equipment in the network architecture shown in Fig. 1 or the processor in the network equipment, such as CPU (CenterProtocolUnit, CPU), for ease of describing, illustrate for the executive agent of step 201~step 203 for the network equipment below.
Step 201, when receiving the TCP message that destination is IPSAN service end, this TCP message is carried out mirror image, and this TCP message is sent to IPSAN service end.
In the embodiment of the present invention, when client needs to initiate storage access to IPSAN service end, it is iSCSI (InternetSmallComputerSystemInterface, the Internet Small Computer interface) TCP message (this TCP message can also be called iSCSI message) ordered that client can send data payload.
When the network equipment receives the TCP message that destination is IPSAN service end, such as, the network equipment determines that by routing inquiry the port that of the TCP message received is the port being connected with IPSAN service end, or determine that the destination of this TCP message is IPSAN service end according to the purpose IP address of the TCP message received, this TCP message can be carried out mirror image by the network equipment, and this TCP message is sent to IPSAN service end, so that IPSAN service end carries out corresponding data process according to this TCP message.
Preset mark if step 202 mirror image message carries, and the destination interface of mirror image message is for presetting port, then the purpose IP address of this mirror image message is revised as the IP address of T-CDP service end.
In the embodiment of the present invention, after the network equipment TCP message to receiving carries out mirror image, may determine that whether this mirror image message carries and preset mark, and whether the destination interface of mirror image message is preset port, wherein, this preset mark can be make an appointment be also written to the mark in T-CDP service end for identifying the data needing to be written in IPSAN service end;This default port can the default port of iSCSI service, such as TCP3260 port.
It is alternatively possible to the mode of the reserved field being modified in the PDU (ProtocolDataUnit, protocol Data Unit) of iSCSI message makes to carry in iSCSI message presets mark.Such as, when the reserved field in this PDU is default particular value, during such as 0x7463, it is believed that this message carries and presets mark;Otherwise it is assumed that this message does not carry presets mark.
In the embodiment of the present invention, if the network equipment is determined to carry in mirror image message presets mark, and the destination interface of mirror image message is for presetting port, then this mirror image message can be carried out NAT process by the network equipment, and the purpose IP address of this mirror image message is revised as the IP address of T-CDP service end.
In the embodiment of the present invention, when the network equipment determine mirror image message does not carry preset mark or/and mirror image message destination interface be not preset port time, this mirror image message can not be carried out special handling by the network equipment, for instance, the network equipment can abandon this mirror image message.
Step 203, amended for purpose IP address mirror image message is sent to T-CDP service end, so that T-CDP service end carries out data write process according to the write order carried in the mirror image message received.
In the embodiment of the present invention, after the IP address of T-CDP service end is revised as in the purpose IP address of mirror image message by the network equipment, it is possible to this amended mirror image message in purpose IP address is sent to T-CDP service end.After TCP service end receives this mirror image message, it is possible to carry out data write process according to the write order carried in this mirror image message.
Further, in embodiments of the present invention, when the network equipment receives the TCP message of the IP address that purpose IP address is T-CDP service end, it is possible to this TCP message is sent to T-CDP service end, so that T-CDP service end carries out digital independent process according to the read command carried in this TCP message.
Further, the network equipment is after being sent to T-CDP service end by this TCP message, it is also possible to receive the data read that T-CDP service end sends, and the data this read are sent to the source client of this TCP message;Carry this data read when receiving, and during TCP message that destination is IPSAN service end, this TCP message is carried out mirror image, and this TCP message is sent to IPSAN service end;Preset mark if mirror image message does not carry, then abandon this mirror image message.This process be the source client of the TCP message sending the IP address that purpose IP address is T-CDP service end when finding that IPSAN service end is likely to cause loss of data because of factors such as faults, realize obtaining data from T-CDP service end and re-writing the process of IPSAN service end by the network equipment.
As one embodiment alternatively, in embodiments of the present invention, except can configuring above-mentioned unique IP address for T-CDP service end, can also be that T-CDP service end assignment configuration is read service IP address and writes service IP address, service the read and write abruption of side realizing T-CDP, it is to avoid T-CDP service end filters sordid problem when the non-reading filtered in TCP message or non-write order.
Correspondingly, in this embodiment, in above-mentioned steps 202, the purpose IP address of mirror image message is revised as the IP address of T-CDP service end, it is possible to including:
What the destination address of mirror image message was revised as T-CDP service end writes service IP address, so that when TCP service end receives mirror image message, the non-write order carried in mirror image message being filtered.
Concrete, in this embodiment, determine mirror image message carries when the network equipment and preset mark, and the destination interface of mirror image message is when being preset port, what T-CDP service end can be revised as in the purpose IP address of this mirror image message by the network equipment writes service IP address, thus, when T-CDP service end receives this mirror image message, non-write order in this mirror image message can be filtered, and only the write order in this mirror image message is responded, improve the efficiency of data write.
Further, in embodiments of the present invention, when the network equipment receives the TCP message reading service IP address that purpose IP address is T-CDP service end, this TCP message is sent to T-CDP service end, so that the non-read command in this TCP message is filtered by T-CDP service end, and carry out digital independent process according to read command.
Concrete, when client needs to initiate read access to T-CDP service end, when such as, there is data fault in IPSAN service end, client can send, to the network equipment, the reading service IP address that purpose IP address is T-CDP service end, and carry the TCP message of read command, the network equipment this TCP message is transmitted to T-CDP service end;After T-CDP service end receives this TCP message, it is possible to the non-read command carried in this TCP message is filtered, only the read command carried in message is responded, improve the efficiency of digital independent.
Further, in embodiments of the present invention, after client reads related data from T-CDP service end, it is possible to by the mode of ordinary write, the data read are written in IPSAN service end.
Correspondingly, in embodiments of the present invention, above-mentioned TCP message is sent to after T-CDP service end, it is also possible to including:
Receive the data read that T-CDP service end sends, and the data this read are sent to client;
Carry this data read when receiving, and during TCP message that destination is IPSAN service end, this TCP message is carried out mirror image, and this TCP message is sent to IPSAN service end;
Preset mark if mirror image message does not carry, then abandon this mirror image message.
Concrete, T-CDP service end carries out according to the read command in the TCP message received after corresponding data reading process, it is possible to by the network equipment, the data read are sent to client;It is IPSAN service end that client can send destination to the network equipment, and does not carry the TCP message presetting mark, carries the data (namely above-mentioned read data) and writing commands that need write in this TCP message.After the network equipment receives this TCP message, still this TCP message can be carried out mirror image, then, on the one hand this TCP message is sent to IPSAN service end, IPSAN service end carry out corresponding data write and process;On the other hand, judge whether mirror image message carries and preset mark, and when this TCP message does not carry default mark, can directly abandon this mirror image message, it is achieved thereby that when carrying out data and recovering, the data of write are only written in IPSAN service end, without being again written in T-CDP service end.
Visible, in the method flow shown in Fig. 2, during by writing data into IPSAN service end and T-CDP service end at needs, the TCP message (destination interface of this TCP message is to preset port) of the write order carried for data to be written is added and presets mark, thus after the TCP message being sent to IPSAN service end can carry out mirror image by the network equipment, the purpose IP address of mirror image message is revised as the IP address of T-CDP service end, and amended for purpose IP address mirror image message is sent to T-CDP service end, achieve and data syn-chronization is write IPSAN service end and T-CDP service end, achieve backing up in realtime of data, improve the safety of data.
In order to make those skilled in the art be more fully understood that the technical scheme that the embodiment of the present invention provides, the technical scheme embodiment of the present invention provided below in conjunction with concrete application scenarios is described.
Refer to Fig. 3, for the configuration diagram of a kind of concrete application scenarios that the embodiment of the present invention provides.In this embodiment it is assumed that the storage service IP address of IPSAN service end is 192.168.1.100, port is 3260;The service IP address of writing of T-CDP service end is: 192.168.1.101, reads service IP address and is: 192.168.1.102;The network equipment is connected by port A and IPSAN service end, is connected by port B and T-CDP service end.
In this embodiment, when client carries out data write, the default mark that the TCP message of transmission includes can be divided into two kinds:
Ordinary write: write data only to IPSAN service end, the value of the reserved field of iSCSIPDU is defaulted as 0;
Writing together with T-CDP: when writing data into IPSAN service end, also require that and write data into T-CDP service end, the value of the reserved field of iSCSIPDU is 0x7463.
Meanwhile, the network equipment needs to do following configuration:
By the traffic mirroring of network equipment port A to port C;
The flow of port C is done NAT conversion, and NAT rule is:
Purpose IP address is 192.168.1.100, and destination interface is 3260, and the flow of Data [2,3]=0x7463 (namely the value of the reserved field in iSCSIPDU is 0x7463);
NAT action: purpose IP is revised as 192.168.1.101 in address.
In this embodiment, when client needs IP-SAN service end is carried out data write, and when wishing that data are also written to T-CDP service end, client can send to the network equipment and carry iSCSI write order, purpose IP address is 192.168.1.100, destination interface is the TCP message of 3260, and the value of the reserved field of iSCSIPDU is set to 0x7463.
After the network equipment receives this TCP message, it has been found that the outgoing interface of this TCP message is port A, thus, this TCP message is carried out mirror image by the network equipment, is mirrored on port C, then, on the one hand, TCP message is sent to IPSAN service end;On the other hand, the mirror image message at port C place is mated NAT rule, and after the match is successful, the purpose IP address of mirror image message is revised as 192.168.1.101, and forwards this amended mirror image message in purpose IP address from port B.
After T-CDP service end receives mirror image message, the purpose IP address of the mirror image message that discovery receives is 192.168.1.101, is and writes service IP address, thus, non-iSCSI write order in the mirror image message received can be filtered out by T-CDP service end, and only write order is responded.Wherein, the concrete processing mode of T-CDP service end response write order can be such that
The reception time t1 of recorded message, parses lba (LogicalBlockAddress, logical block addresses) address (being assumed to be lba1) from iSCSI write order;According to this reception time and lba address, T-CDP service end can determine that map indexes, such as, by Hash (t1, the mode of lba1)=p1 determines that this map indexes (i.e. p1), and distributes actual physics space (assuming that the disk space address being actually written into is P1), then p1 place node content is t1, lab1, P1, head (null), tail (null);Wherein, head (null) shows that these data are first data of storage in corresponding for lab1 logical blocks, and tail (null) shows also not store after these data in lab1 other data.
In like manner, when T-CDP service end receives the lab address in another iSCSI write order also for lab1 at time t2, T-CDP service end can pass through Hash (t2, the mode of lba1)=p2 determines map index (p2) of correspondence, and distributes actual physics space (assuming that the disk space address being actually written into is P1), then p2 place node content is t2, lab1, P2, head (p1), tail (null);And p1 place node content is t1, lba1, P1, head (null), tail (p2);Wherein, after head (p1) or tail (p2) shows that data corresponding with p2 in lab1 are positioned at the data corresponding with p1.
Further, when client needs to initiate read access to T-CDP, it is desirable to when obtaining the latest data of t, it is possible to sending purpose IP address is 192.168.1.102, and carries the TCP message of iSCSI read command;After the network equipment receives this TCP message, forward it to T-CDP service end.
After T-CDP service end receives this TCP message, the purpose IP address finding this TCP message is 192.168.1.102, is reading service IP address, thus, the non-iSCSI read command carried in this TCP message can all be filtered out by T-CDP service end, and only read command is responded.Wherein, the concrete processing mode of T-CDP service end response read command can be such that
Lba address (being assumed to be lba1) is parsed from iSCSI read command, the free node of institute of index lba1, according to time sequence, finds out less than or equal to t, and the node pn corresponding with the t immediate time, assume that pn place node content is tn, lba1, Pn, head, tail, then T-CDP service end can read data from Pn, and returns to client.
After client reads related data from T-CDP service end, the mode of ordinary write can be adopted, write data into IPSAN service end (this situation is applicable to IPSAN and services the corresponding data loss of side), owing to being ordinary write, the network equipment when carrying out NAT rule match can it fails to match, thus data only can be written to IPSAN service end, without being written to T-CDP service end, thus, it is achieved that the data in IPSAN service end are recovered.
nullBe can be seen that by above description,In the technical scheme that the embodiment of the present invention provides,When receiving the TCP message that destination is IPSAN service end,This TCP message is carried out mirror image,And then,On the one hand this TCP message is sent to IPSAN service end,On the other hand,This mirror image message carries and presets mark,And the destination interface of mirror image message be preset port when,The purpose IP address of this mirror image message is revised as the IP address of T-CDP service end,And amended for purpose IP address mirror image message is sent to T-CDP service end,So that T-CDP service end carries out data write process according to the write order carried in the mirror image message received,Achieve and data syn-chronization is write IPSAN service end and T-CDP service end,Achieve backing up in realtime of data,Improve the safety of data.
Referring to Fig. 4, provide the T-CDP under a kind of IPSAN to realize the structural representation of device for the embodiment of the present invention, wherein, this device can apply to the network equipment in the network architecture shown in Fig. 1, and as shown in Figure 4, this device may include that
Mirror image unit 410, for when described device receives the transmission control protocol TCP message that destination is IPSAN service end, carrying out mirror image to described TCP message;
Transmitting element 420, for being sent to described IPSAN service end by described TCP message;
Amendment unit 430, if presetting mark for carrying in mirror image message, and the destination interface of mirror image message is for presetting port, then the purpose IP address of mirror image message is revised as the IP address of T-CDP service end;
Described transmitting element 420, is additionally operable to amended for purpose IP address mirror image message is sent to described T-CDP service end, described T-CDP service end carries out data write process according to the write order carried in the mirror image message received.
In an alternative embodiment, described amendment unit 430, service IP address can be write, so that when described T-CDP service end receives mirror image message, the non-write order carried in the mirror image message received being filtered specifically for what the destination address of described mirror image message was revised as T-CDP service end.
In an alternative embodiment, described transmitting element 420, can be also used for when described device receives the TCP message reading service IP address that purpose IP address is T-CDP service end, described TCP message is sent to described T-CDP service end, so that the non-read command in described TCP message is filtered by described T-CDP service end, and carry out digital independent process according to read command.
In an alternative embodiment, described transmitting element 420, can be also used for when described device receives the TCP message of the IP address that purpose IP address is T-CDP service end, this TCP message is sent to described T-CDP service end, so that described T-CDP service end carries out digital independent process according to the read command carried in this TCP message.
Seeing also Fig. 5, realize the structural representation of device for the T-CDP under the another kind of IPSAN that the embodiment of the present invention provides, on the basis of embodiment illustrated in fig. 4, the device shown in Fig. 5 can also include:
Receive unit 440, for receiving the data read that described T-CDP service end sends;
Described transmitting element 420, is additionally operable to be sent to described read data the source client of this TCP message;
Described mirror image unit 410, is additionally operable to work as described device and receives and carry described read data, and during TCP message that destination is IPSAN service end, this TCP message is carried out mirror image;
Described transmitting element 420, is additionally operable to this TCP message is sent to described IPSAN service end;
Discarding unit 450, if presetting mark for not carrying in mirror image message, then abandons this mirror image message.
Referring to Fig. 6, realize the configuration diagram of system for the T-CDP under a kind of IPSAN that the embodiment of the present invention provides, as shown in Figure 6, this system can include the network equipment 610 and T-CDP service end 620, wherein:
The described network equipment 610, for when receiving the transmission control protocol TCP message that destination is IPSAN service end, carrying out mirror image, and described TCP message be sent to described IPSAN service end to described TCP message;
The described network equipment 610, carries default mark if being additionally operable in mirror image message, and the destination interface of mirror image message is for presetting port, then the purpose IP address of mirror image message is revised as the IP address of T-CDP service end;
The described network equipment 610, is additionally operable to amended for purpose IP address mirror image message is sent to described T-CDP service end;
Described T-CDP service end 620, for carrying out data write process according to the write order carried in the mirror image message received.
In an alternative embodiment, described T-CDP service end is configured with and writes service IP address and read service IP address.
In an alternative embodiment, the T-CDP that the network equipment 610 can include under the arbitrary shown IPSAN of above-mentioned Fig. 4 or Fig. 5 realizes device.
What in said apparatus, the function of unit and the process that realizes of effect specifically referred in said method corresponding step realizes process, does not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part illustrates referring to the part of embodiment of the method.Device embodiment described above is merely schematic, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present invention program.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
As seen from the above-described embodiment, when receiving the TCP message that destination is IPSAN service end, this TCP message is carried out mirror image, and then, on the one hand this TCP message is sent to IPSAN service end, on the other hand, this mirror image message carries and presets mark, and the destination interface of mirror image message be preset port when, the purpose IP address of this mirror image message is revised as the IP address of T-CDP service end, and amended for purpose IP address mirror image message is sent to T-CDP service end, so that T-CDP service end carries out data write process according to the write order carried in the mirror image message received, achieve and data syn-chronization is write IPSAN service end and T-CDP service end, achieve backing up in realtime of data, improve the safety of data.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other embodiment of the present invention.The application is intended to any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the present invention and include the undocumented known general knowledge in the art of the present invention or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the present invention and spirit are pointed out by claim below.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (10)

1. the true continuous data protection T-CDP under the storage area network IPSAN of an internet protocol-based realizes method, it is characterised in that including:
When receiving the transmission control protocol TCP message that destination is IPSAN service end, described TCP message is carried out mirror image, and described TCP message is sent to described IPSAN service end;
Preset mark if mirror image message carries, and the destination interface of mirror image message is for presetting port, then the purpose IP address of mirror image message is revised as the IP address of T-CDP service end;
Amended for purpose IP address mirror image message is sent to described T-CDP service end, so that described T-CDP service end carries out data write process according to the write order carried in the mirror image message received.
2. method according to claim 1, it is characterised in that the described IP address that the purpose IP address of mirror image message is revised as T-CDP service end, including:
What the destination address of described mirror image message was revised as T-CDP service end writes service IP address, so that when described T-CDP service end receives mirror image message, the non-write order carried in the mirror image message received being filtered.
3. method according to claim 2, it is characterised in that described method also includes:
When receiving the TCP message reading service IP address that purpose IP address is T-CDP service end, this TCP message is sent to described T-CDP service end, so that the non-read command in this TCP message is filtered by described T-CDP service end, and carry out digital independent process according to read command.
4. method according to claim 1, it is characterised in that described method also includes:
When receiving the TCP message of the IP address that purpose IP address is T-CDP service end, this TCP message is sent to described T-CDP service end, so that described T-CDP service end carries out digital independent process according to the read command carried in this TCP message.
5. method according to claim 4, it is characterised in that described this TCP message be sent to after described T-CDP service end, also includes:
Receive the data read that described T-CDP service end sends, and described read data are sent to the source client of this TCP message;
Carry described read data when receiving, and during TCP message that destination is IPSAN service end, this TCP message is carried out mirror image, and this TCP message is sent to described IPSAN service end;
Preset mark if mirror image message does not carry, then abandon this mirror image message.
6. the true continuous data protection T-CDP under the storage area network IPSAN of an internet protocol-based realizes device, it is characterised in that including:
Mirror image unit, for when described device receives the transmission control protocol TCP message that destination is IPSAN service end, carrying out mirror image to described TCP message;
Transmitting element, for being sent to described IPSAN service end by described TCP message;
Amendment unit, if presetting mark for carrying in mirror image message, and the destination interface of mirror image message is for presetting port, then the purpose IP address of mirror image message is revised as the IP address of T-CDP service end;
Described transmitting element, is additionally operable to amended for purpose IP address mirror image message is sent to described T-CDP service end, described T-CDP service end carries out data write process according to the write order carried in the mirror image message received.
7. device according to claim 6, it is characterised in that
Described amendment unit, writes service IP address specifically for what the destination address of described mirror image message was revised as T-CDP service end, so that when described T-CDP service end receives mirror image message, the non-write order carried in the mirror image message received being filtered.
8. device according to claim 7, it is characterised in that
Described transmitting element, it is additionally operable to when described device receives the TCP message reading service IP address that purpose IP address is T-CDP service end, described TCP message is sent to described T-CDP service end, so that the non-read command in described TCP message is filtered by described T-CDP service end, and carry out digital independent process according to read command.
9. device according to claim 6, it is characterised in that
Described transmitting element, it is additionally operable to when described device receives the TCP message of the IP address that purpose IP address is T-CDP service end, this TCP message is sent to described T-CDP service end, so that described T-CDP service end carries out digital independent process according to the read command carried in this TCP message.
10. device according to claim 9, it is characterised in that described device also includes:
Receive unit, for receiving the data read that described T-CDP service end sends;
Described transmitting element, is additionally operable to be sent to described read data the source client of this TCP message;
Described mirror image unit, is additionally operable to work as described device and receives and carry described read data, and during TCP message that destination is IPSAN service end, this TCP message is carried out mirror image;
Described transmitting element, is additionally operable to this TCP message is sent to described IPSAN service end;
Discarding unit, if presetting mark for not carrying in mirror image message, then abandons this mirror image message.
CN201610023416.4A 2016-01-13 2016-01-13 T-CDP implementation method and device under a kind of IPSAN Active CN105763599B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610023416.4A CN105763599B (en) 2016-01-13 2016-01-13 T-CDP implementation method and device under a kind of IPSAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610023416.4A CN105763599B (en) 2016-01-13 2016-01-13 T-CDP implementation method and device under a kind of IPSAN

Publications (2)

Publication Number Publication Date
CN105763599A true CN105763599A (en) 2016-07-13
CN105763599B CN105763599B (en) 2019-03-15

Family

ID=56342365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610023416.4A Active CN105763599B (en) 2016-01-13 2016-01-13 T-CDP implementation method and device under a kind of IPSAN

Country Status (1)

Country Link
CN (1) CN105763599B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106953815A (en) * 2017-03-21 2017-07-14 北京浩瀚深度信息技术股份有限公司 Port Mirroring message transmitting method and system based on FPGA
CN108259569A (en) * 2017-12-25 2018-07-06 南京壹进制信息技术股份有限公司 It is a kind of based on IPSAN share storage without acting on behalf of continuous data protection method
CN112751733A (en) * 2021-02-08 2021-05-04 北京金山云网络技术有限公司 Link detection method, device, equipment, system and switch

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159858A (en) * 2007-11-21 2008-04-09 杭州华三通信技术有限公司 Method and equipment of reading video data
CN102045379A (en) * 2009-10-15 2011-05-04 杭州华三通信技术有限公司 Method and system for IP storage and storage equipment
CN102333210A (en) * 2011-10-28 2012-01-25 杭州华三通信技术有限公司 Video data storage method and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159858A (en) * 2007-11-21 2008-04-09 杭州华三通信技术有限公司 Method and equipment of reading video data
CN102045379A (en) * 2009-10-15 2011-05-04 杭州华三通信技术有限公司 Method and system for IP storage and storage equipment
CN102333210A (en) * 2011-10-28 2012-01-25 杭州华三通信技术有限公司 Video data storage method and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
REKHA SINGHAL 等: "Enterprise storage architecture for optimal business continuity", 《2010 INTERNATIONAL CONFERENCE ON DATA STORAGE AND DATA ENGINEERING》 *
XINYAN ZHANG 等: "NSBS:design of a network storage backup system", 《WORLD ACADEMY OF SCIENCE,ENGINEERING AND TECHNOLOGY INTERNATIONAL JOURNAL OF ELECTRONIC AND COMMUNICATION ENGINEERING》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106953815A (en) * 2017-03-21 2017-07-14 北京浩瀚深度信息技术股份有限公司 Port Mirroring message transmitting method and system based on FPGA
CN108259569A (en) * 2017-12-25 2018-07-06 南京壹进制信息技术股份有限公司 It is a kind of based on IPSAN share storage without acting on behalf of continuous data protection method
CN108259569B (en) * 2017-12-25 2020-10-27 南京壹进制信息科技有限公司 Method and system for protecting agentless continuous data based on IPSAN shared storage
CN112751733A (en) * 2021-02-08 2021-05-04 北京金山云网络技术有限公司 Link detection method, device, equipment, system and switch

Also Published As

Publication number Publication date
CN105763599B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
US7787383B2 (en) Method and apparatus for monitoring a connection in a peer-to-peer network
US7392328B2 (en) Fabric with fibre channel fabric snapshot service
US8996657B2 (en) Systems and methods for multiplexing network channels
US9264356B2 (en) Network gateway apparatus
US20030097607A1 (en) System and method for ensuring the availability of a storage system
US8359379B1 (en) Method of implementing IP-based proxy server for ISCSI services
US9015333B2 (en) Apparatus and methods for handling network file operations over a fibre channel network
EP2262185A1 (en) Method and system for forwarding data among private networks
US7373472B2 (en) Storage switch asynchronous replication
CN101207604A (en) Virtual machine system and communication processing method thereof
JP2003179626A (en) Relay connection management program and relay connection management method
CN105763599A (en) Method and device for realizing T-CDP (True-Continuous Data Protection) in IPSAN (Internet Protocol Storage Area Network)
US20160156742A1 (en) Relaying system and method of transmitting ip address of client to server using encapsulation protocol
CN104811473A (en) Virtual nonvolatile storage medium establishing method and system and management system
CN102761534A (en) Method and device for realizing transparent proxy of media access control layer
CN115189920A (en) Cross-network domain communication method and related device
US20070192433A1 (en) Storage Area Network port based data transfer acceleration
US10798159B2 (en) Methods for managing workload throughput in a storage system and devices thereof
CN114006955B (en) Data processing method, device, equipment and readable storage medium
CN104333469A (en) Method and system for managing fiber channel (FC) sessions of storage system
CN114338496B (en) Resource forwarding method, device, terminal and computer storage medium
JP5212021B2 (en) Monitoring program, monitoring method and monitoring apparatus
Shimano et al. An information propagation scheme for an autonomous distributed storage system in iSCSI environment
WO2005006123A2 (en) Sparse and non-sparse data management method and system
US20100082675A1 (en) Method and apparatus for enabling wide area global name space

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: Xinhua three Technology Co., Ltd.

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

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant