CN103457853A - Communication method and equipment - Google Patents

Communication method and equipment Download PDF

Info

Publication number
CN103457853A
CN103457853A CN2013104041735A CN201310404173A CN103457853A CN 103457853 A CN103457853 A CN 103457853A CN 2013104041735 A CN2013104041735 A CN 2013104041735A CN 201310404173 A CN201310404173 A CN 201310404173A CN 103457853 A CN103457853 A CN 103457853A
Authority
CN
China
Prior art keywords
equipment
request message
arp request
situation
arp
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.)
Pending
Application number
CN2013104041735A
Other languages
Chinese (zh)
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.)
Huawei Digital Technologies Suzhou Co Ltd
Original Assignee
Huawei Digital Technologies Suzhou 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 Huawei Digital Technologies Suzhou Co Ltd filed Critical Huawei Digital Technologies Suzhou Co Ltd
Priority to CN2013104041735A priority Critical patent/CN103457853A/en
Publication of CN103457853A publication Critical patent/CN103457853A/en
Pending legal-status Critical Current

Links

Images

Abstract

An embodiment of the invention discloses a communication method and equipment. The method comprises the steps that the connection state of TOEs of first equipment and second equipment is determined, and the first equipment and the second equipment belong to the same subnet; under the condition that the connection state loses efficacy, a first ARP request message is broadcasted, and the ARP request message comprises an internet protocol address of the second equipment; under the condition that a first ARP response message sent by the second equipment is received, and according to fact that media in the message responded by a first ARP have access to an MAC address, the media are communicated with the second equipment. Therefore, the situation that the second equipment keeps an IP address changeless and changes the MAC address to cause linkage interrupt of the TOEs can be effectively recovered.

Description

