CN106789647A - A kind of method and device of Message processing - Google Patents

A kind of method and device of Message processing Download PDF

Info

Publication number
CN106789647A
CN106789647A CN201611148642.1A CN201611148642A CN106789647A CN 106789647 A CN106789647 A CN 106789647A CN 201611148642 A CN201611148642 A CN 201611148642A CN 106789647 A CN106789647 A CN 106789647A
Authority
CN
China
Prior art keywords
mac address
terminal
broadcast frame
address table
data message
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
CN201611148642.1A
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201611148642.1A priority Critical patent/CN106789647A/en
Publication of CN106789647A publication Critical patent/CN106789647A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing

Abstract

The invention discloses a kind of method and device of Message processing, be related to communication technical field, can solve the problem that the MAC Address not learnt due to RB to terminal, and in TRILL network broadcasting data messages, and then produce the problem of network congestion and waste of resource.A kind of method of Message processing of the invention includes:RB receives the data message that first terminal sends;MAC Address and VLAN mark first mac address table of study of the first terminal in data message, the first mac address table include that the MAC Address of first terminal, VLAN marks and RB receive the port-mark of data message;First MAC Address broadcast frame is generated according to the first mac address table, the first MAC Address broadcast frame includes the mark of the MAC Address of first terminal, VLAN marks and RB;The first MAC Address broadcast frame is sent at least one other RB.During the present invention is applied to RB forwarding data packets.

Description

