CN102118303A - Method, system and edge device for sending data messages - Google Patents

Method, system and edge device for sending data messages Download PDF

Info

Publication number
CN102118303A
CN102118303A CN2010100012087A CN201010001208A CN102118303A CN 102118303 A CN102118303 A CN 102118303A CN 2010100012087 A CN2010100012087 A CN 2010100012087A CN 201010001208 A CN201010001208 A CN 201010001208A CN 102118303 A CN102118303 A CN 102118303A
Authority
CN
China
Prior art keywords
protocol massages
message
topology
bpdu
edge device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010100012087A
Other languages
Chinese (zh)
Other versions
CN102118303B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201010001208.7A priority Critical patent/CN102118303B/en
Publication of CN102118303A publication Critical patent/CN102118303A/en
Application granted granted Critical
Publication of CN102118303B publication Critical patent/CN102118303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method, system and edge device for sending data messages. The method comprises the following steps: when protocol messages of bridge protocol data units (BPDUs) are received, judging whether the received protocol messages of the BPDUs are messages related to the change of the topological structure of a network; and if the protocol messages of the BPDUs are the messages related to the change of the topological structure of the network, sending the received data messages to the edge device at the opposite end in a broadcasting mode. According to the invention, the problem that the data messages are lost resulting from the topological change of the network can be solved when network topology is changed.

Description