Communication means and equipment
Technical field
The embodiment of the present invention relates to areas of information technology, and more specifically, relates to communication means and equipment.
Background technology
Along with the development of cloud memory technology and Fast Ethernet, the throughput of front end network interface card also grows with each passing day.The front end network interface card, in the situation that high bandwidth is handled up, can take increasing cpu resource.In order to reduce high bandwidth, handle up to the taking of the resource of CPU, industry has proposed transmission control protocol (Transmission Control Protocol, TCP) Reduction of Students' Study Load engine (TCP Offload Engine, TOE) technology.The TOE technology can reduce the burden of Internet Transmission to CPU effectively.Support the equipment of TOE technology to be called the TOE connection with being connected of other communication node foundation.
In prior art, if support the opposite equip. of the devices communicating of TOE technology to change media access control (Medium Access Control with this, MAC) address and do not change Internet protocol (Internet Protocol, IP) address, this supports the equipment of TOE technology to be connected the meeting interruption with the TOE of this opposite equip..In the case, the equipment of this support TOE technology can't be known the MAC Address of opposite equip., thereby causes the TOE of interruption to connect and can't recover.
Summary of the invention
The embodiment of the present invention provides communication means and equipment, but can effectively recover due to the TOE disconnecting that keeps IP address constant change MAC Address to cause.
First aspect, this aspect embodiment provides a kind of communication means, the method is carried out by the first equipment of supporting transmission control protocol Reduction of Students' Study Load engine TOE, the method comprises: determine the connection status that this first equipment is connected with the TOE of this second equipment, wherein this first equipment and this second equipment belong to same subnet; In the situation that this connection status is broadcasted the first ARP request message for losing efficacy, wherein an ARP request message comprises the Internet protocol IP address of this second equipment; In the situation that receive the first arp reply message that this second equipment sends, according to the media access control MAC address in this first arp reply message, with this second equipment, communicate.
In conjunction with first aspect, in the first, in possible implementation, the method also comprises: in the situation that this connection status is for postponing and waiting for that receiving the time that re-transmission that this second equipment sends confirms surpasses Preset Time, broadcasts the 2nd ARP request message; In the situation that receive the arp reply message that this second equipment sends, according to the MAC Address in this second arp reply message, with this second equipment, communicate.
In conjunction with first aspect, at the second, in possible implementation, before sending this ARP request message, the method also comprises: obtain the re-transmission flag; This broadcasts an ARP request message, comprising: in the situation that this re-transmission flag is sure, broadcast an ARP request message.
The possible implementation in conjunction with the second, in possible implementation, in the situation that this re-transmission flag is negative, stop sending an ARP request message at the third.
Possible implementation or the third the possible implementation in conjunction with the second, in the 4th kind of possible implementation, the method also comprises: in the situation that the number of times of broadcast the one ARP request message surpasses preset times and do not receive this first arp reply message, this is retransmitted to home position for negating.
Second aspect, the embodiment of the present invention provides a kind of communication means, the method is carried out by the first equipment of supporting transmission control protocol Reduction of Students' Study Load engine TOE, the method comprises: determine the connection status that this first equipment is connected with the TOE of this second equipment, wherein this first equipment and this second equipment belong to same subnet; In the situation that the time that this connection status is confirmed for the re-transmission postponed and this second equipment of wait reception sends surpasses Preset Time, broadcast the 2nd ARP request message, wherein the 2nd ARP request message comprises the Internet protocol IP address of this second equipment; In the situation that receive the arp reply message that this second equipment sends, according to the MAC Address in this second arp reply message, with this second equipment, communicate.
In conjunction with second aspect, in the first, in possible implementation, before sending this ARP request message, the method also comprises: obtain the re-transmission flag;
This broadcasts the 2nd ARP request message, comprising: in the situation that this re-transmission flag is sure, broadcast the 2nd ARP request message.
The third aspect, this aspect embodiment provides a kind of equipment, and this equipment is supported transmission control protocol Reduction of Students' Study Load engine TOE, and this equipment comprises: control unit, for the connection status of determining that TOE connects, wherein this TOE connection is that the TOE that this equipment is set up with another equipment in same subnet is connected; Communication unit, in the situation that this connection status is to lose efficacy, broadcast the first ARP request message, and wherein an ARP request message comprises the Internet protocol IP address of this another equipment; This communication unit, the first arp reply message also sent for receiving this another equipment, and, according to the media access control MAC address in this first arp reply message, with this another equipment, communicate.
In conjunction with the third aspect, in the first in possible implementation, this communication unit, also in the situation that this connection status for postponing and waiting for that receiving the time that re-transmission that this another equipment sends confirms surpasses Preset Time, broadcasts the 2nd ARP request message; This communication unit, the second arp reply message also sent for receiving this another equipment, and, according to the media access control MAC address in this second arp reply message, with this another equipment, communicate.
In conjunction with the third aspect, at the second, in possible implementation, this control unit, also for obtaining the re-transmission flag; This communication unit, specifically in the situation that this re-transmission flag bit is sure, broadcast an ARP request message.
The possible implementation in conjunction with the second, at the third, in possible implementation, this communication unit, also, in the situation that this re-transmission flag is negative, stop sending an ARP request message.
Possible implementation or the third the possible implementation in conjunction with the second, in the 4th kind of possible implementation, this control unit, also, for the number of times of an ARP request message surpasses preset times and this communication unit does not receive this first arp reply message in the situation that this communication unit is broadcasted, this is retransmitted to home position for negating.
Fourth aspect, the embodiment of the present invention provides a kind of equipment, and this equipment is supported transmission control protocol Reduction of Students' Study Load engine TOE, and this equipment comprises: control unit, for the connection status of determining that TOE connects, wherein this TOE connection is that the TOE that this equipment is set up with another equipment in same subnet is connected; Communication unit, be used in the situation that this connection status is postpone and wait for that the time of the re-transmission confirmation that receives this another equipment transmission surpasses Preset Time, broadcast the 2nd ARP request message, wherein the 2nd ARP request message comprises the Internet protocol IP address of this another equipment; This communication unit, the second arp reply message also sent for receiving this another equipment, and, according to the media access control MAC address in this second arp reply message, with this another equipment, communicate.
In conjunction with fourth aspect, in the first, in possible implementation, this control unit, also for obtaining the re-transmission flag; This communication unit, specifically in the situation that this re-transmission flag bit is sure, broadcast the 2nd ARP request message.
According to embodiments of the invention, in the situation that need to changing MAC Address, the second equipment keep the IP address constant and cause data transmission fails, the first equipment can pass through the broadcast arp request message, obtain the MAC Address of the second renewal of the equipment, thus the interruption that the TOE that recovery causes due to the change MAC Address connects.
The accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below will the accompanying drawing of required use in the embodiment of the present invention be briefly described, apparently, below described accompanying drawing be only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the indicative flowchart of the communication means that provides according to the embodiment of the present invention.
Fig. 2 is the indicative flowchart of the communication means that provides according to the embodiment of the present invention.
Fig. 3 is the indicative flowchart of the communication means that provides according to the embodiment of the present invention.
The structured flowchart of the equipment that Fig. 4 provides according to the embodiment of the present invention.
The structured flowchart of the equipment that Fig. 5 provides according to the embodiment of the present invention.
The structured flowchart of the equipment that Fig. 6 provides according to the embodiment of the present invention.
The structured flowchart of the equipment that Fig. 7 provides according to the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work, should belong to the scope of protection of the invention.
Fig. 1 is the indicative flowchart of the communication means that provides according to the embodiment of the present invention.Method shown in Fig. 1 is carried out by the first equipment of supporting the TOE technology.
101, determine the connection status that the first equipment is connected with the TOE of the second equipment, wherein the first equipment and the second equipment belong to same subnet.
102, in the situation that this connection status is broadcasted the first address resolution protocol (Address Resolution Protocol, ARP) request message for losing efficacy (fail), wherein an ARP request message comprises the IP address of this second equipment.
Particularly, the second equipment may be for various reasons (such as the switching network interface card etc.) needs change MAC Address and keep the IP address constant, and this can cause the TOE disconnecting between the first equipment and the second equipment, the first equipment can't with the second devices communicating.Now, the connection status of the first equipment and the second equipment was for losing efficacy.In the case, the first device broadcasts the one ARP request message, in order to obtain the MAC Address of the second equipment, recover thereby reach the purpose that this TOE connects.Particularly, other equipment with the first equipment in same subnet all can be received an ARP request message of the first device broadcasts, and these equipment can be compared the IP address in an ARP request message with the IP address of himself.If the IP address in a certain device discovery the one ARP request message is identical with the IP address of oneself, this equipment will send the first arp reply message to the first equipment so, and this equipment is exactly the second equipment.
103, in the situation that receive the first arp reply message that this second equipment sends, according to the MAC Address in this first arp reply message, with this second equipment, communicate.
According to the method shown in Fig. 1, need to change MAC Address and keep that the IP address is constant (for example switches network interface card at the second equipment, and the IP address that new network interface card manually is set is identical with the IP address of old network interface card) and cause in the situation of data transmission fails, the first equipment can pass through the broadcast arp request message, obtain the MAC Address of the second renewal of the equipment, thus the interruption that the TOE that recovery causes due to the change MAC Address connects.
Fig. 2 is the indicative flowchart of the communication means that provides according to the embodiment of the present invention.Method shown in Fig. 2 is carried out by the first equipment of supporting the TOE technology.
201, determine the connection status that the first equipment is connected with the TOE of the second equipment, wherein the first equipment and the second equipment belong to same subnet.
202, in the situation that the time that this connection status is confirmed for the re-transmission that postpones (delay) and this second equipment transmission of wait reception surpasses Preset Time, broadcast the 2nd ARP request message, wherein the 2nd ARP request message comprises the IP address of this second equipment.
203, in the situation that receive the second arp reply message that this second equipment sends, according to the MAC Address in this second arp reply message, with this second equipment, communicate.
According to the method shown in Fig. 2, if waiting for the time that re-transmission that the second equipment sends is confirmed, the first equipment surpasses Preset Time, the first equipment can be thought and is connected and goes wrong with the TOE of the second equipment.At this moment, the first equipment can obtain by the broadcast arp request message IP address and the MAC Address mapping relations of the second equipment, thereby recovers to be connected with the second equipment TOE.
It should be noted that, in the present invention, an alleged ARP request message, the 2nd ARP request message, the first arp reply message, the second arp reply message is only in order to distinguish different request messages and response message, the content in message not to be limited.
Fig. 3 is the indicative flowchart of the communication means that provides according to the embodiment of the present invention.Method shown in Fig. 3 is carried out by the first equipment of supporting the TOE technology.
301, determine the connection status that the first equipment is connected with the TOE of the second equipment, wherein the first equipment and the second equipment belong to same subnet.
Particularly, the first equipment can be inefficacy (fail), aging (stale) with the connection status of the second equipment, postpones (delay), surveys (probe), be connected (reachable).If the first equipment is connected normally with the TOE between the second equipment, this connection status is for connecting.If the TOE disconnecting between the first equipment and the second equipment, this connection status was for losing efficacy.If the first equipment and the second equipment are retransmitted, this connection status is aging.In the situation that this connection status is aging, this connection status can further change to and postpones and survey.The first equipment, according to this connection status, can, by execution step 302 broadcast arp request messages, can also pass through execution step 303 and step 304 broadcast arp request message.The first equipment can also be according to this connection status, by performing step 303 and step 304 broadcast arp request message.
302, in the situation that this connection status is broadcasted an ARP request message for losing efficacy (fail), wherein an ARP request message comprises the IP address of this second equipment.
Particularly, the second equipment may be for various reasons (such as the switching network interface card etc.) needs change MAC Address and keep the IP address constant, the TOE disconnecting between the first equipment and the second equipment, the first equipment can't with the second devices communicating.Now, the connection status of the first equipment and the second equipment was for losing efficacy.In the case, the first equipment sends the ARP request message, in order to obtain the MAC Address of the second equipment, thereby reach, recovers the purpose that this TOE connects.
303, in the situation that this connection status is aging, determine that this connection status is for postponing.
Particularly, the first equipment in the situation that retransmitted with the second equipment, can determine that this connection status is aging.In the case, the first equipment is determined the re-transmission confirmation that needs second equipment of waiting for to send.At this moment, the first equipment can determine that this connection status is for postponing, so that second equipment of waiting for returns to the re-transmission confirmation corresponding to data retransmission.
304, in the situation that determine that the time that this connection status is confirmed for the re-transmission postponed and this second equipment of wait reception sends surpasses Preset Time, broadcast the 2nd ARP request message, now this connection status is for surveying, and wherein the 2nd ARP request message comprises the IP address of this second equipment.
Particularly, in the situation that determining, the first equipment need the re-transmission that second equipment of waiting for sends to confirm (being that connection status is delay), if the first equipment is waited for the time of the re-transmission confirmation that second equipment that receives sends and surpassed Preset Time, now can think that the second equipment may be because revise the re-transmission failure that MAC Address causes.Therefore, the first equipment changes to detection by connection status, and the broadcast arp request message is to obtain the MAC Address of the second renewal of the equipment.
Optionally, as an embodiment, the first equipment at broadcast arp request message (an ARP request message or the 2nd ARP request message) before, can also obtain the re-transmission flag, and, in the situation that this re-transmission flag is sure, send this ARP request message (an ARP request message or the 2nd ARP request message).Particularly, this re-transmission flag is defaulted as certainly.That is to say, if the first equipment never sent the ARP request message to the second equipment, this retransmits flag for affirming.If the first equipment sent the ARP request message to this second equipment, and do not receive the arp reply message that the second equipment sends, this can be retransmitted to home position for negating.Perhaps, a preset times can be set, if the number of times that this first equipment sends this ARP request message to this second equipment surpasses this preset times and do not receive the arp reply message that this second equipment sends, this be retransmitted to home position for negating.In addition, if the first device broadcasts ARP request message receive the arp reply message, this re-transmission flag remains certainly.Further, in the situation that this re-transmission flag is negative, the first equipment stops sending this ARP request message.
To sum up, in the situation that get, retransmit flag, in the situation that this connection status is inefficacy (fail), the broadcast arp request message comprises: in the situation that this connection status is sure for losing efficacy and retransmitting flag, send an ARP request message; In the situation that this connection status is that inefficacy and this re-transmission flag are negative, stop sending an ARP request message.Retransmit flag in the situation that get, determine that the time that this connection status is confirmed for the re-transmission postponed and this second equipment of wait reception sends surpasses Preset Time, and broadcast the 2nd ARP request message, comprise: in definite this connection status, be detection, and definite this connection status is postpone and wait for that the time of the re-transmission confirmation of this second equipment transmission of reception surpasses broadcast the 2nd ARP request message in the Preset Time situation; In the situation that the time that definite this connection status is confirmed for the re-transmission of delay and this second equipment transmission of wait reception is negative the 2nd ARP request message of going off the air over Preset Time and definite this re-transmission flag.
305, the first equipment is in the situation that receive the arp reply message that the second equipment sends, according to the MAC Address in this arp reply message, with this second equipment, communicate, wherein, if perform step 302, this arp reply message is the first arp reply message, if perform step 303 and step 304, this arp reply message is the second arp reply message.
Particularly, the second equipment may be for various reasons (such as the switching network interface card etc.) need change MAC Address and keep the IP address constant.At this moment, other equipment in same subnet with the first equipment that comprise the second equipment all can be received the ARP request message of the first device broadcasts, and these equipment can be compared the IP address in the ARP request message with the IP address of himself.If the IP address in a certain device discovery ARP request message is identical with the IP address of oneself, this equipment will send the arp reply message to the first equipment so, and this equipment is exactly the second equipment.Like this, this second equipment can be given this first equipment by the arp reply message notifying by the MAC Address after upgrading and the mapping relations of IP address.This first equipment can, according to the IP address of upgrading and the mapping relations of MAC Address, communicate with this second equipment.Like this, keep the IP address due to the second equipment and change the TOE disconnecting that MAC Address causes being recovered.
Further, in the situation that the first equipment recovers and the communicating by letter of the second equipment, determine that the connection status of this first equipment and this second equipment is for being connected.
According to the method shown in Fig. 3, need to change MAC Address and keep that the IP address is constant (for example switches network interface card at the second equipment, and the IP address that new network interface card manually is set is identical with the IP address of old network interface card) and cause in the situation of data transmission fails, the first equipment can pass through the broadcast arp request message, obtain the MAC Address of the second renewal of the equipment, thus the interruption that the TOE that recovery causes due to the change MAC Address connects.In addition, if the first equipment is waited for the time that re-transmission that the second equipment sends is confirmed, surpass Preset Time, the first equipment can be thought and is connected and goes wrong with the TOE of the second equipment.At this moment, the first equipment can obtain by broadcast IP address and the MAC Address mapping relations of the second equipment, thereby recovers to be connected with the second equipment TOE.
Fig. 4 is the structured flowchart of the equipment that provides according to the embodiment of the present invention.Equipment shown in Fig. 4 400 is supported the TOE technology, can execution graph 1 or Fig. 3 in each step of carrying out of the first equipment.Equipment 400 comprises: control unit 401 and communication unit 402.
Control unit 401, for the connection status of determining that TOE connects, wherein this TOE connection is that the TOE that equipment 400 is set up with another equipment in same subnet is connected.
Communication unit 402, in the situation that this connection status is to lose efficacy, broadcast an ARP request message, and wherein this ARP request message comprises the IP address of this another equipment.
Communication unit 402, ARP the first response message also sent for receiving this another equipment, and, according to the MAC Address in this first arp reply message, with this another equipment, communicate.
Like this, another equipment in set up the same subnet that TOE is connected with equipment 400 need to change MAC Address and keep that the IP address is constant (for example switches network interface card, and the IP address that new network interface card manually is set is identical with the IP address of old network interface card) and cause in the situation of data transmission fails, equipment 400 can pass through the broadcast arp request message, obtain the MAC Address of this another renewal of the equipment, thus the interruption that the TOE that recovery causes due to the change MAC Address connects.
Optionally, as an embodiment, communication unit 402, also, in the situation that the time that described connection status is confirmed for the re-transmission postponed and this another equipment of wait reception sends surpasses Preset Time, broadcast the 2nd ARP request message.Now, control unit 401, can also be for determining that this connection status changes to detection.Communication unit 402, the second arp reply message also sent for receiving this another equipment, and, according to the MAC Address in this second arp reply message, with this another equipment, communicate.
Further, control unit 401, also for obtaining the re-transmission flag.Communication unit 402, specifically in the situation that this re-transmission flag bit is sure, broadcast an ARP request message.
Further, communication unit 402, also in the situation that this re-transmission flag is negative, the ARP request message of going off the air.
Further, control unit 401, also, in the situation that the number of times of communication unit 402 broadcast the one ARP request messages surpasses preset times and communication unit 402 does not receive this first arp reply message, retransmit home position for negating by this.
Fig. 5 is the structured flowchart of the equipment that provides according to the embodiment of the present invention.Equipment shown in Fig. 5 500 is supported the TOE technology, can execution graph 2 or Fig. 3 in each step of carrying out of the first equipment.Equipment 500 comprises: control unit 501 and communication unit 502.
Control unit 501, for the connection status of determining that TOE connects, wherein this TOE connection is that the TOE that equipment 300 is set up with another equipment in same subnet is connected.
Communication unit 502, in the situation that the time that described connection status is confirmed for the re-transmission postponed and this another equipment of wait reception sends surpasses Preset Time, broadcast the 2nd ARP request message.Now, control unit 501, can also be for determining that this connection status changes to detection.
Communication unit 502, the second arp reply message also sent for receiving this another equipment, and, according to the MAC Address in this second arp reply message, with this another equipment, communicate.
Like this, another equipment in set up the same subnet that TOE is connected with equipment 500 need to change MAC Address and keep that the IP address is constant (for example switches network interface card, and the IP address that new network interface card manually is set is identical with the IP address of old network interface card) and cause in the situation of data transmission fails, equipment 500 can pass through the broadcast arp request message, obtain the MAC Address of this another renewal of the equipment, thus the interruption that the TOE that recovery causes due to the change MAC Address connects.
Further, control unit 501, also for obtaining the re-transmission flag.Communication unit 502, specifically in the situation that this re-transmission flag bit is sure, broadcast the 2nd ARP request message.
Further, communication unit 502, also in the situation that this re-transmission flag is negative, the 2nd ARP request message of going off the air.
Further, control unit 501, also, in the situation that the number of times of communication unit 502 broadcast the 2nd ARP request messages surpasses preset times and communication unit 502 does not receive this second arp reply message, retransmit home position for negating by this.
Fig. 6 is the structured flowchart of the equipment that provides according to the embodiment of the present invention.Equipment shown in Fig. 6 600 is supported the TOE technology, can execution graph 1 or Fig. 3 in each step of carrying out of the first equipment.Equipment 600 comprises: processor 601 and transceiver 602.
Processor 601, for the connection status of determining that TOE connects, wherein this TOE connection is that the TOE that equipment 600 is set up with another equipment in same subnet is connected.
Transceiver 602, in the situation that this connection status is to lose efficacy, broadcast an ARP request message, and wherein this ARP request message comprises the IP address of this another equipment.
Transceiver 602, ARP the first response message also sent for receiving this another equipment, and, according to the MAC Address in this first arp reply message, with this another equipment, communicate.
Like this, another equipment in set up the same subnet that TOE is connected with equipment 600 need to change MAC Address and keep that the IP address is constant (for example switches network interface card, and the IP address that new network interface card manually is set is identical with the IP address of old network interface card) and cause in the situation of data transmission fails, equipment 600 can pass through the broadcast arp request message, obtain the MAC Address of this another renewal of the equipment, thus the interruption that the TOE that recovery causes due to the change MAC Address connects.
Optionally, as an embodiment, transceiver 602, also, in the situation that the time that described connection status is confirmed for the re-transmission postponed and this another equipment of wait reception sends surpasses Preset Time, broadcast the 2nd ARP request message.Now, processor 601, can also be for determining that this connection status changes to detection.Transceiver 602, the second arp reply message also sent for receiving this another equipment, and, according to the MAC Address in this second arp reply message, with this another equipment, communicate.
Further, processor 601, also for obtaining the re-transmission flag.Transceiver 602, specifically in the situation that this re-transmission flag bit is sure, broadcast an ARP request message.
Further, transceiver 602, also in the situation that this re-transmission flag is negative, the ARP request message of going off the air.
Further, processor 601, also, in the situation that the number of times of transceiver 602 broadcast the one ARP request messages surpasses preset times and transceiver 602 does not receive this first arp reply message, retransmit home position for negating by this.
Fig. 7 is the structured flowchart of the equipment that provides according to the embodiment of the present invention.Equipment shown in Fig. 7 700 is supported the TOE technology, can execution graph 2 or Fig. 3 in each step of carrying out of the first equipment.Equipment 700 comprises: processor 701 and transceiver 702.
Processor 701, for the connection status of determining that TOE connects, wherein this TOE connection is that the TOE that equipment 300 is set up with another equipment in same subnet is connected.
Transceiver 702, in the situation that the time that described connection status is confirmed for the re-transmission postponed and this another equipment of wait reception sends surpasses Preset Time, broadcast the 2nd ARP request message.Now, processor 701, can also be for determining that this connection status changes to detection.
Transceiver 702, the second arp reply message also sent for receiving this another equipment, and, according to the MAC Address in this second arp reply message, with this another equipment, communicate.
Like this, another equipment in set up the same subnet that TOE is connected with equipment 700 need to change MAC Address and keep that the IP address is constant (for example switches network interface card, and the IP address that new network interface card manually is set is identical with the IP address of old network interface card) and cause in the situation of data transmission fails, equipment 700 can pass through the broadcast arp request message, obtain the MAC Address of this another renewal of the equipment, thus the interruption that the TOE that recovery causes due to the change MAC Address connects.
Further, processor 701, also for obtaining the re-transmission flag.Transceiver 702, specifically in the situation that this re-transmission flag bit is sure, broadcast the 2nd ARP request message.
Further, transceiver 702, also in the situation that this re-transmission flag is negative, the 2nd ARP request message of going off the air.
Further, processor 701, also, in the situation that the number of times of transceiver 702 broadcast the 2nd ARP request messages surpasses preset times and transceiver 702 does not receive this second arp reply message, retransmit home position for negating by this.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed system, apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual the realization, other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as the separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed on a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.
If described function usings that the form of SFU software functional unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above; it is only the specific embodiment of the present invention; but protection scope of the present invention is not limited to this; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement; within all should being encompassed in protection scope of the present invention, so protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (14)