A kind of method and device of Message processing
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and device of Message processing.
Background technology
According to TRILL, (Transparent Interconnection of Lots of Links, multi-link is transparent mutually Connection) agreement, terminal send ethernet data frame, TRILL data frames can be encapsulated as in the porch of TRILL network, then Forwarded inside TRILL network in the form of TRILL data frames.Perform the encapsulation of TRILL data frames RB (Route Bridge, Routing bridge) it is referred to as " the entrance RB " of the Ether frame.TRILL data frames can be descapsulated into ether in the exit of TRILL network Frame, relays to purpose terminal, and the RB for performing the decapsulation of TRILL data frames is referred to as " outlet RB ".
At present, RB is mainly by receiving the data message of purpose terminal come the MAC (Media of aim of learning terminal Access Control, media access control) address table.If do not receive the data message of the terminal looked over so as to check, or study The MAC Address for arriving is aging, and this can all cause the RB could not effectively to learn the MAC Address to purpose terminal.So, when RB is received During to the data message for being sent to purpose terminal, RB can be broadcasted the data message in TRILL network, in TRILL network Other RB can receive the data message, can so cause the congestion of network and the waste of resource, and influence is very big.And with connecing The quantity for entering layer RB is bigger, and the influence for causing is also bigger.
The content of the invention
The embodiment of the present invention provides a kind of method and device of Message processing, can solve the problem that RB does not learn to purpose terminal MAC Address and the problem of broadcast transmission data message in the entire network.
To reach above-mentioned purpose, the embodiment of the present invention is adopted the following technical scheme that:
In a first aspect, the present invention provides a kind of method of Message processing, multi-link transparent interconnection TRILL network is applied to, Methods described includes:
Routing bridge RB receives the data message that first terminal sends, and the data message includes the media of the first terminal The MAC Address of access control MAC addresses, virtual LAN VLAN mark and purpose terminal;
The MAC Address of the first terminals of the RB in the data message and VLAN marks study first Mac address table, first mac address table includes that the MAC Address of the first terminal, VLAN marks and the RB are received The port-mark of the data message;
The RB generates the first MAC Address broadcast frame, the first MAC Address broadcast according to first mac address table Frame includes the mark of the MAC Address of the first terminal, VLAN marks and the RB;
The RB sends the first MAC Address broadcast frame at least one other RB.
Second aspect, the present invention provides a kind of device of Message processing, is applied to multi-link transparent interconnection TRILL network, Described device includes:
Routing bridge RB, the data message for receiving first terminal transmission, the data message includes the first terminal MAC address, virtual LAN VLAN mark and purpose terminal MAC Address;
The RB, the MAC Address of the first terminal being additionally operable in the data message and the VLAN are identified Learn the first mac address table, first mac address table includes the MAC Address of the first terminal, VLAN marks and institute State the port-mark that RB receives the data message;
The RB, is additionally operable to generate the first MAC Address broadcast frame, the MAC ground according to first mac address table Location broadcast frame includes the mark of the MAC Address of the first terminal, VLAN marks and the RB;
The RB, is additionally operable to send the first MAC Address broadcast frame at least one other RB.
The method and device of a kind of Message processing provided in an embodiment of the present invention, when the data message for receiving first terminal When, RB learns the first mac address table, and according to the first mac address table generation comprising the corresponding outlet RB of first terminal first MAC Address broadcast frame, then sends the first MAC Address broadcast frame at least one other RB.It is compared in the prior art RB learns to after the first mac address table only to forward the data message, can cause other RB not learnt to the first mac address table To the RB broadcast transmission data messages, network congestion and the wasting of resources are caused, influenceed larger.And in the embodiment of the present invention, RB leads to Crossing the first MAC Address broadcast frame of transmission can learn outlet RB corresponding to first terminal by other RB in network.So, When any one other RB has data message to need to be sent to first terminal, need not all broadcast, directly to first terminal correspondence Outlet RB forwarding data packets, effectively reduce the Probability of broadcast, it is to avoid network congestion and the wasting of resources.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by to be used needed for embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can also obtain other attached according to these accompanying drawings Figure.
Fig. 1 is a kind of TRILL network Organization Chart provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of the frame format of ethernet data frame provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of the frame format of TRILL data frames provided in an embodiment of the present invention;
Fig. 4 is a kind of method flow diagram of Message processing provided in an embodiment of the present invention;
Fig. 5 is the method flow diagram of another Message processing provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of message process device provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another message process device provided in an embodiment of the present invention.
Specific 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 carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is all other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
At present, stabilization, expansible, high performance advantage of the TRILL technologies three-layer routing, introduce strong adaptability but property The Layer2 switching network that energy is limited, networking scope is limited, establishes one flexible, expansible, scalable high performance new two Layer architecture.User can be used the two-layer switching equipment using TRILL technologies, build large-scale with high-performance, expansible spirit The modern data center network of support dynamic migration living.
Generally, as shown in figure 1, TRILL network is divided into two-stage topology:Access Layer RB is (for example:RB21, RB22 and RB23) use In the access of terminal (mainly server, such as Server A, Server B and Server C), the quantity foundation of Access Layer RB Depending on the size of TRILL network, generally all in tens, Shang Baitai, convergence-level RB is (for example:RB11 and RB12) for realizing accessing Interconnected between layer RB.The ethernet data frame that terminal sends, TRILL data frames can be encapsulated as in the porch of TRILL network, Then forwarded inside TRILL network in the form of TRILL data frames.Can be by TRILL data frames in the exit of TRILL network Deblocking dresses up Ether frame and is sent to purpose terminal.
In order to be best understood from encapsulation and decapsulation process of the RB to data message, Fig. 2 gives before being packaged and (or enters Row decapsulation after) ethernet data frame frame format, as shown in Fig. 2 containing Inner D-MAC in ethernet data frame (internal layer purpose MAC), Inner S-MAC (internal layer source MAC), Inner VLAN (inner VLAN identification) and Payload (are effectively carried Lotus).
Fig. 3 gives the frame format of the TRILL data frames of (or before being decapsulated) after being packaged, TRILL data Frame is made up of three parts, 1) internal layer ethernet data frame, i.e. RB receive the data message that first terminal is sent;2) TRILL heads Portion:Mainly comprising Ingress RB (entrance RB) and Egress RB (outlet RB) mark, the generally Nickname of RB;3) outward Layer ether frame head:Comprising Outer S-MAC (outer layer source MAC), Outer D-MAC (outer layer target MAC (Media Access Control) address) and Outer VLAN (outer VLAN identification), outer layer ether frame head is mainly used in being realized inside TRILL network that Layer 2 data is forwarded, so its Outer S-MAC and Outer D-MAC can be reset in hop-by-hop RB repeating process.
Specifically, it is plus TRILL heads and outer outside ethernet data frame when RB is packaged to ethernet data frame Layer ether frame head obtains TRILL data frames, and TRILL data frame packets contain two kinds:The first is unicast TRILL data frames, TRIILL Egress RB in head are the Nickname of the corresponding outlet RB of purpose terminal;Second is multicast TRILL data frames, Egress RB in TRIILL heads are multicast tree tree root Nickname.And RB to TRILL data frames when decapsulating, go Fall outer layer ether frame head and TRILL heads obtain ethernet data frame.
For the MAC Address for solving not learning due to RB in TRILL network to terminal, and broadcasted in TRILL network Data message, and then the problem of network congestion and the wasting of resources is produced, the embodiment of the present invention provides a kind of method of Message processing, In applying to the TRILL network framework such as Fig. 1, as shown in figure 4, including:
101st, RB receives the data message that first terminal sends.
Wherein, the data message includes the MAC Address of the first terminal, virtual LAN VLAN mark and purpose end The MAC Address at end.
Used as a kind of specific embodiment, the data message that first terminal sends is ethernet data frame, as shown in Fig. 2 with Inner D-MAC (internal layer purpose MAC, the i.e. MAC Address of purpose terminal), Inner S-MAC are contained very much in net data frame (interior Layer source MAC, i.e. first terminal MAC Address), Inner VLAN (inner VLAN identification) and Payload (payload).
102nd, the RB is according to the MAC Address of the first terminal of the data message and VLAN marks study the One mac address table.
Wherein, first mac address table includes the MAC Address of the first terminal, VLAN marks and the RB Receive the port-mark of the data message.
As a kind of specific embodiment, after RB receives the data message of first terminal transmission, first according to data message In first terminal MAC Address, VLAN mark and receive the data message port-mark generate the first mac address table, The mac address table of first terminal is learnt.First mac address table can be used for the RB and be sent datagram to first terminal.
Specifically, RB searches the first mac address table in the mac address table being locally stored, when the MAC Address being locally stored When not including the first mac address table in table, the first mac address table is preserved, and perform step 103.When the MAC Address being locally stored When including the first mac address table in table, then the ageing time of the first mac address table is updated, optionally, it is not necessary to send a MAC Address broadcast frame.
Then, RB can be according to the purpose terminal that the data message is searched in the TRILL mac address tables of itself storage MAC Address, it should be noted that the outlet of common mac address table is the physical port of terminal (such as the first mac address table), and The outlet of TRILL address tables is Nickname (pet name is the mark of RB), a Nickname distally directed RB.Here, RB searches TRILL address tables to forward the data message to find next RB.When in TRILL address tables comprising purpose terminal During MAC Address, data message is encapsulated as TRILL unicast data frames by RB, and going out to the data message is sent by TRILL network Mouth RB, decapsulates the TRILL unicast data frames for ethernet data frame, study to first terminal by the outlet RB of the data message MAC Address (outlet of mac address table be the corresponding outlet RB of first terminal), and send the ethernet data frame after decapsulation Give purpose terminal.When the MAC Address of purpose terminal is not included in TRILL mac address tables, be encapsulated as data message by RB TRILL multicast packets frame is sent out, and is broadcasted in whole TRILL network, when the outlet RB of the data message receives the data message When, by data message decapsulation, learn the MAC Address of first terminal and send the ethernet data frame after decapsulation to purpose Terminal.
103rd, the RB generates the first MAC Address broadcast frame according to first mac address table.
Wherein, the first MAC Address broadcast frame includes the MAC Address of the first terminal, VLAN marks and institute State the mark of RB.
Used as a kind of specific embodiment, the first MAC Address broadcast frame is TRILL data frames, and internal layer Ether frame can be exempted from Take ARP messages, or other messages, do not limit herein.Wherein, the target MAC (Media Access Control) address of Ether frame head is broadcast ground Location, source MAC is the MAC Address of first terminal, and VLAN is the corresponding VLAN marks of the first mac address table.The entrance of TRILL heads RB is the Nickname of the RB, and outlet RB is the Nickname of multicast tree tree root.Source MAC and mesh in outer layer ether frame head MAC Address can be then reset in hop-by-hop RB repeating process.
Alternatively, in the first mac address table valid period, RB can periodically send the first MAC Address broadcast frame.Until working as During the aging deletion of the first mac address table, RB just stops sending the first MAC Address broadcast frame.So, be conducive on MAC ground In a period of location table is effective, the TRILL address tables of other RB in the TRILL network storage first terminal that can upgrade in time is corresponding Outlet RB.
104th, the RB sends the first MAC Address broadcast frame at least one other RB.
Used as a kind of specific embodiment, RB sends according to the corresponding multicast forward table outlets of multicast tree tree root Nickname should Data frame, corresponding other RB of the multicast tree in TRILL network can receive the first MAC Address broadcast frame.
When other RB receive the first MAC Address broadcast frame, the first MAC Address broadcast frame is decapsulated, obtained Ethernet data frame.Inner S-MAC and VLAN in ethernet data frame learn and generate TRILL mac address tables, MAC Address including first terminal, VLAN identify outlet RB corresponding with first terminal.So, when the terminal of other RB connections Needs send datagram during to first terminal, and can be encapsulated as data message according to the TRILL mac address tables of generation by the RB TRILL unicast data frames are sent to first terminal by the corresponding outlet RB of first terminal.
Optionally, before or after this step, the RB sends out to the outlet RB of the data message for receiving in step 1 Give the data message.
Specifically, RB meetings basis searches the MAC Address of purpose terminal in the TRILL mac address tables of itself storage, when When the MAC Address of purpose terminal is included in TRILL address tables, data message is encapsulated as TRILL unicast data frames by RB, is passed through TRILL network is sent to the outlet RB of the data message, and the TRILL unicast data frames are decapsulated by the outlet RB of the data message It is ethernet data frame, the MAC Address of study to first terminal, and the ethernet data frame after decapsulation is sent to purpose end End.When the MAC Address of purpose terminal is not included in TRILL mac address tables, data message is encapsulated as TRILL multicast numbers by RB Sent out according to frame, broadcasted in whole TRILL network, when the outlet RB of the data message receives the data message, by the data Message is decapsulated, and the ethernet data frame for learning the MAC Address of first terminal and sending after decapsulation gives purpose terminal.
A kind of method of Message processing provided in an embodiment of the present invention, when the data message of first terminal is received, RB Learn the first mac address table, and the MAC ground comprising the corresponding outlet RB of first terminal according to the generation of the first mac address table Location broadcast frame, then sends the first MAC Address broadcast frame at least one other RB.It is compared to RB study in the prior art The data message is only forwarded after to the first mac address table, can cause not learning other RB to the first mac address table to the RB Broadcast transmission data message, causes network congestion and the wasting of resources, influences larger.And in the embodiment of the present invention, RB is by sending First MAC Address broadcast frame can learn outlet RB corresponding to first terminal by other RB in network.So, when any When individual other RB have the data message to need to be sent to first terminal, need not all broadcast, directly to the corresponding outlet of first terminal RB forwarding data packets, effectively reduce the Probability of broadcast, it is to avoid network congestion and the wasting of resources.
Further, on the basis of method shown in Fig. 4, in order to save broadcast traffic, it is necessary to needing to send a MAC The situation of address broadcast frame is further screened, therefore, the embodiment of the present invention additionally provides a kind of method of Message processing, As shown in figure 5, methods described includes:
201st, RB receives the data message that first terminal sends.
Wherein, the data message includes the MAC Address of the first terminal, virtual LAN VLAN mark and purpose end The MAC Address at end.
202nd, RB is according to the MAC Address and VLAN of first terminal in data message mark the first mac address table of study.
Wherein, first mac address table includes the MAC Address of the first terminal, VLAN marks and the RB Receive the port-mark of the data message.
Step 201 and step 202 may be referred to step 101-102, and here is omitted.
203rd, RB judges whether the MAC Address of first terminal meets pre-conditioned.
Used as a kind of specific embodiment, RB can be matched with implementation strategy, and as first terminal sets pre-conditioned, and this is pre- If condition is used to judge whether first terminal is needed by other RB study to MAC Address.For example:When first terminal is important meeting The server being accessed frequently, then RB agencies send the first MAC Address broadcast frame, so other RB learn to arrive first terminal Mac address table, when being conducive to other RB to be sent datagram to first terminal, can determine that the corresponding outlet RB of first terminal, directly Forwarding data packets are broadcast in order, it is to avoid because carrying out extensively data message to the corresponding outlet RB of first terminal without study Situation about broadcasting occurs, and is conducive to avoiding broadcast from occurring.And it is the unessential server that will not be accessed frequently to work as first terminal When, other RB also will not often access first terminal, so outlet RB corresponding to first terminal need not be learnt, RB also without The first MAC Address broadcast frame is sent, so as to save broadcast traffic.Can be according to actual conditions for pre-conditioned specific setting Carry out, do not limit herein.Can be by the source MAC of data message for pre-conditioned judgement, it is also possible to by data The source IP address of message judges, does not also limit herein.
Therefore, when the MAC Address of first terminal meets pre-conditioned, step 204 is performed, when the MAC ground of first terminal When location is unsatisfactory for pre-conditioned, step 207 is performed.
204th, RB identifies to judge the forwarding class of data message according to the MAC Address and VLAN of the purpose terminal of data message Type.
Wherein, the forwarding type of data message includes:Unicast forwarding and multicast forwarding.Unicast forwarding is mainly used in known list Report the forwarding of text.Multicast forwarding is used for multicast, broadcast and the forwarding of unknown unicast message.
Used as a kind of specific embodiment, when data message is unicast forwarding, the outlet RB of the only data message connects Receive the data message, that is, there was only the MAC Address that the outlet RB of the data message can learn to first terminal, in order to allow in network Other RB can also learn the MAC Address to first terminal, then need to perform step 205.And when data message is multicast forwarding, Other RB are by receiving the MAC Address that the data message can also learn to first terminal, so now directly performing step 207.
205th, RB generates the first MAC Address broadcast frame according to first mac address table.
Wherein, the first MAC Address broadcast frame includes the MAC Address of the first terminal, VLAN marks and institute State the corresponding outlet RB of first terminal.
206th, RB sends the first MAC Address broadcast frame at least one other RB.
207th, RB forwarding data packets.
Step 205 and step 207 may be referred to step 101-104, and here is omitted.
It should be noted that the present embodiment does not limit the ordinal relation between step 207 and other steps.
208th, RB generates the 2nd MAC ground when the second MAC Address broadcast frame is received according to the second MAC Address broadcast frame Location table.
Wherein, second mac address table includes the MAC Address of second terminal, VLAN marks and the second terminal pair The outlet RB for answering.
As a kind of specific embodiment, when RB receives the second MAC Address broadcast frame, by the broadcast of the second MAC Address Frame is decapsulated, and obtains ethernet data frame.Inner S-MAC and VLAN in ethernet data frame learn and generate Second mac address table, the second mac address table belongs to TRILL mac address tables, including second terminal MAC Address, VLAN marks Outlet RB corresponding with second terminal.So, when first terminal needs to send datagram to second terminal, RB can be according to life Into the second mac address table, data message is encapsulated as TRILL unicast data frames and is sent to by the outlet RB of second terminal Two terminals.
A kind of method of Message processing provided in an embodiment of the present invention, when first terminal meets it is pre-conditioned when, and first When the data message that terminal sends is unicast forwarding type, in forwarding data packets, the first MAC Address broadcast frame is sent.Phase It is compared to RB in the prior art to learn to after the first mac address table only to forward the data message, can causes not learning to first Other RB of mac address table cause network congestion and the wasting of resources to the RB broadcast transmission data messages, influence larger.And this In inventive embodiments, RB is by judging it is pre-conditioned whether first terminal meets, and whether the data message of forwarding is unicast Forwarding type, further screening needs to send the situation of the first MAC Address broadcast frame, is effectively reducing the generation machine of broadcast While rate, broadcast traffic is also saved, save Internet resources.
The embodiment of the present invention also provides a kind of device 60 of Message processing, as shown in fig. 6, described device is applied to multi-link Transparent interconnection TRILL network, described device includes:
Receiving unit 61, the data message for receiving first terminal transmission, the data message includes described first eventually The MAC Address of the MAC address, virtual LAN VLAN mark and purpose terminal at end
Unit 62, for the first terminal in the data message that is received according to the receiving unit 61 MAC Address and VLAN mark the first mac address tables of study, first mac address table includes the first terminal MAC Address, VLAN marks and the RB receive the port-mark of the data message.
Generation unit 63, first mac address table for being learnt according to the unit 62 generates a MAC Address broadcast frame, the first MAC Address broadcast frame includes that the MAC Address of the first terminal, the VLAN are identified and described The mark of RB.
Transmitting element 64, for sending the MAC ground that the generation unit 63 is generated at least one other RB Location broadcast frame.
A kind of device of Message processing provided in an embodiment of the present invention, when the data message of first terminal is received, RB Learn the first mac address table, and the MAC ground comprising the corresponding outlet RB of first terminal according to the generation of the first mac address table Location broadcast frame, then sends the first MAC Address broadcast frame at least one other RB.It is compared to RB study in the prior art The data message is only forwarded after to the first mac address table, can cause not learning other RB to the first mac address table to the RB Broadcast transmission data message, causes network congestion and the wasting of resources, influences larger.And in the embodiment of the present invention, RB is by sending First MAC Address broadcast frame can learn outlet RB corresponding to first terminal by other RB in network.So, when any When individual other RB have the data message to need to be sent to first terminal, need not all broadcast, directly to the corresponding outlet of first terminal RB forwarding data packets, effectively reduce the Probability of broadcast, it is to avoid network congestion and the wasting of resources.
Further, as shown in fig. 7, described device 60, also including memory cell 65, the memory cell is used to store Mac address table.
The unit 62, is additionally operable to not include described first in the mac address table for work as the storage of the memory cell 65 During mac address table, first mac address table is preserved;When in the mac address table of the storage of the memory cell 65 comprising described the During one mac address table, the ageing time of first mac address table is updated.
Described device 60 also includes judging unit 66, and the judging unit 66 is used to judge that the study of the unit 62 is arrived The MAC Address of the first terminal whether meet pre-conditioned, it is described pre-conditioned for whether judging the first terminal Need to send the first MAC Address broadcast frame.
The transmitting element 64, was additionally operable to before first mac address table is aging, and interval sends to schedule The first MAC Address broadcast frame.
The receiving unit 61, is additionally operable to receive the second MAC Address broadcast frame of other RB transmissions, the 2nd MAC Address broadcast frame includes the mark of the entrance RB of the MAC Address of second terminal, VLAN marks and the second MAC Address broadcast frame Know.
The unit 62, is additionally operable to the second MAC Address broadcast frame received according to the receiving unit 61 Learn the second mac address table, second mac address table includes the MAC Address of the second terminal, VLAN marks and institute State the mark of the corresponding outlet RB of second terminal, the corresponding outlet RB of the second terminal is the second MAC Address broadcast frame Entrance RB.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for equipment reality Apply for example, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to embodiment of the method Part explanation.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, can be The hardware of correlation is instructed to complete by computer program, described program can be stored in computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, all should It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of method of Message processing, it is characterised in that be applied to multi-link transparent interconnection TRILL network, methods described bag Include:
Routing bridge RB receives the data message that first terminal sends, and the data message includes the media interviews of the first terminal The MAC Address of control MAC Address, virtual LAN VLAN mark and purpose terminal;
The first MAC of the MAC Address of the first terminals of the RB in the data message and VLAN mark study Address table, first mac address table includes that the MAC Address of the first terminal, VLAN marks and the RB receive institute State the port-mark of data message;
The RB generates the first MAC Address broadcast frame, the first MAC Address broadcast frame bag according to first mac address table Include the mark of the MAC Address, VLAN marks and the RB of the first terminal;
The RB sends the first MAC Address broadcast frame at least one other RB.
2. method according to claim 1, it is characterised in that the first terminals of the RB according to the data message MAC Address and the VLAN mark study the first mac address table include:
When first mac address table is not included in the mac address table that the RB is locally stored, the RB preserves described first Mac address table;
When in the mac address table that the RB is locally stored comprising first mac address table, the RB updates described first The ageing time of mac address table.
3. method according to claim 1, it is characterised in that send described first at least one other RB in the RB Before MAC Address broadcast frame, methods described also includes:
Judge whether the MAC Address of the first terminal meets pre-conditioned, it is described pre-conditioned for judging described first eventually Whether end needs to send the first MAC Address broadcast frame.
4. method according to claim 1, it is characterised in that the RB according to described the first of the data message eventually After the MAC Address at end and VLAN mark study first mac address tables, methods described also includes:
Before first mac address table is aging, interval sends the first MAC Address broadcast to the RB to schedule Frame.
5. method according to claim 1, it is characterised in that including:
The RB receives the second MAC Address broadcast frame of other RB transmissions, and the second MAC Address broadcast frame includes second eventually The mark of the entrance RB of the MAC Address, VLAN marks and the second MAC Address broadcast frame at end;
The RB learns the second mac address table according to the second MAC Address broadcast frame, and second mac address table includes institute State the mark that the MAC Address of second terminal, the VLAN identify outlet RB corresponding with the second terminal, the second terminal Corresponding outlet RB is the entrance RB of the second MAC Address broadcast frame.
6. a kind of device of Message processing, it is characterised in that be applied to multi-link transparent interconnection TRILL network, described device bag Include:
Receiving unit, the data message for receiving first terminal transmission, the data message includes the matchmaker of the first terminal The MAC Address of body access control MAC addresses, virtual LAN VLAN mark and purpose terminal;
Unit, for the MAC ground of the first terminal in the data message that is received according to the receiving unit Location and VLAN mark the first mac address tables of study, MAC Address of first mac address table including the first terminal, The VLAN marks and the RB receive the port-mark of the data message;
Generation unit, first mac address table for being learnt according to the unit generates the broadcast of the first MAC Address Frame, the first MAC Address broadcast frame includes the mark of the MAC Address of the first terminal, VLAN marks and the RB;
Transmitting element, for sending the first MAC Address broadcast frame that the generation unit is generated at least one other RB.
7. device according to claim 6, it is characterised in that also including memory cell, the memory cell is used to store Mac address table;
The unit, is additionally operable to not include first mac address table in the mac address table for work as memory cell storage When, preserve first mac address table;When the memory cell storage mac address table in include first mac address table When, update the ageing time of first mac address table.
8. device according to claim 6, it is characterised in that also including judging unit, the judging unit is used to judge Whether the MAC Address of the first terminal that the unit learns meets pre-conditioned, described pre-conditioned for sentencing Whether the first terminal that breaks needs to send the first MAC Address broadcast frame.
9. device according to claim 6, it is characterised in that the transmitting element, is additionally operable in first MAC Address Before table is aging, interval sends the first MAC Address broadcast frame to schedule.
10. device according to claim 6, it is characterised in that the receiving unit, is additionally operable to receive what other RB sent Second MAC Address broadcast frame, the MAC Address of the second MAC Address broadcast frame including second terminal, VLAN marks and described the The mark of the entrance RB of two MAC Address broadcast frames;
The unit, is additionally operable to the second MAC Address broadcast frame study second received according to the receiving unit Mac address table, second mac address table includes the MAC Address of the second terminal, VLAN marks and described second eventually The mark of the corresponding outlet RB in end, the corresponding outlet RB of the second terminal is the entrance RB of the second MAC Address broadcast frame.
CN201611148642.1A 2016-12-13 2016-12-13 A kind of method and device of Message processing Pending CN106789647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611148642.1A CN106789647A (en) 2016-12-13 2016-12-13 A kind of method and device of Message processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611148642.1A CN106789647A (en) 2016-12-13 2016-12-13 A kind of method and device of Message processing

Publications (1)

Publication Number Publication Date
CN106789647A true CN106789647A (en) 2017-05-31

Family

ID=58876574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611148642.1A Pending CN106789647A (en) 2016-12-13 2016-12-13 A kind of method and device of Message processing

Country Status (1)

Country Link
CN (1) CN106789647A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023093273A1 (en) * 2021-11-25 2023-06-01 中兴通讯股份有限公司 Data distribution method and system, and operation control apparatus and terminal device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710510A (en) * 2012-05-18 2012-10-03 中兴通讯股份有限公司 Information processing method, device and system
CN104618524A (en) * 2015-02-28 2015-05-13 杭州华三通信技术有限公司 MAC address learning method and device
CN105591897A (en) * 2015-11-16 2016-05-18 杭州华三通信技术有限公司 Method and device of MAC address synchronization of TRILL network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710510A (en) * 2012-05-18 2012-10-03 中兴通讯股份有限公司 Information processing method, device and system
CN104618524A (en) * 2015-02-28 2015-05-13 杭州华三通信技术有限公司 MAC address learning method and device
CN105591897A (en) * 2015-11-16 2016-05-18 杭州华三通信技术有限公司 Method and device of MAC address synchronization of TRILL network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
H. ZHAI等: "Transparent Interconnection of Lots of Links (TRILL):End Station Address Distribution Information (ESADI) Protocol", 《IETF RFC7357》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023093273A1 (en) * 2021-11-25 2023-06-01 中兴通讯股份有限公司 Data distribution method and system, and operation control apparatus and terminal device

