CN105763599B - T-CDP implementation method and device under a kind of IPSAN - Google Patents

T-CDP implementation method and device under a kind of IPSAN Download PDF

Info

Publication number
CN105763599B
CN105763599B CN201610023416.4A CN201610023416A CN105763599B CN 105763599 B CN105763599 B CN 105763599B CN 201610023416 A CN201610023416 A CN 201610023416A CN 105763599 B CN105763599 B CN 105763599B
Authority
CN
China
Prior art keywords
mirror image
server
message
cdp
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.)
Active
Application number
CN201610023416.4A
Other languages
Chinese (zh)
Other versions
CN105763599A (en
Inventor
钟晋明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New 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 present invention provides T-CDP implementation method and device under a kind of IPSAN, the described method includes: when receiving the transmission control protocol TCP message that destination is IPSAN server-side, mirror image is carried out to the TCP message, and the TCP message is sent to the IPSAN server-side;If carrying default mark in mirror image message, and the destination port of mirror image message is default port, then the purpose IP address of mirror image message is revised as to the IP address of T-CDP server-side;The modified mirror image message of purpose IP address is sent to the T-CDP server-side, so that the T-CDP server-side carries out data write-in processing according to the write order carried in the mirror image message received.Backing up in realtime for data may be implemented using the embodiment of the present invention, improve the safety of data.

Description

T-CDP implementation method and device under a kind of IPSAN
Technical field
The present invention relates to the T-CDP implementation methods and device under network communication technology field more particularly to a kind of IPSAN.
Background technique
IPSAN (Internet Protocol Storage Area Network, the storage region of internet protocol-based Network) it is a kind of storage network that IP based network constructs, compared to traditional FCSAN (Fiber Channel Storage Area Network, fibre channel sans), have the characteristics that more economical, spread.
CDP (Continuous Data Protection, continuous data protection) can be incited somebody to action when any variation occurs for data Data are effectively protected.CDP technology protects the traditional data of " data image or backup, single data copy " in the past Shield technology is advanced to the new stage for being conceived to fast quick-recovery, the data protection that minimal data is lost, and maximum technical advantage is just It is to save the different data copy of historical time, can be appointed in very short time of the most fast a few minutes by several seconds The data anticipated on time point are restored.
CDP can be divided into true CDP (True CDP, abbreviation T-CDP) and quasi- CDP (Near CDP), wherein T-CDP's is standby Part, recovery window period are 0, can restore the data of any time.
However, in the prior art and there is no the technical solutions for realizing T-CDP under IPSAN.
Summary of the invention
The present invention provides T-CDP implementation method and device under a kind of IPSAN, realizes data and is synchronously written IPSAN clothes Business end and T-CDP server-side.
According to a first aspect of the embodiments of the present invention, the T-CDP implementation method under a kind of IPSAN is provided, comprising:
When receiving the transmission control protocol TCP message that destination is IPSAN server-side, the TCP message is carried out Mirror image, and the TCP message is sent to the IPSAN server-side;
If carrying default mark in mirror image message, and the destination port of mirror image message is default port, then by mirror image report The purpose IP address of text is revised as the IP address of T-CDP server-side;
The modified mirror image message of purpose IP address is sent to the T-CDP server-side, so that the T-CDP server-side Data write-in processing is carried out according to the write order carried in the mirror image message received.
According to a second aspect of the embodiments of the present invention, the T-CDP realization device under a kind of IPSAN is provided, comprising:
Mirror image unit, for receiving the transmission control protocol TCP message that destination is IPSAN server-side when described device When, mirror image is carried out to the TCP message;
Transmission unit, for the TCP message to be sent to the IPSAN server-side;
Unit is modified, if for carrying default mark in mirror image message, and the destination port of mirror image message is default end Mouthful, then the purpose IP address of mirror image message is revised as to the IP address of T-CDP server-side;
The transmission unit is also used to the modified mirror image message of purpose IP address being sent to the T-CDP server-side, Data write-in processing is carried out according to the write order carried in the mirror image message received by the T-CDP server-side.
Using the embodiment of the present invention, when receiving the TCP message that destination is IPSAN server-side, to the TCP message into On the one hand the TCP message is sent to IPSAN server-side in turn by row mirror image, on the other hand, carry in the mirror image message Default mark, and the destination port of mirror image message is that in the case where presetting port, the purpose IP address of the mirror image message is modified For the IP address of T-CDP server-side, and the modified mirror image message of purpose IP address is sent to T-CDP server-side, so that T- CDP server-side carries out data write-in processing according to the write order carried in the mirror image message received, realizes data synchronous write Enter IPSAN server-side and T-CDP server-side, realize backing up in realtime for data, improves the safety of data.
Detailed description of the invention
Fig. 1 is the network architecture schematic diagram that the T-CDP under a kind of IPSAN provided in an embodiment of the present invention is realized;
Fig. 2 is the flow diagram of the T-CDP implementation method under a kind of IPSAN provided in an embodiment of the present invention;
Fig. 3 is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the T-CDP realization device under a kind of IPSAN provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the T-CDP realization device under another kind IPSAN provided in an embodiment of the present invention;
Fig. 6 is the configuration diagram of the T-CDP realization system under a kind of IPSAN provided in an embodiment of the present invention.
Specific embodiment
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, and make of the invention real The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to technical side in the embodiment of the present invention Case is described in further detail.
Referring to Figure 1, Fig. 1 is the network architecture signal that the T-CDP under a kind of IPSAN provided in an embodiment of the present invention is realized Figure.As shown in Figure 1, the network architecture schematic diagram may include IPSAN server-side, T-CDP server-side, the network equipment and storage Client (referred to as client).Wherein, client can be by the TCP (Transmission sent to the network equipment Control Protocol, transmission control protocol) mode that carries default mark in message realizes IPSAN server-side will be written Data are synchronously written into T-CDP server-side;It, can be right when the network equipment receives the TCP message that destination is IPSAN server-side The TCP message carries out mirror image and the TCP message is on the one hand then sent to IPSAN server-side, on the other hand, judges the mirror image Default mark, and the purpose of mirror image message whether are carried in message (that is, carrying out the message obtained after mirror image to the TCP message) Whether port is default port, and works as and carry default mark in mirror image message, and the destination port of mirror image message is default end When mouth, it is sent to T-CDP server-side after the purpose IP address of mirror image message to be revised as to the IP address of T-CDP server-side, by T- CDP server-side carries out data write-in processing according to the write order carried in the mirror image message received, to realize data are same Step write-in IPSAN server-side and T-CDP server-side, realize backing up in realtime for data, improve the safety of data.
Wherein, the network equipment in the network architecture shown in Fig. 1 can include but is not limited to Port Mirroring and NAT Router or interchanger of (Network Address Translation, network address translation) function etc..
Based on the network architecture shown in FIG. 1, the embodiment of the invention provides the T-CDP implementation methods under a kind of IPSAN, ask It referring to fig. 2, is the flow diagram of the T-CDP implementation method under a kind of IPSAN provided in an embodiment of the present invention, as shown in Fig. 2, This method may comprise steps of:
It should be noted that step 201~step 203 executing subject is network rack shown in Fig. 1 in the embodiment of the present invention The processor in the network equipment or the network equipment in structure, such as CPU (Center Protocol Unit, central processing unit), For ease of description, being illustrated so that step 201~step 203 executing subject is the network equipment as an example below.
Step 201, when receive destination be IPSAN server-side TCP message when, to the TCP message carry out mirror image, and The TCP message is sent to IPSAN server-side.
In the embodiment of the present invention, when client needs to initiate storage access to IPSAN server-side, client can be sent Data payload is that (Internet Small Computer System Interface, Internet Small Computer connect iSCSI Mouthful) order TCP message (TCP message is referred to as iSCSI message).
When the network equipment receives the TCP message that destination is IPSAN server-side, for example, the network equipment passes through routing Inquiry determines that the exit port of the TCP message received is the port connecting with IPSAN server-side, or is reported according to the TCP received The purpose IP address of text determines that the destination of the TCP message is IPSAN server-side, and the network equipment can carry out the TCP message Mirror image, and the TCP message is sent to IPSAN server-side, so that IPSAN server-side carries out corresponding data according to the TCP message Processing.
If carrying default mark in step 202, mirror image message, and the destination port of mirror image message is default port, then The purpose IP address of the mirror image message is revised as to the IP address of T-CDP server-side.
In the embodiment of the present invention, the network equipment is carried out the TCP message received after mirror image, it can be determined that the mirror image report Whether carry whether the destination port of default mark and mirror image message is default port in text, wherein the default mark can Think that makes an appointment is also written in T-CDP server-side for identifying the data for needing to be written in IPSAN server-side Mark;The default port can be with the default port of iSCSI service, such as 3260 port TCP.
It is alternatively possible to pass through in the PDU (Protocol Data Unit, protocol Data Unit) of modification iSCSI message The mode of reserved field make to carry default mark in iSCSI message.For example, when the reserved field in the PDU is preset spy Different value, when such as 0x7463, it is believed that carry default mark in the message;Otherwise it is assumed that the message does not carry pre- bidding Know.
In the embodiment of the present invention, if the network equipment, which determines, carries default mark in mirror image message, and the mesh of mirror image message Port be default port, then the network equipment can carry out NAT processing to the mirror image message, by the destination IP of the mirror image message It is revised as the IP address of T-CDP server-side in location.
In the embodiment of the present invention, default mark or/and mirror image message are not carried in mirror image message when the network equipment determines Destination port when not being default port, the network equipment can not carry out specially treated to the mirror image message, for example, the network equipment The mirror image message can be abandoned.
The modified mirror image message of purpose IP address is sent to T-CDP server-side by step 203, so that T-CDP server-side Data write-in processing is carried out according to the write order carried in the mirror image message received.
In the embodiment of the present invention, the purpose IP address of mirror image message is revised as the IP of T-CDP server-side by the network equipment Behind location, the modified mirror image message of the purpose IP address can be sent to T-CDP server-side.TCP server-side receives the mirror As data write-in processing can be carried out according to the write order carried in the mirror image message after message.
Further, in embodiments of the present invention, when the network equipment receives the IP that purpose IP address is T-CDP server-side When the TCP message of address, which can be sent to T-CDP server-side, so that T-CDP server-side is according to the TCP message The read command of middle carrying carries out reading data processing.
Also, the network equipment can also receive T-CDP server-side after the TCP message is sent to T-CDP server-side The read data sent, and the read data are sent to the source client of the TCP message;It is carried when receiving Have a read data, and when destination is the TCP message of IPSAN server-side, mirror image carried out to this TCP message, and by this TCP message is sent to IPSAN server-side;If not carrying default mark in mirror image message, the mirror image message is abandoned.This process It is that the source client for sending purpose IP address as the TCP message of the IP address of T-CDP server-side is finding that IPSAN server-side can In the case where capable of leading to loss of data because of factors such as failures, realize that obtaining data from T-CDP server-side lays equal stress on by the network equipment Newly it is written to the process of IPSAN server-side.
As an optional implementation manner, in embodiments of the present invention, in addition to that can be that the configuration of T-CDP server-side is above-mentioned Outside unique IP address, service IP address can also be read for T-CDP server-side assignment configuration and writes service IP address, to realize T- CDP services the read and write abruption of end side, and T-CDP server-side is avoided to filter not when filtering non-reading or the non-write order in TCP message Clean problem.
Correspondingly, in this embodiment, in above-mentioned steps 202, the purpose IP address of mirror image message is revised as T-CDP clothes Be engaged in end IP address, may include:
Service IP address is write by what the destination address of mirror image message was revised as T-CDP server-side, so that TCP server-side receives When to mirror image message, the non-write order carried in mirror image message is filtered.
Specifically, in this embodiment, carrying default mark in mirror image message when the network equipment determines, and mirror image report When the destination port of text is default port, the purpose IP address of the mirror image message can be revised as T-CDP service by the network equipment Service IP address is write at end, thus, it, can be to non-in the mirror image message when T-CDP server-side receives the mirror image message Write order is filtered, and is only responded to the write order in the mirror image message, and the efficiency of data write-in is improved.
Further, in embodiments of the present invention, when the network equipment receives the reading that purpose IP address is T-CDP server-side When the TCP message of service IP address, which is sent to T-CDP server-side, so that T-CDP server-side is to the TCP message In non-read command be filtered, and according to read command carry out reading data processing.
Specifically, when client needs to initiate read access to T-CDP server-side, such as there is number in IPSAN server-side When according to failure, client can send the reading service IP address that purpose IP address is T-CDP server-side to the network equipment, and carry There is the TCP message of read command, the TCP message is transmitted to T-CDP server-side by the network equipment;T-CDP server-side receives this After TCP message, the non-read command carried in the TCP message can be filtered, only to the read command carried in message into Row response, improves the efficiency of reading data.
Further, in embodiments of the present invention, client is after reading related data in T-CDP server-side, can be with By way of ordinary write, the data read are written in IPSAN server-side.
Correspondingly, in embodiments of the present invention, it is above-mentioned TCP message is sent to T-CDP server-side after, can also wrap It includes:
The read data that T-CDP server-side is sent are received, and the read data are sent to client;
Carry the read data when receiving, and destination be IPSAN server-side TCP message when, to the TCP Message carries out mirror image, and the TCP message is sent to IPSAN server-side;
If not carrying default mark in mirror image message, the mirror image message is abandoned.
Specifically, T-CDP server-side according in the TCP message received read command carry out corresponding data reading process it Afterwards, read data can be sent to client by the network equipment;Client can send destination to the network equipment For IPSAN server-side, and the TCP message of default mark is not carried, carry the data of write-in in need (on i.e. in the TCP message State read data) and writing commands.After the network equipment receives the TCP message, still mirror can be carried out to the TCP message Then on the one hand the TCP message is sent to IPSAN server-side by picture, carry out corresponding data write-in by IPSAN server-side Reason;On the other hand, judge whether carry default mark in mirror image message, and work as in the TCP message and do not carry default mark When, the mirror image message can be directly abandoned, to realize when carrying out data recovery, the data of write-in are only written IPSAN In server-side, without being written in T-CDP server-side again.
As it can be seen that in method flow shown in Fig. 2, by needing to write data into IPSAN server-side and T-CDP clothes When business end, in the TCP message for carrying the write order for data to be written, (destination port of this TCP message is default end Mouthful) in the default mark of addition, thus after the TCP message that the network equipment can will be sent to IPSAN server-side carries out mirror image, by mirror As the purpose IP address of message is revised as the IP address of T-CDP server-side, and the modified mirror image message of purpose IP address is sent out T-CDP server-side is given, realizes and data is synchronously written IPSAN server-side and T-CDP server-side, realizes the real-time of data Backup, improves the safety of data.
In order to make those skilled in the art more fully understand technical solution provided in an embodiment of the present invention, below with reference to specific Application scenarios technical solution provided in an embodiment of the present invention is described.
Fig. 3 is referred to, is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention.In the embodiment In, it is assumed that the storage service IP address of IPSAN server-side is 192.168.1.100, port 3260;T-CDP server-side is write Service IP address are as follows: 192.168.1.101 reads service IP address are as follows: 192.168.1.102;The network equipment by port A with The connection of IPSAN server-side, is connect by port B with T-CDP server-side.
In this embodiment, when client carries out data write-in, the default mark for including in the TCP message of transmission can divide It is two kinds:
Ordinary write: writing data only to IPSAN server-side, and the value of the reserved field of iSCSI PDU is defaulted as 0;
It is write together with T-CDP: when writing data into IPSAN server-side, also requiring to write data into T-CDP server-side, iSCSI The value of the reserved field of PDU is 0x7463.
Meanwhile the network equipment needs to do following configuration:
By the traffic mirroring of network equipment port A to port C;
NAT transformation, NAT rule are done to the flow of port C are as follows:
Purpose IP address is 192.168.1.100, and destination port is 3260, and Data [2,3]=0x7463 is (i.e. The value of reserved field in iSCSI PDU be 0x7463) flow;
NAT movement: purpose IP address is revised as 192.168.1.101.
In this embodiment, when client needs to carry out data write-in to IP-SAN server-side, and it is desirable that data are also write When entering to T-CDP server-side, client can send to the network equipment and carry iSCSI write order, and purpose IP address is 192.168.1.100, destination port is 3260 TCP message, and the value of the reserved field of iSCSI PDU is set to 0x7463.
After the network equipment receives the TCP message, it is found that the outgoing interface of the TCP message is port A, thus, the network equipment Mirror image is carried out to the TCP message, is mirrored on the C of port, then, on the one hand, TCP message is sent to IPSAN server-side;It is another Aspect modifies the purpose IP address of mirror image message by the mirror image message matching NAT rule at the C of port, and after successful match For 192.168.1.101, and the modified mirror image message of the purpose IP address is forwarded from port B.
After T-CDP server-side receives mirror image message, it is found that the purpose IP address of the mirror image message received is 192.168.1.101, service IP address is as write, thus, T-CDP server-side can will be non-in the mirror image message received ISCSI write order filters out, and only responds to write order.Wherein, the specific processing side of T-CDP server-side response write order Formula can be such that
The receiving time t1 of recorded message, parsed from iSCSI write order lba (Logical Block Address, Logical block addresses) address (being assumed to be lba1);T-CDP server-side can determine map according to the receiving time and the address lba Index for example, the mode by Hash (t1, lba1)=p1 determines the map index (i.e. p1), and distributes actual physics space (assuming that the disk space address being actually written into is P1), then node content is t1, lab1, P1, head (null), tail at p1 (null);Wherein, head (null) shows that the data are first data stored in the corresponding logical blocks of lab1, tail (null) show in lab1 also not stored other data after the data.
It similarly, is also lab1 when T-CDP server-side receives the address lab in another iSCSI write order in time t2 When, T-CDP server-side can determine corresponding map index (p2) by Hash (t2, lba1)=p2 mode, and distribute reality Physical space (assuming that the disk space address being actually written into be P1), then node content is t2, lab1, P2 p2 at, head (p1), tail(null);And node content is t1, lba1, P1, head (null), tail (p2) at p1;Wherein, head (p1) or tail (p2) show in lab1 and the corresponding data of p2 are located at after data corresponding with p1.
Further, when client needs to initiate read access to T-CDP, it is desirable that, can be with when obtaining the latest data of t moment Transmission purpose IP address is 192.168.1.102, and carries the TCP message of iSCSI read command;The network equipment receives this After TCP message, T-CDP server-side is forwarded it to.
After T-CDP server-side receives the TCP message, it is found that the purpose IP address of the TCP message is 192.168.1.102, service IP address is as read, thus, the non-iSCSI that T-CDP server-side can will carry in the TCP message Read command all filters out, and only responds to read command.Wherein, the specific processing side of T-CDP server-side response read command Formula can be such that
The address lba (being assumed to be lba1) is parsed from iSCSI read command, indexes institute's having time node of lba1, on time Between sort, find out less than or equal to t, and node pn corresponding with the t immediate time, it is assumed that at pn node content be tn, Lba1, Pn, head, tail, then T-CDP server-side can read data from Pn, and return to client.
After client reads related data from T-CDP server-side, it can be write data by the way of ordinary write IPSAN server-side (corresponding data that such case is suitable for IPSAN service end side is lost), due to being ordinary write, the network equipment When carrying out NAT rule match, it fails to match for meeting, thus data can only be written to IPSAN server-side, without being written to T-CDP Server-side, thus, the data realized in IPSAN server-side are restored.
Through above description as can be seen that in technical solution provided in an embodiment of the present invention, it is when receiving destination When the TCP message of IPSAN server-side, mirror image is carried out to the TCP message, the TCP message is on the one hand sent to IPSAN in turn On the other hand server-side carries default mark, and the destination port of mirror image message is default port in the mirror image message In the case of, the purpose IP address of the mirror image message is revised as to the IP address of T-CDP server-side, and after purpose IP address is modified Mirror image message be sent to T-CDP server-side so that T-CDP server-side according to the write order carried in the mirror image message received into Row data write-in processing, realizes data being synchronously written IPSAN server-side and T-CDP server-side, realize the real-time of data Backup, improves the safety of data.
Fig. 4 is referred to, a kind of structural schematic diagram of the T-CDP realization device under IPSAN is provided for the embodiment of the present invention, In, which can be applied to the network equipment in the network architecture shown in Fig. 1, as shown in figure 4, the apparatus may include:
Mirror image unit 410, for receiving the transmission control protocol TCP that destination is IPSAN server-side when described device When message, mirror image is carried out to the TCP message;
Transmission unit 420, for the TCP message to be sent to the IPSAN server-side;
Unit 430 is modified, if for carrying default mark in mirror image message, and the destination port of mirror image message is default The purpose IP address of mirror image message is then revised as the IP address of T-CDP server-side by port;
The transmission unit 420 is also used to for the modified mirror image message of purpose IP address being sent to the T-CDP service End carries out data write-in processing according to the write order carried in the mirror image message received by the T-CDP server-side.
In an alternative embodiment, the modification unit 430 can be specifically used for repairing the destination address of the mirror image message Be changed to T-CDP server-side writes service IP address, when so that the T-CDP server-side receiving mirror image message, to the mirror received As the non-write order carried in message is filtered.
In an alternative embodiment, the transmission unit 420 can be also used for receiving purpose IP address when described device and being When the TCP message of the reading service IP address of T-CDP server-side, the TCP message is sent to the T-CDP server-side, so that The T-CDP server-side is filtered the non-read command in the TCP message, and is carried out at reading data according to read command Reason.
In an alternative embodiment, the transmission unit 420 can be also used for receiving purpose IP address when described device and being When the TCP message of the IP address of T-CDP server-side, which is sent to the T-CDP server-side, so that the T-CDP Server-side carries out reading data processing according to the read command carried in the TCP message.
Please refer to fig. 5, for the structure of the T-CDP realization device under another kind IPSAN provided in an embodiment of the present invention Schematic diagram, on the basis of the embodiment shown in fig. 4, device shown in fig. 5 can also include:
Receiving unit 440, the read data sent for receiving the T-CDP server-side;
The transmission unit 420 is also used to for the read data being sent to the source client of the TCP message;
The mirror image unit 410 is also used to carry the read data when described device receives, and destination For IPSAN server-side TCP message when, to the TCP message carry out mirror image;
The transmission unit 420 is also used to for the TCP message to be sent to the IPSAN server-side;
Discarding unit 450, if abandoning the mirror image message for not carrying default mark in mirror image message.
Fig. 6 is referred to, is the configuration diagram of the T-CDP realization system under a kind of IPSAN provided in an embodiment of the present invention, As shown in fig. 6, the system may include the network equipment 610 and T-CDP server-side 620, in which:
The network equipment 610 receives the transmission control protocol TCP message that destination is IPSAN server-side for working as When, mirror image is carried out to the TCP message, and the TCP message is sent to the IPSAN server-side;
The network equipment 610, if being also used to carry default mark in mirror image message, and the destination port of mirror image message To preset port, then the purpose IP address of mirror image message is revised as to the IP address of T-CDP server-side;
The network equipment 610 is also used to for the modified mirror image message of purpose IP address being sent to the T-CDP service End;
The T-CDP server-side 620, for being carried out at data write-in according to the write order carried in the mirror image message received Reason.
In an alternative embodiment, the T-CDP server-side, which is configured with, writes service IP address and reading service IP address.
In an alternative embodiment, the network equipment 610 may include the T- under IPSAN shown in above-mentioned Fig. 4 or Fig. 5 is any CDP realization device.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
As seen from the above-described embodiment, when receive destination be IPSAN server-side TCP message when, to the TCP message into On the one hand the TCP message is sent to IPSAN server-side in turn by row mirror image, on the other hand, carry in the mirror image message Default mark, and the destination port of mirror image message is that in the case where presetting port, the purpose IP address of the mirror image message is modified For the IP address of T-CDP server-side, and the modified mirror image message of purpose IP address is sent to T-CDP server-side, so that T- CDP server-side carries out data write-in processing according to the write order carried in the mirror image message received, realizes data synchronous write Enter IPSAN server-side and T-CDP server-side, realize backing up in realtime for data, improves the safety of data.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. the true continuous data protection T-CDP implementation method under a kind of storage area network IPSAN of internet protocol-based, It is characterized in that, comprising:
When receiving the transmission control protocol TCP message that destination is IPSAN server-side, mirror image is carried out to the TCP message, And the TCP message is sent to the IPSAN server-side;
If carrying default mark in mirror image message, and the destination port of mirror image message is default port, then by mirror image message Purpose IP address is revised as the IP address of T-CDP server-side;
The modified mirror image message of purpose IP address is sent to the T-CDP server-side so that the T-CDP server-side according to The write order carried in the mirror image message received carries out data write-in processing.
2. the method according to claim 1, wherein described be revised as T- for the purpose IP address of mirror image message The IP address of CDP server-side, comprising:
Service IP address is write by what the destination address of the mirror image message was revised as T-CDP server-side, so that the T-CDP is serviced When termination receives mirror image message, the non-write order carried in the mirror image message received is filtered.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
When receiving the TCP message for the reading service IP address that purpose IP address is T-CDP server-side, which is sent To the T-CDP server-side, so that the T-CDP server-side is filtered the non-read command in the TCP message, and according to reading Order carries out reading data processing.
4. the method according to claim 1, wherein the method also includes:
When receiving the TCP message for the IP address that purpose IP address is T-CDP server-side, which is sent to described T-CDP server-side, so that the T-CDP server-side carries out reading data processing according to the read command carried in the TCP message.
5. according to the method described in claim 4, it is characterized in that, described be sent to the T-CDP server-side for the TCP message Later, further includes:
The read data that the T-CDP server-side is sent are received, and the read data are sent to the TCP message Source client;
Carry the read data when receiving, and destination be IPSAN server-side TCP message when, to the TCP report Text carries out mirror image, and the TCP message is sent to the IPSAN server-side;
If not carrying default mark in mirror image message, the mirror image message is abandoned.
6. the true continuous data protection T-CDP realization device under a kind of storage area network IPSAN of internet protocol-based, It is characterized in that, comprising:
Mirror image unit, for when described device receive destination be IPSAN server-side transmission control protocol TCP message when, Mirror image is carried out to the TCP message;
Transmission unit, for the TCP message to be sent to the IPSAN server-side;
Unit is modified, if for carrying default mark in mirror image message, and the destination port of mirror image message is default port, then The purpose IP address of mirror image message is revised as to the IP address of T-CDP server-side;
The transmission unit is also used to the modified mirror image message of purpose IP address being sent to the T-CDP server-side, by institute It states T-CDP server-side and data write-in processing is carried out according to the write order carried in the mirror image message received.
7. device according to claim 6, which is characterized in that
The modification unit services IP specifically for the destination address of the mirror image message is revised as writing for T-CDP server-side Address when so that the T-CDP server-side receiving mirror image message, carries out the non-write order carried in the mirror image message received Filtering.
8. device according to claim 7, which is characterized in that
The transmission unit is also used to receive the reading service IP address that purpose IP address is T-CDP server-side when described device TCP message when, the TCP message is sent to the T-CDP server-side, so that the T-CDP server-side reports the TCP Non- read command in text is filtered, and carries out reading data processing according to read command.
9. device according to claim 6, which is characterized in that
The transmission unit is also used to receive the TCP report for the IP address that purpose IP address is T-CDP server-side when described device The TCP message is sent to the T-CDP server-side by Wen Shi, so that the T-CDP server-side is carried according in the TCP message Read command carry out reading data processing.
10. device according to claim 9, which is characterized in that described device further include:
Receiving unit, the read data sent for receiving the T-CDP server-side;
The transmission unit is also used to for the read data being sent to the source client of the TCP message;
The mirror image unit is also used to carry the read data when described device receives, and destination is IPSAN When the TCP message of server-side, mirror image is carried out to the TCP message;
The transmission unit is also used to for the TCP message to be sent to the IPSAN server-side;
Discarding unit, if abandoning the mirror image message for not carrying default mark in 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 CN105763599A (en) 2016-07-13
CN105763599B true 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)