A kind of sending method of data message, system and edge device
Technical field
The present invention relates to the broadband technology field, particularly relate to a kind of sending method, system and edge device of data message.
Background technology
BPDU Tunnel (Bridge Protocol Data Unit Tunnel, tunnel, bridge protocol data unit) is that form with the tunnel is arranged on the path in two layers or the three layers of switching network, makes between the different user network by BPDU Tunnel transparent transmission protocol massages each other.For example, when user network is divided into user network A and two parts of user network B, by configuration bpdu Tunnel between the edge device of carrier network, when message arrival BPDU Tunnel goes into to hold, go into end at BPDU Tunnel the target MAC (Media Access Control) address form of protocol massages is replaced the MAC Address that becomes special format, when message arrival BPDUTunnel goes out to hold, go out end at BPDU Tunnel protocol massages is reduced to the target MAC (Media Access Control) address form, thereby make protocol massages in carrier network, realize transparent transmission.
But, because the protocol massages that the edge device self that is connected with BPDU Tunnel does not transmit among the treatments B PDU Tunnel when network topology changes, may cause losing of data message.
Summary of the invention
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of sending method, system and edge device of data message, when network topology changes, can avoid the problem of the obliterated data message that the change in topology of network brings.
The embodiment of the invention discloses following technical scheme:
A kind of sending method of data message comprises: when receiving the BPDU protocol massages, judge whether the described BPDU protocol massages that receives is to change relevant message with topology of networks; If described BPDU protocol massages is to change relevant message with topology of networks, the data message that receives is sent to the edge device of opposite end in the mode of broadcasting.
A kind of edge device comprises: judging unit, be used for when receiving the BPDU protocol massages, and judge whether the described BPDU protocol massages that receives is to change relevant message with topology of networks; Transmitting element, be used for when described BPDU protocol massages be when changing relevant message with topology of networks, the data message that receives is sent to the edge device of opposite end in the mode of broadcasting.
A kind of transmitting system of data message, comprise: the edge device at BPDU Tunnel two ends, be used for when receiving the BPDU protocol massages, judge whether the described BPDU protocol massages that receives is to change relevant message with topology of networks, when described BPDU protocol massages is when changing relevant message with topology of networks, the data message that receives is sent to the edge device of opposite end in the mode of broadcasting; Constitute the edge device of topological structure with the edge device at described BPDU Tunnel two ends, be used to receive the BPDU protocol massages that the edge device at described BPDU Tunnel two ends is transmitted, the BPDU protocol massages that operation receives.
As can be seen from the above-described embodiment, edge device by BPDU Tunnel two ends, tunnel, bridge protocol data unit is analyzed the BPDU protocol massages that receives, when judging that the BPDU protocol massages is not when changing relevant message with topology of networks, data message to be sent to the indicated edge device of MAC Address; When judging that the BPDU protocol massages is the message relevant with the topology of networks variation, illustrate that variation has taken place topology network architecture, at this moment, each data message that receives is sent to the edge device of opposite end in the mode of broadcasting, be equivalent to enlarge the transmit path of data message, when network topology changes, can avoid the problem of the obliterated data message that the change in topology of network brings.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of network topology structure scene schematic diagram;
Fig. 2 is another kind of network topology structure scene schematic diagram;
Fig. 3 is the flow chart of an embodiment of the sending method of a kind of data message of the present invention;
Fig. 4 is the flow chart of another embodiment of the sending method of a kind of data message of the present invention;
Fig. 5 is the structure chart of an embodiment of a kind of edge device of the present invention;
Fig. 6 is the structure chart of an embodiment of the transmitting system of a kind of data message of the present invention.
Embodiment
See also Fig. 1, it is a kind of network topology structure scene schematic diagram, wherein, S1, S2, S3, S4 and S5 are respectively the edge device in the switching network, with STP (Spanning Tree Protocol, Spanning-Tree Protocol) is example, S1, the switching network operation STP at S2 and S3 place, the network at S4 and S5 place does not move STP, can transparent transmission protocol massages each other in order to make between S1 and the S2, promptly require S1, the STP protocol massages of the network at S2 and S3 place can pass the network at S4 and S5 place, because the STP protocol massages is a kind of BPDU protocol massages, therefore, need be between S4 and S5 configuration bpdu Tunnel to realize the transparent transmission function, like this, after S4 received the STP protocol massages that S1 sends, the target MAC (Media Access Control) address of conversion STP protocol massages made form the forwarded S4 and S5 between of former STP protocol massages with data message, restore back the target MAC (Media Access Control) address of STP protocol massages behind the arrival S5, be forwarded to S2 at last.After the network topology structure among Fig. 1 is stable, if connecting the interface of S5, S2 is blocked, the interface that S3 connects S2 is blocked, then terminal 1 is specially to the data message flow of terminal 2: terminal 1-〉S4-〉S1-〉S2-〉terminal 2.
But, if the network topology at S1, S2 and S3 place changes, and after STP consults again, S2 is connected the interface blocking-up of S1, and the interface of S2 connection S5 returns to normal condition, as shown in Figure 2, at this moment, because the network at S4 and S5 place does not move STP, change in topology that can't sensing network, terminal 1 to the routing direction of data message on S4 of terminal 2 still for S4 mails to S1, and since S2 connect the interface of S1 and be blocked, above-mentioned data message flow is obstructed, finally can cause losing of data message.At above-mentioned scene, change the problem of the obliterated data message brought for fear of topology of networks, below in conjunction with drawings and Examples, the embodiment of the present application is described in detail.Should be appreciated that specific embodiment described herein only in order to explanation the application, and be not used in qualification the application.
Embodiment one
See also Fig. 3, it is the flow chart of an embodiment of the sending method of a kind of data message of the present invention, and this method may further comprise the steps:
Step 301: when receiving the BPDU protocol massages, judge whether the described BPDU protocol massages that receives is to change relevant message with topology of networks.
Wherein, whether the described BPDU protocol massages that receives of described judgement is to change relevant message with topology of networks to comprise: judge that whether each BPDU protocol massages of receiving is and topology of networks changes the message of being correlated with; Perhaps, judge whether receive the BPDU protocol massages in the special time is to change relevant message with topology of networks.
For example, with the topological structure shown in Fig. 1 is example, after the edge device S4 at BPDU Tunnel two ends or S5 receive a BPDU protocol massages, just judge whether this BPDU protocol massages is to change relevant message with S1, S2 with S3 place topology of networks.Perhaps, in order to save consumption, also can judge that whether the BPDU protocol massages that receives in the special time is and S1 by network equipment S4 or S5, S2 changes relevant message with S3 place topology of networks, for example can set a timer, judge that whether the BPDU protocol massages that receives in the timer timing is and S1, S2 changes relevant message with S3 place topology of networks, also the BPDU protocol massages that is received in the timer timing can be carried out buffer memory, and when timer expiry, the BPDU protocol massages that is received in the timer timing to buffer memory by edge device S4 or S5 judges, judge whether into S1, S2 changes relevant message with S3 place topology of networks.
When S4 or S5 judge whether when changing relevant message with S1, S2 with S3 place topology of networks the BPDU protocol massages that receives, comprise: when the BPDU protocol massages is parsing Spanning-Tree Protocol (Spanning Tree Protocol, STP) during message, resolve this STP BPDUs, obtain the heading of described STP BPDUs; According to TC flag bit that from the heading of described STP BPDUs, reads or type of message sign, judge whether the BPDU protocol massages is to change relevant message with S1, S2 and S3 place topology of networks; Perhaps resolve described BPDU protocol massages, obtain the heading of described BPDU protocol massages; Judge according to the flush territory of from the heading of described BPDU protocol massages, reading whether described BPDU protocol massages is to change relevant message with S1, S2 and S3 place topology of networks.
For example, in case variation has taken place in the network configuration of topological network, be blocked as the interface as S2 connection S5 among Fig. 1, when the interface of S3 connection S2 is blocked, the TC message will be transmitted in system in topological network, variation has taken place to show topology of networks in TCN message or flush message, wherein, in the heading of STP BPDUs, be provided with the TC flag bit, if the TC flag bit is set to 1, represent that promptly STP BPDUs is the TC message, be that the BPDU protocol massages is and S1, S2 changes relevant TC message with S3 place topology of networks, if the TC flag bit is set to 0, represent that promptly STP BPDUs is not the TC message, promptly the BPDU protocol massages is not and S1, S2 changes relevant message with S3 place topology of networks.
Equally, be provided with the type of message sign in the heading of STP BPDUs, if the type of message sign is put 1, represent that promptly STP BPDUs is the TCN message, be that the BPDU protocol massages is to change relevant TCN message with S1, S2 and S3 place topology of networks, otherwise the expression STP BPDUs is not the TCN message, and promptly the BPDU protocol massages is not to change relevant message with S1, S2 and S3 place topology of networks.
Equally, expansion has the flush territory in the heading of BPDU protocol massages, if the flush territory is set to 1, represents that promptly the BPDU protocol massages is the flush message, if the flush territory is set to 0, represents that promptly the BPDU protocol massages is not the flush message.
Step 302: if the described BPDU protocol massages that receives is for changing relevant message with topology of networks, the data message that receives being sent to the edge device of opposite end in the mode of broadcasting.
Wherein, described the data message that receives is comprised with the edge device that the mode of broadcasting sends to the opposite end: according to the interface that receives the described message relevant with the variation of edge device place topology of networks, deletion and described interface related MAC Address list item are so that the edge device at described BPDU Tunnel two ends sends to described data message the edge device of opposite end in the mode of broadcasting.
Usually, in two layer-switching technologies, edge device belongs to data link layer device, edge device is set up corresponding relation with MAC Address and the interface corresponding with this MAC Address, be recorded in this corresponding relation in the address table of self inside as a list item, the destination-mac address information of edge device in can the recognition data message is transmitted data message according to target MAC (Media Access Control) address inquire address table.In the present embodiment, with the BPDU protocol massages is that STP BPDUs is an example, when edge device S4 judges the protocol massages that receives from S1 and S5 and is TC message or TCN message, can from the address table of self maintained, delete interface that is connected with S1 and the interface related MAC Address list item that is connected with S5, also can delete the whole address table of S4 self, at this moment, the interface that is connected with S1 is also just correspondingly deleted with the interface related MAC Address list item that is connected with S5.
Usually, in three layer-switching technologies, so-called " address resolution " is exactly the process that purpose IP address transition is become target MAC (Media Access Control) address before sending message.The basic function of ARP is exactly that IP address, MAC Address and corresponding outgoing interface are set up corresponding relation, this corresponding relation is recorded in the arp cache table as a list item, and by the purpose IP address in the data message, inquiry corresponding target MAC Address and corresponding interface.When edge device S4 judges the protocol massages that receives from S1 and S5 and is the flush message, can from the arp cache table of self maintained, delete interface that is connected with S1 and the interface related ARP list item that is connected with S5, also can delete whole arp cache table, at this moment, the interface that is connected with S1 is also just correspondingly deleted with the interface related ARP list item that is connected with S5.
Send datagram to edge device B (192.168.1.1) with edge device A (192.168.1.5) and to be example.When sending datagram, edge device A can seek the purpose IP address whether edge device B is arranged in the arp cache table of oneself.If have, also just known the target MAC (Media Access Control) address of edge device B, directly this target MAC (Media Access Control) address is write message the inside and transmission; If do not find corresponding purpose IP address in the arp cache table, edge device A will send a broadcasting on network, and target MAC (Media Access Control) address is " FF.FF.FF.FF.FF.FF ", and this expression all edge devices in the same network segment send data message.
Need to prove, above-mentioned " edge device of opposite end " is meant all edge devices that have annexation with some edge devices, for example, with the edge device S4 among Fig. 1 is example, the edge device that has annexation with edge device S4 is S1 and S5, then the edge device of the opposite end of edge device S4 is S1 and S5, and S4 sends to S1 and S5 with the data message that receives in the mode of broadcasting.
Need to prove that also edge device can comprise switch, router, multi-layer switches, IAD, MAN or the WAN device that is installed on the edge network, the packet of being responsible for access device and core/backbone network equipment room transmits.Edge device is a kind of physical equipment of application data link layer (second layer) and network layer (the 3rd layer) technology.
When the described BPDU protocol massages that receives is not when changing relevant message with topology of networks, the data message that receives to be sent to the indicated edge device of destination address.
For example, it still is example with Fig. 1, when edge device S4 judges the BPDU protocol massages that receives is not when changing relevant message with S1, S2 and S3 place topology of networks, promptly, edge device S4 does not receive with S1, S2 and S3 place topology of networks and changes relevant message, the network configuration that shows topological network does not change, and at this moment, still data message is sent to the indicated edge device of destination address.
One of ordinary skill in the art will appreciate that, after above-mentioned steps 302, can also comprise that common MAC address learning or ARP resolve, after MAC address learning or ARP parsing, set up new data message forwarding path, the data message that receives is sent to the indicated edge device of destination address, no longer send to the edge device of opposite end in the mode of broadcasting.
As can be seen from the above-described embodiment, edge device by BPDU Tunnel two ends, tunnel, bridge protocol data unit is analyzed the BPDU protocol massages that receives, when judging that the BPDU protocol massages is not when changing relevant message with topology of networks, data message to be sent to the indicated edge device of MAC Address; When judging that the BPDU protocol massages is change in topology TC message or refreshes the flush message, illustrate that variation has taken place topology network architecture, at this moment, the data message that receives is sent to the edge device of opposite end in the mode of broadcasting, be equivalent to enlarge the transmit path of data message, when network topology changes, can avoid the problem of the obliterated data message that the change in topology of network brings.
Embodiment two
Please in conjunction with topological network line structure figure shown in Figure 1, consult Fig. 4, it is the flow chart of another embodiment of the sending method of a kind of data message of the present invention, may further comprise the steps:
Step 401: the edge device S4 at BPDU Tunnel two ends, tunnel, bridge protocol data unit receives the BPDU protocol massages;
Step 402: edge device S4 judges whether the BPDU protocol massages that receives is TC message, TCN message or flush message, if, enter step 403, if not, enter step 405;
Wherein, edge device S4 can just judge once whether this BPDU protocol massages is TC message, TCN message or flush message whenever receiving a BPDU protocol massages, also can start a timer, judge whether the BPDU protocol massages that receives in the timing of timer is TC message, TCN message or flush message.
For the judgement of TC message, specifically can be, resolve STP BPDUs, obtain the heading of STP BPDUs, from the heading of STP BPDUs, read the TC flag bit, judge whether the TC flag bit is put 1, if described STP BPDUs is the TC message.
For the judgement of TCN message, specifically can be, resolve STP BPDUs, obtain the heading of described STP BPDUs; Read the type of message sign from the heading of described STP BPDUs, judge whether described type of message sign is put 1, if described STP BPDUs is the TCN message.
For the judgement of flush message, specifically can be to resolve the BPDU protocol massages, obtain the heading of BPDU protocol massages, from the heading of BPDU protocol massages, read the flush territory, judge whether the flush territory is put 1, if described BPDU protocol massages is the flush message.
Step 403: according to the interface that receives TC message, TCN message or flush message, edge device S4 deletion and interface related MAC Address list item;
In two layers of switching network, if the BPDU protocol massages that edge device S4 receives from S1 is the TC message, then will and S4 and S1 between interface related MAC Address list item from address table, delete.
Step 404: when edge device S4 receives data message, data message is sent to the edge device of opposite end in the mode of broadcasting;
For example, when edge device S4 judges that the BPDU protocol massages that self receives is the TC message, the data message that receives is sent to the edge device S1 and the S5 of opposite end in the mode of broadcasting.
Be blocked if S2 connects the interface of S5, the interface that S3 connects S2 is blocked, and as shown in Figure 2, then terminal 1 is specially to the data message flow of terminal 2: terminal 1-〉S4-〉S1-〉S2-〉terminal 2.If S1, S2 and S3 network topology change, and after STP consults again, S2 is connected the interface blocking-up of S1, and the interface of S2 connection S5 returns to normal condition, as shown in Figure 3, because S4 can receive the TC message of STP when consulting again, TCN message or flush message, therefore the mode with broadcasting sends to S1 and S5 simultaneously with data message, because S2 connects the interface blocking-up of S1, data message on this path can be lost, the terminal of flowing through 1-〉S4-〉S5-〉S2-〉data message of terminal 2 then normally sent, and guaranteed that after topological network changes data message can not lost.
Step 405: when edge device S4 did not receive TC message, TCN message or flush message, edge device S4 sent to the indicated edge device of destination address with data message.
In addition, when edge device S4 deleted and S 1 between interface related MAC Address list item after, if receive for example data message of terminal 2 transmissions of a data message from S5 again, then can be according to the source MAC of this data message for example MAC Address of terminal 2 and the incoming interface of this data message, based on MAC address learning mechanism, in address table, set up a new MAC Address list item.After MAC address learning, when receiving the data message that mails to terminal 2 once more, edge device S4 searches address table, finds the MAC Address list item of terminal 2 correspondences, according to the interface in this MAC Address list item this data message is sent to terminal 2.
As can be seen from the above-described embodiment, edge device by BPDU Tunnel two ends, tunnel, bridge protocol data unit is analyzed the BPDU protocol massages that receives, when judging that the BPDU protocol massages is not when changing relevant message with topology of networks, data message to be sent to the indicated edge device of MAC Address; When judging that the BPDU protocol massages is the message relevant with the topology of networks variation, illustrate that variation has taken place topology network architecture, at this moment, each data message that receives is sent to the edge device of opposite end in the mode of broadcasting, be equivalent to enlarge the transmit path of data message, when network topology changes, can avoid the problem of the obliterated data message that the change in topology of network brings.
Embodiment three
Corresponding with the sending method of above-mentioned a kind of data message, the embodiment of the invention also provides a kind of edge device.See also Fig. 5, it is the structure chart of an embodiment of a kind of edge device of the present invention, and this edge device comprises judging unit 501 and transmitting element 502.Operation principle below in conjunction with this device is further introduced its internal structure and annexation.
Judging unit 501 is used for when receiving the BPDU protocol massages, judges whether the described BPDU protocol massages that receives is to change relevant message with topology of networks;
Transmitting element 502, be used for when described BPDU protocol massages be when changing relevant message with topology of networks, the data message that receives is sent to the edge device of opposite end in the mode of broadcasting.
Above-mentioned judging unit 501 can comprise: first resolves subelement 5011 and first reads subelement 5012,
First resolves subelement 5011, is used to resolve the Spanning-Tree Protocol STP BPDUs, obtains the heading of described STP BPDUs;
First reads subelement 5012, and the TC flag bit or the type of message that are used for reading according to the heading from described STP BPDUs identify, and judges whether described BPDU protocol massages is the message relevant with the topology of networks variation.
Replacedly, above-mentioned judgement 501 can also comprise: second resolves subelement and second reads subelement,
Second resolves subelement, is used to resolve described BPDU protocol massages, obtains the heading of described BPDU protocol massages;
Second reads subelement, is used for the flush territory of reading according to from the heading of described BPDU protocol massages, judges whether described BPDU protocol massages is to change relevant message with topology of networks.Need to prove that described edge device comprises: switch, router, multi-layer switches, IAD, MAN or WAN device.
As can be seen from the above-described embodiment, edge device by BPDU Tunnel two ends, tunnel, bridge protocol data unit is analyzed the BPDU protocol massages that receives, when judging that the BPDU protocol massages is not when changing relevant message with topology of networks, data message to be sent to the indicated edge device of MAC Address; When judging that the BPDU protocol massages is the message relevant with the topology of networks variation, illustrate that variation has taken place topology network architecture, at this moment, each data message that receives is sent to the edge device of opposite end in the mode of broadcasting, be equivalent to enlarge the transmit path of data message, when network topology changes, can avoid the problem of the obliterated data message that the change in topology of network brings.
Embodiment four
The embodiment of the invention also provides a kind of transmitting system of data message.See also Fig. 6, it is the structure chart of an embodiment of the transmitting system of a kind of data message of the present invention, this system comprises: the edge device 601 at BPDUTunnel two ends and constitute the edge device 602 of topological structure with the edge device at BPDU Tunnel two ends, wherein
The edge device 601 at BPDU Tunnel two ends, be used for when receiving the BPDU protocol massages, judge whether the described BPDU protocol massages that receives is to change relevant message with described edge device place topology of networks, when described BPDU protocol massages is when changing relevant message with described edge device place topology of networks, the data message that receives is sent to the edge device of opposite end in the mode of broadcasting, when described BPDU protocol massages is not when changing relevant message with described edge device place topology of networks, the data message that receives to be sent to the indicated edge device of destination address;
Constitute the edge device 602 of topological structure with the edge device at BPDU Tunnel two ends, be used to receive the BPDU protocol massages that the edge device at described BPDU Tunnel two ends is transmitted, the BPDU protocol massages that operation receives.
Wherein, the edge device 601 at described BPDU Tunnel two ends comprises:
Judging unit 6011 is used for when receiving the BPDU protocol massages, judges whether the described BPDU protocol massages that receives is to change relevant message with topology of networks;
Transmitting element 6012, be used for when described BPDU protocol massages be when changing relevant message with topology of networks, the data message that receives is sent to the edge device of opposite end in the mode of broadcasting.
As can be seen from the above-described embodiment, edge device by BPDU Tunnel two ends, tunnel, bridge protocol data unit is analyzed the BPDU protocol massages that receives, when judging that the BPDU protocol massages is not when changing relevant message with topology of networks, data message to be sent to the indicated edge device of MAC Address; When judging that the BPDU protocol massages is the message relevant with the topology of networks variation, illustrate that variation has taken place topology network architecture, at this moment, each data message that receives is sent to the edge device of opposite end in the mode of broadcasting, be equivalent to enlarge the transmit path of data message, when network topology changes, can avoid the problem of the obliterated data message that the change in topology of network brings.
Need to prove, one of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random AccessMemory, RAM) etc.
More than sending method, system and the edge device of a kind of data message provided by the present invention is described in detail, used specific embodiment herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (11)