1. a communication means, is characterized in that, described method is carried out by the first equipment of supporting transmission control protocol Reduction of Students' Study Load engine TOE, and described method comprises:
Determine the connection status that described the first equipment is connected with the TOE of described the second equipment, wherein said the first equipment and described the second equipment belong to same subnet;
In the situation that described connection status is broadcasted the first ARP request message for losing efficacy, a wherein said ARP request message comprises the Internet protocol IP address of described the second equipment;
In the situation that receive the first arp reply message that described the second equipment sends, according to the media access control MAC address in described the first arp reply message, with described the second equipment, communicate.
2. the method for claim 1, is characterized in that, described method also comprises:
In the situation that the time that described connection status is confirmed for the re-transmission postponed and described the second equipment of wait reception sends surpasses Preset Time, broadcast the 2nd ARP request message;
In the situation that receive the arp reply message that described the second equipment sends, according to the MAC Address in described the second arp reply message, with described the second equipment, communicate.
3. the method for claim 1, is characterized in that, before sending described ARP request message, described method also comprises:
Obtain the re-transmission flag;
Described broadcast the one ARP request message comprises:
In the situation that described re-transmission flag is sure, broadcast a described ARP request message.
4. method as claimed in claim 3, is characterized in that, described method also comprises:
In the situation that described re-transmission flag is negative, stop sending a described ARP request message.
5. method as described as claim 3 or 4, is characterized in that, described method also comprises:
In the situation that the number of times of the described ARP request message of broadcast surpasses preset times and do not receive described the first arp reply message, by described re-transmission home position, be to negate.
6. a communication means, is characterized in that, described method is carried out by the first equipment of supporting transmission control protocol Reduction of Students' Study Load engine TOE, and described method comprises:
Determine the connection status that described the first equipment is connected with the TOE of described the second equipment, wherein said the first equipment and described the second equipment belong to same subnet;
In the situation that the time that described connection status is confirmed for the re-transmission postponed and described the second equipment of wait reception sends surpasses Preset Time, broadcast the 2nd ARP request message, wherein said the 2nd ARP request message comprises the Internet protocol IP address of described the second equipment;
In the situation that receive the arp reply message that described the second equipment sends, according to the MAC Address in described the second arp reply message, with described the second equipment, communicate.
7. method as claimed in claim 6, is characterized in that, before sending described ARP request message, described method also comprises:
Obtain the re-transmission flag;
Described broadcast the 2nd ARP request message comprises:
In the situation that described re-transmission flag is sure, broadcast described the 2nd ARP request message.
8. an equipment, is characterized in that, described equipment is supported transmission control protocol Reduction of Students' Study Load engine TOE, and described equipment comprises:
Control unit, for the connection status of determining that TOE connects, it is that the TOE that described equipment is set up with another equipment in same subnet is connected that wherein said TOE connects;
Communication unit, in the situation that described connection status is to lose efficacy, broadcast the first ARP request message, and a wherein said ARP request message comprises the Internet protocol IP address of described another equipment;
Described communication unit, the first arp reply message also sent for receiving described another equipment, and, according to the media access control MAC address in described the first arp reply message, with described another equipment, communicate.
9. equipment as claimed in claim 8, is characterized in that,
Described communication unit, also, in the situation that the time that described connection status is confirmed for the re-transmission postponed and described another equipment of wait reception sends surpasses Preset Time, broadcast the 2nd ARP request message;
Described communication unit, the second arp reply message also sent for receiving described another equipment, and, according to the media access control MAC address in described the second arp reply message, with described another equipment, communicate.
10. equipment as claimed in claim 8, is characterized in that,
Described control unit, also for obtaining the re-transmission flag;
Described communication unit, specifically in the situation that described re-transmission flag bit is sure, broadcast a described ARP request message.
11. the method as claim 10, is characterized in that,
Described communication unit, also, in the situation that described re-transmission flag is negative, stop sending a described ARP request message.
12. equipment as described as claim 10 or 11, is characterized in that,
Described control unit, in the situation that described communication unit is broadcasted, the number of times of a described ARP request message surpasses preset times and described communication unit does not receive described the first arp reply message, is also to negate by described re-transmission home position.
13. an equipment, is characterized in that, described equipment is supported transmission control protocol Reduction of Students' Study Load engine TOE, and described equipment comprises:
Control unit, for the connection status of determining that TOE connects, it is that the TOE that described equipment is set up with another equipment in same subnet is connected that wherein said TOE connects;
Communication unit, be used in the situation that described connection status is postpone and wait for that the time of the re-transmission confirmation that receives described another equipment transmission surpasses Preset Time, broadcast the 2nd ARP request message, wherein said the 2nd ARP request message comprises the Internet protocol IP address of described another equipment;
Described communication unit, the second arp reply message also sent for receiving described another equipment, and, according to the media access control MAC address in described the second arp reply message, with described another equipment, communicate.
14. equipment as claimed in claim 13, is characterized in that,
Described control unit, also for obtaining the re-transmission flag;
Described communication unit, specifically in the situation that described re-transmission flag bit is sure, broadcast described the 2nd ARP request message.
CN2013104041735A 2013-09-06 2013-09-06 Communication method and equipment Pending CN103457853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013104041735A CN103457853A (en) 2013-09-06 2013-09-06 Communication method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013104041735A CN103457853A (en) 2013-09-06 2013-09-06 Communication method and equipment