Families Citing this family (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
CN108259569B (en) * 2017-12-25 2020-10-27 南京壹进制信息科技有限公司 Method and system for protecting agentless continuous data based on IPSAN shared storage
CN112751733B (en) * 2021-02-08 2022-11-08 北京金山云网络技术有限公司 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
Enterprise storage architecture for optimal business continuity;Rekha Singhal 等;《2010 international conference on data storage and data engineering》;20101230;第73-77页
NSBS:design of a network storage backup system;Xinyan Zhang 等;《world academy of science,engineering and technology international journal of electronic and communication engineering》;20151231;第9卷(第11期);第1253-1262页

Also Published As

Publication number Publication date
CN105763599A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
US7392328B2 (en) Fabric with fibre channel fabric snapshot service
US7877466B2 (en) Network topology based storage allocation for virtualization
US6816917B2 (en) Storage system with LUN virtualization
CN101426025B (en) Remote copy network
US20040233910A1 (en) Storage area network using a data communication protocol
EP1130514A2 (en) Data migration method using storage area network
JP2005505036A (en) Serverless storage service
US9491240B2 (en) Maintenance of a fabric priority during synchronous copy operations
EP1873645A1 (en) Storage system and data replication method
US20060206747A1 (en) Computer system and data backup method in computer system
US7987154B2 (en) System, a method and a device for updating a data set through a communication network
CN105763599B (en) T-CDP implementation method and device under a kind of IPSAN
CN102761534A (en) Method and device for realizing transparent proxy of media access control layer
CN113542263B (en) Firewall policy migration method and device
WO2003030449A1 (en) Virtualisation in a storage system
CN107704206B (en) Method, device, equipment and storage medium for online migration of heterogeneous system data
CN113849127A (en) SAN storage dual-active network-based arbitration method and device and electronic equipment
US9614910B2 (en) Maintenance of a fabric priority among operations in related fibre channel exchanges
CN104333469B (en) A kind of storage system Fibre Channel conversation managing method and system
US10798159B2 (en) Methods for managing workload throughput in a storage system and devices thereof
US20200183798A1 (en) Communication of diagnostic parameters of a data mirroring configuration from a storage controller to a host
US7512637B2 (en) Storage system and undo processing method
CN106559439B (en) A kind of method for processing business and equipment
CN104023081B (en) The data processing method and IP hard disks of net association IP hard disks
JP2005505819A (en) Packet classification in storage systems

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