1. the sending method of a data message is characterized in that, comprising:
When receiving the BPDU protocol massages, judge whether the described BPDU protocol massages that receives is to change relevant message with topology of networks;
If described BPDU protocol massages is to change relevant message with topology of networks, the data message that receives is sent to the edge device of opposite end in the mode of broadcasting.
2. method according to claim 1 is characterized in that, whether the described BPDU protocol massages that described judgement receives is to change relevant message with topology of networks to comprise:
Judge whether each the BPDU protocol massages that receives is to change relevant message with topology of networks;
Perhaps,
Judge whether the BPDU protocol massages that receives in the special time is to change relevant message with topology of networks.
3. method according to claim 1 and 2 is characterized in that, when described BPDU protocol massages was parsing Spanning-Tree Protocol STP BPDUs, whether the described BPDU protocol massages that described judgement receives was to change relevant message with topology of networks to comprise:
Resolve described STP BPDUs, obtain the heading of described STP BPDUs;
According to TC flag bit that from the heading of described STP BPDUs, reads or type of message sign, judge whether described BPDU protocol massages is to change relevant message with topology of networks.
4. method according to claim 1 and 2 is characterized in that, whether the described BPDU protocol massages that described judgement receives is to change relevant message with topology of networks to comprise:
Resolve described BPDU protocol massages, obtain the heading of described BPDU protocol massages;
Judge according to the flush territory of from the heading of BPDU protocol massages, reading whether described BPDU protocol massages is to change relevant message with topology of networks.
5. method according to claim 1 is characterized in that, described the data message that receives is comprised with the edge device that the mode of broadcasting sends to the opposite end:
According to receiving the interface that described and topology of networks change relevant message, deletion and described interface related MAC Address list item send to the data message that receives the edge device of opposite end in the mode of broadcasting.
6. method according to claim 1 is characterized in that, described the data message that receives is comprised with the edge device that the mode of broadcasting sends to the opposite end:
According to receiving the interface that described and topology of networks change relevant message, deletion and described interface related ARP list item send to the data message that receives the edge device of opposite end in the mode of broadcasting.
7. an edge device is characterized in that, comprising:
Judging unit is used for when receiving the BPDU protocol massages, judges whether the described BPDU protocol massages that receives is to change relevant message with topology of networks;
Transmitting element, be used for when described BPDU protocol massages be when changing relevant message with topology of networks, the data message that receives is sent to the edge device of opposite end in the mode of broadcasting.
8. device according to claim 7 is characterized in that, described judging unit comprises:
First resolves subelement, is used to resolve the Spanning-Tree Protocol STP BPDUs, obtains the heading of described STP BPDUs;
First reads subelement, and the TC flag bit or the type of message that are used for reading according to the heading from described STP BPDUs identify, and judges whether described BPDU protocol massages is the message relevant with the topology of networks variation.
9. device according to claim 7 is characterized in that, described judging unit comprises:
Second resolves subelement, is used to resolve described BPDU protocol massages, obtains the heading of described BPDU protocol massages;
Second reads subelement, is used for the flush territory of reading according to from the heading of described BPDU protocol massages, judges whether described BPDU protocol massages is to change relevant message with described edge device place topology of networks.
10. the transmitting system of a data message is characterized in that, comprising:
The edge device at BPDU Tunnel two ends, be used for when receiving the BPDU protocol massages, judge whether the described BPDU protocol massages that receives is to change relevant message with topology of networks, when described BPDU protocol massages is when changing relevant message with topology of networks, the data message that receives is sent to the edge device of opposite end in the mode of broadcasting;
Constitute the edge device of topological structure with the edge device at described BPDU Tunnel two ends, be used to receive the BPDU protocol massages that the edge device at described BPDU Tunnel two ends is transmitted, the BPDU protocol massages that operation receives.
11. system according to claim 10 is characterized in that, the edge device at described BPDU Tunnel two ends comprises:
Judging unit is used for when receiving the BPDU protocol massages, judges whether the described BPDU protocol massages that receives is to change relevant message with topology of networks;
Transmitting element, be used for when described BPDU protocol massages be when changing relevant message with topology of networks, the data message that receives is sent to the edge device of opposite end in the mode of broadcasting.
CN201010001208.7A 2010-01-04 2010-01-04 Method, system and edge device for sending data messages Active CN102118303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010001208.7A CN102118303B (en) 2010-01-04 2010-01-04 Method, system and edge device for sending data messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010001208.7A CN102118303B (en) 2010-01-04 2010-01-04 Method, system and edge device for sending data messages