Publications (1)

Publication Number Publication Date
CN103457853A true CN103457853A (en) 2013-12-18

Family

ID=49739827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013104041735A Pending CN103457853A (en) 2013-09-06 2013-09-06 Communication method and equipment

Country Status (1)

Country Link
CN (1) CN103457853A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106034084A (en) * 2015-03-16 2016-10-19 华为技术有限公司 Data transmission method and apparatus thereof
CN114422617A (en) * 2021-12-30 2022-04-29 苏州浪潮智能科技有限公司 Message processing method, system and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728666A (en) * 2004-07-26 2006-02-01 Lg电子株式会社 Apparatus and method for establishing network
CN1764193A (en) * 2005-11-23 2006-04-26 杭州华为三康技术有限公司 Method for renewing address analysis protocol rapidly
CN102158407A (en) * 2011-03-31 2011-08-17 华为技术有限公司 Address resolution protocol (ARP) table entry configuration method and device
US20130044754A1 (en) * 2010-12-21 2013-02-21 Huawei Technologies Co., Ltd. Method, apparatus and system for acquiring media access control address

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728666A (en) * 2004-07-26 2006-02-01 Lg电子株式会社 Apparatus and method for establishing network
CN1764193A (en) * 2005-11-23 2006-04-26 杭州华为三康技术有限公司 Method for renewing address analysis protocol rapidly
US20130044754A1 (en) * 2010-12-21 2013-02-21 Huawei Technologies Co., Ltd. Method, apparatus and system for acquiring media access control address
CN102158407A (en) * 2011-03-31 2011-08-17 华为技术有限公司 Address resolution protocol (ARP) table entry configuration method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106034084A (en) * 2015-03-16 2016-10-19 华为技术有限公司 Data transmission method and apparatus thereof
CN114422617A (en) * 2021-12-30 2022-04-29 苏州浪潮智能科技有限公司 Message processing method, system and computer readable storage medium
CN114422617B (en) * 2021-12-30 2023-07-25 苏州浪潮智能科技有限公司 Message processing method, system and computer readable storage medium