Similar Documents

Publication Publication Date Title
CN104935516B (en) Communication system and method based on software defined network
CN101771618B (en) Host routing reachable method and system in access ring of packet transport network
CN104378297B (en) A kind of message forwarding method and equipment
CN100596094C (en) Implementation method and switching device of multi-point to multi-point service
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
CN102957589B (en) Method, network node and system for service data transmission
CN102868614B (en) Message forwarding method in TRILL network and route-bridge
CN104092595B (en) Message processing method and device in virtualization system based on 802.1BR
CN102882781B (en) Method, route bridge and system for transmitting message
CN103685006A (en) Packet forwarding method for edge device and edge device
CN105357099A (en) Implementation method of VPN (virtual private network) on basis of SDN (software defined network)
WO2019183919A1 (en) Method and apparatus for converged networking
CN104243270A (en) Tunnel setup method and tunnel setup device
CN105163349A (en) IEEE802.11s-based multi-gateway wireless Mesh network realization method
CN102273177A (en) Neighbour discovery protocol mediation
CN104539545B (en) Method for forwarding multicast message and equipment in TRILL network
CN102857429B (en) The method and apparatus of route is carried in TRILL network
WO2022021818A1 (en) Method and device for processing data message, storage medium, and electronic device
CN109428949A (en) A kind of method and apparatus that ARP proxy is realized based on SDN
CN104579981B (en) A kind of multicast data packet forwarding method and apparatus
CN103685007B (en) A kind of mac learning method when edge device message forwards and edge device
CN102801622B (en) A kind of retransmission method of data message and retransmission unit
CN104618525B (en) The method of seamless connection based on layering route cross-heterogeneous-network
CN105591927B (en) A kind of message forwarding method and routing bridge based on TRILL network
CN103152265B (en) Message forwarding method and equipment in SPB (Shortest Path Bridge) network

Legal Events

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

Application publication date: 20170531