Publications (2)

Publication Number Publication Date
CN102118303A true CN102118303A (en) 2011-07-06
CN102118303B CN102118303B (en) 2014-09-17

Family

ID=44216906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010001208.7A Active CN102118303B (en) 2010-01-04 2010-01-04 Method, system and edge device for sending data messages

Country Status (1)

Country Link
CN (1) CN102118303B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014117360A1 (en) * 2013-01-31 2014-08-07 华为技术有限公司 Method and device for processing packet in trill network
CN104780138A (en) * 2014-01-09 2015-07-15 北京东土科技股份有限公司 Transparent transmission method and device for STP (Spanning Tree Protocol)/RSTP (Rapid Spanning Tree Protocol) message in private redundancy protocol network
WO2017012470A1 (en) * 2015-07-17 2017-01-26 袁丽 Smart parking monitoring management system and parking mode-based vehicle-into-place detection method
CN110365569A (en) * 2019-07-12 2019-10-22 迈普通信技术股份有限公司 Message processing method, device and communication equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010021177A1 (en) * 2000-03-10 2001-09-13 Anritsu Corporation Spanning tree bridge and route change method using the same
CN1909497A (en) * 2006-08-24 2007-02-07 华为技术有限公司 Method and device for improving reliability of user terminal dual attachment network in VPLS system
CN101610221A (en) * 2009-07-23 2009-12-23 杭州华三通信技术有限公司 IP unicast took over seamlessly when a kind of STP switched method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010021177A1 (en) * 2000-03-10 2001-09-13 Anritsu Corporation Spanning tree bridge and route change method using the same
CN1909497A (en) * 2006-08-24 2007-02-07 华为技术有限公司 Method and device for improving reliability of user terminal dual attachment network in VPLS system
CN101610221A (en) * 2009-07-23 2009-12-23 杭州华三通信技术有限公司 IP unicast took over seamlessly when a kind of STP switched method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014117360A1 (en) * 2013-01-31 2014-08-07 华为技术有限公司 Method and device for processing packet in trill network
CN104137492A (en) * 2013-01-31 2014-11-05 华为技术有限公司 Method and device for processing packet in trill network
CN104137492B (en) * 2013-01-31 2017-02-08 华为技术有限公司 Method and device for processing packet in trill network
US9800591B2 (en) 2013-01-31 2017-10-24 Huawei Technologies Co., Ltd. Method and apparatus for processing packet on trill network
CN104780138A (en) * 2014-01-09 2015-07-15 北京东土科技股份有限公司 Transparent transmission method and device for STP (Spanning Tree Protocol)/RSTP (Rapid Spanning Tree Protocol) message in private redundancy protocol network
CN104780138B (en) * 2014-01-09 2017-12-19 北京东土科技股份有限公司 The transmitting method and device of STP/RSTP messages in privately owned redundancy protocol network
WO2017012470A1 (en) * 2015-07-17 2017-01-26 袁丽 Smart parking monitoring management system and parking mode-based vehicle-into-place detection method
CN110365569A (en) * 2019-07-12 2019-10-22 迈普通信技术股份有限公司 Message processing method, device and communication equipment