Similar Documents

Publication Publication Date Title
JP5872731B2 (en) Computer implemented method, non-transitory computer readable medium and computer system for communicating detection of link failure to each of a plurality of nodes of a cluster
CN106330414B (en) Message transmission method and device
US7929422B2 (en) Method of moving a transport connection among network hosts
US6871296B2 (en) Highly available TCP systems with fail over connections
US7797565B1 (en) System and method for maintaining communication protocol connections during failover
US6760766B1 (en) Data transmission method and device
CN102047643B (en) Method for enabling faster recovery of client applications in the event of server failure
WO2015180339A1 (en) Message push processing method and device, push server, and application server
CN102611642A (en) System for processing nonsynchronous message and method for system to send message and monitor processing task
JP6148459B2 (en) How to transport data from a source node to a destination node
CN104104480A (en) Method and device for detecting retransmission packet loss of TCP (transmission control protocol)
CN104065508A (en) Application service health examination method, device and system
US9846622B1 (en) Parallel computer system recovery
WO2013189209A1 (en) Method, device and system for establishing transmission channel
CN104104608A (en) Message receiving method and device
CN104980257A (en) Internet of things communication method and device
CN103973414A (en) Data transmission method and device
CN102170484B (en) A detection method and a detection device of IP address conflict
CN104780065A (en) Hot spare method and system for TCP (transmission control protocol)
CN103457853A (en) Communication method and equipment
CN102106105B (en) Method and device for data transmission
US7535916B2 (en) Method for sharing a transport connection across a multi-processor platform with limited inter-processor communications
US10171258B2 (en) Data collection method and system
EP1881666A1 (en) Communications apparatus
CN104969521A (en) Data sending and processing method and router

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131218

RJ01 Rejection of invention patent application after publication