Also Published As

Publication number Publication date
CN102118303B (en) 2014-09-17

Similar Documents

Publication Publication Date Title
US9537793B2 (en) Ensuring any-to-any reachability with opportunistic layer 3 forwarding in massive scale data center environments
CN101877671B (en) Sending method of mirror image message, switch chip and Ethernet router
JP2023086623A (en) Handover Using Ring Network Using Lower Address Storage Method
US10644991B2 (en) Cluster communictaion
CN102413060B (en) User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network
GB2358760A (en) Network switch with self-learning routing facility
CN104168184A (en) Message forwarding method and device
US9658984B2 (en) Method and apparatus for synchronizing multiple MAC tables across multiple forwarding pipelines
US7398322B1 (en) System using routing bridges to transparently interconnect multiple network links to form a single virtual network link
CN103475583A (en) Method and equipment for removing media access control forwarding table entries
CN102118303B (en) Method, system and edge device for sending data messages
CN113794615B (en) Message forwarding method and device
CN101222370B (en) Method and device for failure location using failure location packet
CN104378302A (en) Method for sending address corresponding relation in second layer protocol by utilizing link state routing
US11431632B1 (en) ID/location hybrid forwarding method based on source routing
WO2023005018A1 (en) Packet forwarding method and network device
WO2017124725A1 (en) Mac address forwarding table updating method and device of ring network node
CN102801562A (en) Transmission link switching method and device and network equipment
US10003469B2 (en) Multicast forwarding method and apparatus in transparent interconnection of lots of link network, and routing bridge
JP5099632B2 (en) Network system
JP2023152304A (en) Mobile terminal handover using lower address memory that stores lower addresses of mac addresses for add, drop, and transfer device in ring network
CN102299971A (en) Rapid address searching algorithm based on FPGA (Field Programmable Gate Array)
EP2187579A1 (en) Reconfigurable communications system
JP2023175536A (en) Hand-over of wireless system using ring network using low address memory storing low address alone of mac address for node device
JP2023176756A (en) Hand-over of portable terminal using low address memory storing low address of mac address for device which adds, drops, and passes packet of ring network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant