CN101820435B - Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system - Google Patents

Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system Download PDF

Info

Publication number
CN101820435B
CN101820435B CN200910118638.4A CN200910118638A CN101820435B CN 101820435 B CN101820435 B CN 101820435B CN 200910118638 A CN200910118638 A CN 200910118638A CN 101820435 B CN101820435 B CN 101820435B
Authority
CN
China
Prior art keywords
described
service
mac address
list item
address list
Prior art date
Application number
CN200910118638.4A
Other languages
Chinese (zh)
Other versions
CN101820435A (en
Inventor
朱普军
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN200910118638.4A priority Critical patent/CN101820435B/en
Publication of CN101820435A publication Critical patent/CN101820435A/en
Application granted granted Critical
Publication of CN101820435B publication Critical patent/CN101820435B/en

Links

Abstract

The embodiment of the invention provides synchronization method and device for MAC (Media Access Control) address table information of a distributed network processing system. In the method, during the transmission of a service message of the same service, a service processing board receiving the service message learns or updates the MAC address table information corresponding to the MAC address according to the MAC address of the service message, the MAC address table information is the corresponding relationship between the MAC address and the port of the service processing board; at the same user network interface side or the same network interface side of the distributed network processing system, the MAC address table information is synchronized to another service processing board of the distributed network processing system if the transmission port receiving the service message and the transmission port transmitting the service message are not located on the same service processing board. The efficiency for the synchronization of the MAC address table information is improved, and the space occupied by the MAC address table information is saved.

Description

MAC Address list item information synchronization method and the device of distributed network processing system

Technical field

The present invention relates to communication technical field, relate in particular to a kind of MAC (Media Access Control, media access control) address list item information synchronization method and device of distributed network processing system.

Background technology

Distributed network processing system, as distributed bridge, is used for each local zone network of isolation to be mutually connected to a local area network (LAN), and carries out the service message transmission between each Local Area Network.The transmission of service message need to be according to the MAC Address of service message, and the MAC Address list item information of service processing board realizes.The MAC Address of service message comprises source address and destination address, MAC Address list item information recording the corresponding relation of port of MAC Address and service processing board.

When service message transmits, according to the target MAC (Media Access Control) address of service message, search the MAC Address list item information corresponding with this target MAC (Media Access Control) address, obtain corresponding outbound port information, service message is forwarded.The corresponding MAC Address list item information of study simultaneously or renewal and source MAC; And the MAC Address list item information that study is arrived is at every turn broadcasted to other service processing board, then each service processing board carries out the study of this MAC Address list item information.

But after this broadcast completes, each service processing board safeguards MAC Address list item information separately respectively, and aging, so-called aging, according to certain rule by unmatched MAC Address list item information deletion.Therefore, the MAC Address list item information of each service processing board there will be asynchronous, sometimes, the asynchronous of MAC Address list item information can produce problems, for example, service processing board 1 and service processing board 2 all have same MAC Address list item information, when service message forwards through service processing board 1 always, service processing board 2 can be because not receiving the service message of this MAC Address in ageing time, and this MAC Address list item obsolescence of information is deleted, when service message migrates to service processing board 2 and forwards, because corresponding MAC Address list item information in service processing board 2 is deleted, now service processing board 2 also needs to carry out the study of this MAC Address list item information again, and broadcast to other service processing board.Asynchronous due to MAC Address list item information in each service processing board like this, has produced a large amount of broadcast and has processed phenomenon, has caused the decline of network processing system forwarding performance and efficiency, has destroyed the continuity of transfer of data.

Available technology adopting comprise that the distributed network processing system of an interface board and multiple service processing boards carries out synchronously, interface board is forwarded to service message after service processing board, service processing board all by the MAC Address list item information broadcasting of learning at every turn in interface board and other all service processing boards, then by interface board, carry out the aging of MAC Address list item information in the each service processing board of centralized maintenance, ageing time is set in interface board, if receive corresponding service message in ageing time, corresponding MAC Address list item information is upgraded, reinitialize the ageing time in MAC Address list item, otherwise, corresponding MAC Address list item information in delete interface plate and each service processing board.

Realizing in process of the present invention, inventor finds that prior art at least exists following problem: the MAC Address list item information of study at every turn is all broadcast to all service processing boards, not only make synchronous Efficiency Decreasing, and MAC Address list item information has taken the large quantity space of each service processing board.

Summary of the invention

The embodiment of the present invention provides a kind of MAC Address list item information synchronization method and device, to improve the synchronous efficiency of MAC Address list item information, saves system resource.

The embodiment of the present invention provides a kind of MAC Address list item information synchronization method of distributed network processing system, comprising:

In the service message transmitting procedure of same business, receive that the service processing board of described service message is according to the media access control MAC address of described service message, learn or upgrade MAC Address list item information corresponding to described MAC Address, described MAC Address list item information is the corresponding relation of described MAC Address and described service processing board port;

In same User Network Interface side or the consolidated network network interface side of described distributed network processing system, if the transmit port that receives the transmit port of service message and send service message, not on same service processing board, is synchronized to described MAC Address list item information other service processing board of described distributed network processing system.

The embodiment of the present invention also provides a kind of MAC Address list item information synchronizer of distributed network processing system, comprising:

Update module, for the service message transmitting procedure in same business, according to the MAC Address of described service message, to learn or upgrade MAC Address list item information corresponding to described MAC Address, described MAC Address list item information is the corresponding relation of described MAC Address and described service processing board port;

The first judge module, for judging same User Network Interface side or the consolidated network network interface side at described distributed network processing system, the transmit port that receives service message with the transmit port that sends service message whether on same service processing board;

Synchronization module, for in the judged result of described the first judge module, be described reception service message transmit port with send the transmit port of service message not on same service processing board time, described MAC Address list item information is synchronized to other service processing board of described distributed network processing system.

The embodiment of the present invention also provides a kind of distributed network processing system, comprises multiple service processing boards,

Described service processing board, for the service message transmitting procedure in same business, according to the MAC Address of described service message, learn or upgrade MAC Address list item information corresponding to described MAC Address, described MAC Address list item information is the corresponding relation of described MAC Address and described service processing board port; In same User Network Interface side or the consolidated network network interface side of described distributed network processing system, if the transmit port that receives the transmit port of service message and send service message, not on same service processing board, is synchronized to described MAC Address list item information other service processing board of described distributed network processing system.

The embodiment of the present invention has adopted in the same User Network Interface side of described distributed network processing system or consolidated network network interface side, the transmit port that receives service message and the transmit port that sends service message be under the condition on same service processing board, then study or the MAC Address list item information upgraded are carried out to synchronous technical scheme.

Because conventionally only have subject to the foregoing, the transmission of service message just can move between service processing board, and then just may be because identical MAC Address list item information asynchronous in each service processing board, and the problems that produce Transmission and broadcast in a large number.The embodiment of the present invention has guaranteed under this condition the synchronous of MAC Address list item information in service processing board, overcome the MAC Address list item information to each study in prior art simultaneously and be all broadcast to all service processing boards, and the synchronous efficiency bringing is low, large problem takes up room.

Visible, the technical scheme of the embodiment of the present invention has improved the synchronous efficiency of MAC Address list item information, and has saved the space that in service processing board, MAC Address list item information takies.

Accompanying drawing explanation

Fig. 1 is the schematic diagram of distributed network processing system in prior art;

Fig. 2 is the flow chart of the MAC Address list item information synchronization method of embodiment of the present invention distributed network processing system;

Fig. 3 is the connection diagram of service processing board A and service processing board B in the embodiment of the present invention;

Fig. 4 is the structural representation of MAC Address list item in the embodiment of the present invention;

Fig. 5 is the method flow diagram that the embodiment of the present invention is synchronized to MAC Address list item information other service processing boards of distributed network processing system;

Fig. 6 is the structural representation of FDB2 table in the embodiment of the present invention;

Fig. 7 is the structural representation of embodiment of the present invention sync message;

Fig. 8 carries out the synchronous service processing board connection diagram of MAC Address list item information in the embodiment of the present invention;

Fig. 9 is the structured flowchart of the MAC Address list item information synchronizer of a kind of distributed network processing system of the embodiment of the present invention;

Figure 10 is the structured flowchart of the MAC Address list item information synchronizer of the another kind of distributed network processing system of the embodiment of the present invention;

Figure 11 is the structured flowchart of the MAC Address list item information synchronizer of the another kind of distributed network processing system of the embodiment of the present invention;

Figure 12 is the structured flowchart of a kind of distributed network processing system of the embodiment of the present invention;

Figure 13 is the structured flowchart of the another kind of distributed network processing system of the embodiment of the present invention.

Embodiment

In order to make those skilled in the art can further understand feature of the present invention and technology contents, refer to following about detailed description of the present invention and accompanying drawing, accompanying drawing only provide with reference to and explanation, be not used for limiting the present invention.

Below in conjunction with drawings and Examples, the technical scheme of the embodiment of the present invention is described.

Between equipment or local area network (LAN), formulated certain business, by distributed network processing system, carry out the service message transmission based on this business, as shown in Figure 1, in the transmitting procedure of this service message, this distributed network processing system is connected with respectively equipment or network, in this distributed network processing system, there is the service configuration information of this business, comprise: the service processing board information that receives service message and transmission service message process, LAG (the Link Aggregation Group at port information and this port place, link aggregation group) group port information, MPLS (the Multi-Protocol Label Switching of service bearer, multiprotocol label switching) tunnel information, VSI (the Virtual Service instance of business, virtual service instance) information, business is used VLAN (Virtual Local Area Network, VLAN) information, the MAC address aging temporal information of business etc.This business can be come by VSI and VLAN unique definite.Wherein, MPLS tunnel information comprises the MPLS tunnel information of work Ingress (Inbound), MPLS tunnel information, the MPLS tunnel information of protection Ingress and the MPLS tunnel information of protection Egress of work Egress (outgoing direction).Corresponding service configuration information in this distributed network processing system also can be stored in service processing board corresponding in this system.

In the service message of this business of transmitting by this distributed network processing system, comprise the vlan information that MAC Address and this business are used, wherein MAC Address comprises DA (DestinationAddress, destination address) and SA (Source Address, source address).Certainly, in service message, also can not comprise vlan information.

As shown in Figure 2, be the flow chart of the MAC Address list item information synchronization method of embodiment of the present invention distributed network processing system.The method comprises:

Step 201, in the service message transmitting procedure of same business, receive that the service processing board of described service message is according to the MAC Address of described service message, learn or upgrade MAC Address list item information corresponding to described MAC Address, described MAC Address list item information is the corresponding relation of described MAC Address and described service processing board port;

As shown in Figure 3, when a certain service processing board A receives a service message from port PO RT301, this service processing board A searches whether there is corresponding MAC Address list item information according to the DA of this service message, wherein, MAC Address list item as shown in Figure 4, comprise MAC Address list item information and ageing time Aging Time, wherein, MAC Address list item information is the corresponding relation of MAC Address and service processing board BID, port numbers PID.The ageing time of MAC Address list item, is when learning or upgrading this MAC Address list item information, according to the default value of the setting in service configuration information or system, automatically sets.

If finding MAC Address is the MAC Address list item information of DA, can learn the corresponding relation of DA and outbound port, thereby by this service message from this port repeat to destination, this port may be at this service processing board A, also may be at another service processing board B.

Suppose the port PO RT302 of this port at service processing board B, service processing board A is forwarded to service processing board B by service message, and this repeating process also can complete by the power board that connects two service processing boards.Wherein, no matter service message is to be directly transmitted to service processing board B by service processing board A, or service processing board A is transmitted to service processing board B by power board, and service message all forwards by Business Processing passage between plate.

Service processing board B is according to service message MAC Address SA, search and in this service processing board B, whether have the MAC Address list item information that SA is corresponding, if have, this MAC Address list item information is upgraded, if nothing, learn this MAC Address list item information, so-called study set up the source service processing board A of SA and this service message and the corresponding informance of port numbers thereof, this list item information set up or refresh after can be according to the ageing time of the setting in corresponding service configuration information or this list item of system default a period of time value generation, this ageing time also can be modified as required or reset.Certainly for study or the renewal of MAC Address list item information corresponding to SA, also can in service processing board A, carry out.Suppose that this port is still in service processing board A, said process directly completes in service processing board A.

Can be before described study or upgrading MAC Address list item information corresponding to described MAC Address, judge that whether described service message is from Business Processing passage between the plate of distributed network processing system, if so, according to the study of described service message or upgrade MAC Address list item information corresponding to described MAC Address.

Service message has two kinds of sources, the service message receiving as above-mentioned service processing board A derives from external equipment or the network of distributed network processing system, and the service message that service processing board B receives derives from Business Processing passage between this intrasystem plate, source to service message in the present embodiment judges, in service processing board B, carry out study or the renewal of MAC Address list item information, service processing board A is only responsible for the forwarding of service message like this, study or renewal MAC Address list item information are completed by service processing board B, be conducive to improve the treatment effeciency of service message.

Step 202, in same User Network Interface side or the consolidated network network interface side of described distributed network processing system, if the transmit port that receives the transmit port of service message and send service message, not on same service processing board, is synchronized to described MAC Address list item information other service processing board of described distributed network processing system.

According to agreement G.8012/Y.1308, distributed network processing system has two kinds of interface side: UNI (User Network Interface, User Network Interface) side and NNI (Network Network Interface, Network-to-Network Interface) side, wherein, UNI side is the interface between subscriber equipment and network, and directly user oriented equipment makes between subscriber equipment and network or between network and subscriber equipment exchange message mutually; NNI can be regarded as the interface between Network-Node Interface or gateway/network.For example, when distributed network processing system carries out the service message transmission between subscriber equipment and operator, user equipment side is UNI side, carrier side is NNI side, when distributed network processing system carries out two service messages between subscriber equipment transmission, two user equipment side are two different UNI sides; When distributed network processing system carries out the service message transmission between Liang Ge operator, two carrier sides are two different NNI sides.

In embodiments of the present invention, as long as same UNI side or same NNI side, the transmit port that receives the transmit port of service message and send service message, not on same service processing board, is just synchronized to the MAC Address list item information of step 201 learning or renewal in other service processing board.

Wherein, in same UNI side or same NNI side, whether the transmit port that receives service message and the transmit port that sends service message on same service processing board, can judge according to following port information:

Whether LAG group port is on same service processing board; Or whether the MPLS tunnel port of the MPLS tunnel port of Egress and Ingress is on same service processing board; Or, receive the MPLS tunnel port of work Egress of service message and the MPLS tunnel port of protection Egress whether on same service processing board; Or, send the MPLS tunnel port of work Ingress of service message and the MPLS tunnel port of protection Ingress whether on same service processing board; Or, the combination in any of above-mentioned judgement.

Also can judge in a certain order, in the present embodiment, adopt following order to judge:

S1, judges that the MPLS tunnel port of Ingress and the MPLS tunnel port of Egress whether on same service processing board, if carry out S2, carry out subsequent step 202 if not;

S2, check that whether the MPLS tunnel of Ingress is at APS (Automatic Protection Switching, APS) protection in, if whether the MPLS tunnel port of the MPLS tunnel port that judges described work Ingress and protection Ingress is on same service processing board, if carry out S3, carry out if not subsequent step 202;

S3, check that the MPLS tunnel of Egress is whether in APS protection, if whether the MPLS tunnel port of the MPLS tunnel port that judges work Egress and protection Egress on same service processing board, if carry out S4, carries out subsequent step 202 if not;

S4, judges that LAG group port member under the port of service message process whether on same service processing board, obtains judged result, then carries out subsequent step 202.

As long as in same UNI side or same NNI side, the transmit port that receives the transmit port of service message and send service message is not on same service processing board, other service processing board that described MAC Address list item information can be synchronized to described distributed network processing system, also can all carry out above-mentioned judgement to both sides.When the MPLS tunnel in service configuration information change or LAG form build delete time, can re-execute above-mentioned determining step, can carry out according to the determining step of S1~S4.

In the embodiment of the present invention, whether MAC Address list item information is carried out to synchronous situation is analyzed, in the service message transmitting procedure of same business, same UNI side or same NNI side, the transmit port that receives service message is with the transmit port that sends service message not under the condition on same service processing board, carry out the synchronous of MAC Address list item information, improved the synchronous efficiency of MAC Address list item information, and saved the space that in service processing board, MAC Address list item information takies.The method that specifically described MAC Address list item information is synchronized to other service processing board of described distributed network processing system can be with reference to following examples.

With reference to Fig. 5, for the embodiment of the present invention is synchronized to MAC Address list item information the method flow diagram of other service processing boards of distributed network processing system.

In the present embodiment, adopt FDB2 (Filtering DataBase2, forwarding database) table arranges the synchronizing information of each service processing board, to control the synchronous of MAC Address list item information, the structure of FDB2 table as shown in Figure 6, comprise VSI, VLAN and MAC synchronization bit position S, out of Memory also can be set again.Wherein, the VLAN in FDB2 table can be illegal value, in FDB2 table, can not comprise vlan information.

" MAC synchronization bit position S " 601 in FDB2 table, be used for representing whether need to carry out the synchronous of MAC Address list item information, if synchronization bit position is set to 1, represent that this MAC Address list item informational needs is synchronous, synchronization bit position is " 0 ", and expression can not carried out synchronously.

In same UNI side or same NNI side, when the transmit port that receives service message with send the transmit port of service message not on same service processing board time, by in the each service processing board relating in the service configuration information of this business, synchronization bit position in the FDB2 table corresponding with the vlan information of this business and VSI information is set to " 1 ", to in this service configuration information, not relate in other service processing board, the synchronization bit position in the FDB2 table corresponding with the vlan information of this business and VSI information is set to " 0 ".In UNI side and NNI side, when the transmit port that receives service message with send the transmit port of service message all on same service processing board time, can be by each service processing board, the synchronization bit position in the FDB2 table corresponding with the vlan information of this business and VSI information is all set to " 0 ".If when the vlan information in FDB2 table is illegal value, the setting up procedure of above-mentioned synchronization bit position, can only carry out according to the VSI information of this business.

After study or upgrading MAC Address list item information, the information that can directly show with reference to FDB2, judge whether to carry out the synchronous of this MAC Address list item information, also can omit or take other mode to carry out mark to the synchronizing information of the service processing board in this distributed network processing system.As directly searched and whether have corresponding service configuration information, then judge whether to carry out the synchronous of corresponding MAC Address list item information in service processing board.

After study or upgrading MAC Address list item information, if comprise vlan information in service message, according to the VSI information in the vlan information of service message and service configuration information corresponding to this service message, check the synchronization bit position in the FDB2 table with identical vlan information and VSI information, if synchronization bit place value illustrates that for " 1 " the MAC Address list item informational needs of this study or renewal is synchronized to other service processing board of this distributed network processing system, if " 0 " can carry out synchronously.If do not comprise vlan information in service message, according to service message, search the VSI information in corresponding service configuration information, then, in the FDB2 table corresponding with this VSI information, check synchronization bit place value.

In the present embodiment, if after study or renewal MAC Address list item information, the synchronization bit position in the FDB2 table of finding is " 1 ", needs described MAC Address list item information to be synchronized to other service processing board of described distributed network processing system, can comprise the following steps

Step 501, structure sync message, described sync message comprises described MAC Address list item information and related service configuration information.

According to information such as the source address SA in corresponding MAC Address list item information, message source service processing board A and port numbers, structure sync message, as shown in Figure 7, in the present embodiment, the regular length of this sync message is 15 bytes, only comprise VSI numbering (16 bit), VLAN (12 bit), SA (48 bit), service processing board BID (16 bit), port numbers PID (12 bit), CRC check (16 bit), this sync message takies little flow, and service processing board etc. are gone back headspace to expand backward.Certainly, in this sync message, also can not comprise vlan information.

Can also comprise step 502, for described sync message, set priority, the sync message that the MAC Address list item information of general study produces is set as preferentially, and the sync message that the MAC Address list item information of renewal produces is for taking second place; When having multiple sync messages to broadcast, according to the priority of described sync message, preferentially broadcast the sync message that priority is high.

The setting of sync message being carried out to priority is also the transmission in order to prevent excessive sync message, and according to priority ranks when sending, and first sends preferential sync message.Certainly, also can to priority level, reset as required.

Step 503, broadcasts described sync message other service processing board to described distributed network processing system by communication channels among boards.

Sync message adopts communication channels among boards to send, and does not take Business Processing passage, not affect the transmission of service message.The general mode that adopts broadcast is sent to sync message in other service processing boards, the mode of wherein said broadcast, can be specifically that sync message is first sent in the lanswitch module (forwarding module) of this distributed network processing system master control borad, then in Lanswitch module, this sync message is copied, then by Lanswitch module, the sync message copying is sent to other service processing boards of distributed network processing system.Certainly, also can directly be broadcast to other service processing boards, also can adopt the mode of unicast between service processing board to send sync message.

In the present embodiment, when sync message flow is large, can carry out flow restriction to sync message, to prevent that the excessive and generation information of sync message flow from blocking.Simultaneously, can decide according to the bandwidth entirety situation that sends, receives sync message and passage the bandwidth of transmission frequency, receive frequency and communication channels among boards, avoid certain link have bottleneck or certain link wasting of resources more, the present embodiment MAC Address sync message maximum processing capability is limited in 50K per second.

The present embodiment can also comprise step 504, other service processing board of described distributed network processing system is being received after sync message, if the related service configuration information in sync message and the service configuration information of described service processing board match, according to described sync message, learn or upgrade MAC Address list item information corresponding to this MAC Address.

Concrete, also can judge whether successively in the following order to need study or upgrade MAC Address list item information, also can carry out wherein part judgement:

First, whether the VSI information and the vlan information that judge sync message mate with the corresponding information of this service processing board, when not comprising vlan information in sync message, only judge whether the VSI information of sync message and the corresponding information of this service processing board mate, if coupling, be the business based on this VLAN that has this VSI in this service processing board, carry out next step judgement; If do not mate, abandon sync message, do not learn or upgrade.

Then, whether the port that judges described service processing board belongs to the transmit port relating in described service configuration information, check in this service processing board with sync message in vlan information and the corresponding FDB2 table of VSI information, whether synchronization bit position is " 1 ", if synchronization bit position is " 1 ", enter next step judgement; If do not mate or synchronization bit position for " 0 ", abandon sync message, do not learn or upgrade; While not comprising vlan information if do not comprise in sync message in vlan information or FDB2 table, only check VSI information.

Then, judge whether the service processing board number in sync message is this service processing board, if not, according to sync message, learn or upgrade described MAC Address list item information; If so, abandon sync message, do not learn or upgrade.

According to the MAC Address list item information of sync message study or renewal oneself, concrete refers to, according to whether having corresponding MAC Address list item information in this service processing board of MAC Address list item information searching in sync message, if have, upgrade this MAC Address list item information, if do not learn this MAC Address list item information.

By the method, can first judge whether need to MAC Address list item information be learnt or be upgraded, reduced the synchronous of unnecessary MAC Address list item information, save taking up room of MAC Address list item information in service processing board.

In above embodiment, study or upgrade MAC Address list item information after can be according to the setting in service configuration information or system default a period of time ageing time as this list item, for the ageing time that guarantees the corresponding MAC Address list item information in each service processing board is synchronous, what the ageing time of the MAC Address list item information of each service processing board was used is same clock reference, as the 2K clock of system.

It is below the application of the MAC Address list item information synchronization method of embodiment of the present invention distributed network processing system.

As shown in Figure 8, between user C and the D of operator, by distributed network processing system, carry out the transmission of service message, according to service configuration information, according to abovementioned steps S1~S4 judgement, learn, this system UNI side be user's side reception service message transmit port with send the transmit port of service message on same service processing board 10, and the MPLS tunnel port of the NNI side Ingress that to be carrier side send service message with the MPLS tunnel port of Egress that receives service message not on same service processing board, respectively on service processing board 20 and service processing board 21.Suppose that service message transfers to operator from user's side, the source MAC of service message is C, and target MAC (Media Access Control) address is D, also comprises vlan information in this service message.

Service processing board 10 receives the service message of user's side from port PO RT101, in this service processing board, search and the corresponding MAC Address list item of destination address D information, according to the outbound port that in this list item information, MAC Address D is corresponding, be the port PO RT201 of service processing board 20, service processing board 10 is forwarded to service processing board 20 by service message.

Service processing board 20 is according to the source MAC C of service message, in this service processing board, searching MAC Address is the MAC Address list item information of C, search less than, learn this MAC Address list item information, the corresponding relation of setting up the port PO RT101 of MAC Address C and service processing board 10, system can be given tacit consent to the ageing time of this list item.

The FDB2 table of each service processing board in distributed network processing system is set according to this service configuration information, in the service processing board 10,20,21 that service configuration information is related to, the synchronization bit position of the FDB2 table corresponding with the vlan information of this business and VSI information is all set to " 1 ", in the service processing board 11 that other does not relate to, the synchronization bit position of the FDB2 table corresponding with the vlan information of this business and VSI information is all set to " 0 ".

Service processing board 20 is checked in this service processing board, the FDB2 table identical with VSI information in the vlan information of service message and service configuration information corresponding to this service message, synchronization bit position in table is " 1 ", according to the MAC Address list item information structuring sync message of learning, VSI numbering, VLAN, MAC Address C, service processing board numbers 10, port numbers PORT101 and CRC check etc. in sync message, have been comprised, and to set this sync message be high priority, then this sync message is broadcast to other service processing board.

Service processing board 10, according to this sync message, judge, the VSI information of sync message and vlan information all match with the corresponding information of this service processing board, and in this service processing board, the synchronization bit position of the FDB2 table identical with VSI information with the vlan information of sync message is " 1 ", further judge service processing board in this sync message numbers 10, demonstration is from this service processing board, so this sync message is abandoned.

Service processing board 21, according to this sync message, judge, the VSI information of sync message and vlan information all match with the corresponding information of this service processing board, and in this service processing board, the synchronization bit position of the FDB2 table identical with VSI information with the vlan information of sync message is " 1 ", further judge service processing board in this sync message numbers 10, do not belong to this service processing board, search that in this service processing board, whether to have MAC Address be the corresponding MAC Address list item information of C, search less than, according to the study of this sync message or upgrade this MAC Address list item information, according to the MAC Address C in this sync message and corresponding service processing board numbers 10 and port numbers PORT101, learn, set up corresponding MAC Address list item information.

Service processing board 11, according to this sync message, judge, the VSI information of sync message and vlan information all do not mate with the corresponding information of this service processing board, and the synchronization bit position of showing with the vlan information FDB2 identical with VSI information of sync message in this service processing board is " 0 ", so this sync message is abandoned.

One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a computer read/write memory medium, this program, when carrying out, comprises the following steps:

In the service message transmitting procedure of same business, receive that the service processing board of described service message is according to the media access control MAC address of described service message, learn or upgrade MAC Address list item information corresponding to described MAC Address, described MAC Address list item information is the corresponding relation of described MAC Address and described service processing board port;

In same User Network Interface side or the consolidated network network interface side of described distributed network processing system, if the transmit port that receives the transmit port of service message and send service message, not on same service processing board, is synchronized to described MAC Address list item information other service processing board of described distributed network processing system.

Described storage medium, as: ROM/RAM, magnetic disc, CD etc.

With reference to Fig. 9, it is the structured flowchart of the MAC Address list item information synchronizer of a kind of distributed network processing system of the embodiment of the present invention.

This device comprises update module 700, the first judge module 701 and synchronization module 702, wherein, update module 700 is for the service message transmitting procedure in same business, according to the MAC Address of described service message, learn or upgrade MAC Address list item information corresponding to described MAC Address, described MAC Address list item information is the corresponding relation of described MAC Address and described service processing board port; The first judge module 701, for judging same User Network Interface side or the consolidated network network interface side at described distributed network processing system, the transmit port that receives service message with the transmit port that sends service message whether on same service processing board; Synchronization module 702, for being transmit pories of receiving service message in the judged result of described the first judge module 701 and send the transmit port of service message not on same service processing board time, described MAC Address list item information is synchronized to other service processing board of described distributed network processing system.

With reference to Figure 10, another embodiment of the present invention can also comprise the second judge module 703, for before described study or upgrading MAC Address list item information corresponding to described MAC Address, judge whether described service message comes from Business Processing passage between the plate of described distributed network processing system, if described service message is sent to described update module 700.

Synchronization module 702 comprises structural unit 712 and radio unit 722.

Wherein, structural unit 712, for constructing sync message, described sync message comprises described MAC Address list item information and service configuration information; Radio unit 722, for broadcasting described sync message other service processing board to described distributed network processing system by communication channels among boards.This radio unit 722 can be connected with the Lanswitch module of this distributed network processing system master control borad, for sync message is sent to Lanswitch module, then by Lanswitch module, described sync message is copied, and the sync message copying is forwarded to other service processing board.

Synchronization module 702 can also comprise grade setting unit 732 and transmitting element 742.

Wherein, grade setting unit 732 is for setting the priority of the sync message that comprises the MAC Address list item information of learning higher than the priority of the sync message of the MAC Address list item information that comprises renewal; Transmitting element 742, for when having multiple sync messages to broadcast, is sent to described radio unit 722 according to the priority of described sync message by sync message high priority.

When receiving after certain service message, first by the second judge module 703, whether this service message being come to Business Processing passage between the plate of described distributed network processing system judges, if, this service message is sent to update module 700, MAC Address by update module 700 according to this service message, learns or upgrades MAC Address list item information corresponding to described MAC Address.Then the first judge module 701 judges same UNI side or the same NNI side at distributed network processing system, the transmit port that receives service message with the transmit port that sends service message whether on same service processing board; If do not exist, by synchronization module 702, the MAC Address list item information in update module 700 is synchronized to other service processing board of described distributed network processing system.At synchronization module 702, carry out in the synchronizing process of this MAC Address list item information, first by the described MAC Address list item information structuring sync message of structural unit 712 foundation, and by grade setting unit 732, the rank of this sync message is set, by transmitting element 742, sync message is sent to radio unit 722 again, by radio unit 722, by communication channels among boards, this sync message is sent in other service processing board of this distributed network processing system.

The implementation method of each module in the present embodiment, please refer to preceding method embodiment, repeats no more herein.

With reference to Figure 11, it is the structured flowchart of the MAC Address list item information synchronizer of the another kind of distributed network processing system of the embodiment of the present invention.

This device comprises receiver module 801 and sync response module 802.

Wherein, the sync message that receiver module 801 is broadcasted for receiving other service processing board of distributed network processing system;

Sync response module 802, for receiving after described sync message at described receiver module 801, according to described sync message, learns or upgrades MAC Address list item information corresponding to described MAC Address.

The embodiment of the present invention can also comprise the 3rd judge module 803, for before described sync response module 802 is learnt or is upgraded mac address table information, judge that service configuration information in described sync message and the service configuration information of described service processing board match, reinform described sync response module 802 and learn or upgrade described MAC Address list item information.

After receiver module 801 receives the sync message of other service processing board broadcast of this distributed network processing system, by the 3rd judge module 803, judge that service configuration information in described sync message and the service configuration information of this service processing board match, and then by sync response module 802 according to this sync message, this MAC Address list item information is learnt or is upgraded existing this MAC Address list item information in this service processing board.

The implementation method of each module in the present embodiment, please refer to preceding method embodiment, repeats no more herein.

With reference to Figure 12, it is the structured flowchart of a kind of distributed network processing system of the embodiment of the present invention.

This distributed network processing system comprises multiple service processing boards 901, and each service processing board can directly be connected, and also can be connected by power board, and power board is used for carrying out the forwarding of service message between each service processing board.

Service processing board 901, for the service message transmitting procedure in same business, according to the media access control MAC address of described service message, learns or upgrades MAC Address list item information corresponding to described MAC Address; In same User Network Interface side or the consolidated network network interface side of described distributed network processing system, when the transmit port that receives service message with send the transmit port of service message not on same service processing board time, described MAC Address list item information is synchronized to other service processing board of described distributed network processing system.

Service processing board 901, also for receiving that described other service processing board needs after synchronous MAC Address list item information, learns or upgrades MAC Address list item information corresponding to described MAC Address.

As shown in figure 13, in another embodiment of the present invention, this distributed network processing system also comprises the master control borad 902 being connected with each service processing board 901 by management bus, in master control borad 902, be provided with service management module and Lanswitch module, wherein service management module is for receiving the order of the planning such as user or equipment, be converted into service configuration information, and service configuration information is issued in each related service disposable plates by management bus.Lanswitch module, for described service processing board being needed to synchronous MAC Address list item information, is broadcast to other service processing board of this distributed network processing system by communication channels among boards.

Require in the prior art service message to concentrate from interface board to each service processing board distribution, realize the centralized management of each service processing board MAC address entries information in distributed network processing system, for the structure of this distributed network processing system, there is larger limitation, itself cannot be generalized to all distributed bridges.And this distributed network processing system can be embodied in distributed bridge in the embodiment of the present invention, also can also comprise multiple interface boards and multiple subcards etc.

In the present embodiment, each module please refer to said method embodiment, repeats no more herein.

Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any modification of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in claim protection range of the present invention.

Claims (11)

1. a MAC Address list item information synchronization method for distributed network processing system, is characterized in that, comprising:
In the service message transmitting procedure of same business, receive that the service processing board of described service message is according to the media access control MAC address, source of described service message, learn or upgrade the MAC Address list item information that described source MAC is corresponding, described MAC Address list item information is the corresponding relation of described source MAC and service processing board port;
In same User Network Interface side or the consolidated network network interface side of described distributed network processing system, if the transmit port that receives the transmit port of service message and send service message, not on same service processing board, is synchronized to described MAC Address list item information other service processing board of described distributed network processing system.
2. method according to claim 1, is characterized in that, described method also comprises:
Before described study or upgrading the MAC Address list item information that described source MAC is corresponding, judge whether described service message comes from Business Processing passage between the plate of described distributed network processing system, if so, according to the study of described service message or upgrade the MAC Address list item information that described source MAC is corresponding.
3. method according to claim 1 and 2, is characterized in that, described other service processing board that described MAC Address list item information is synchronized to described distributed network processing system comprises:
Structure sync message, described sync message comprises described MAC Address list item information and related service configuration information;
By communication channels among boards, broadcast described sync message other service processing board to described distributed network processing system.
4. method according to claim 3, is characterized in that, described method also comprises:
The priority of the sync message that setting comprises the MAC Address list item information of learning is higher than the priority of the sync message of the MAC Address list item information that comprises renewal;
When having multiple sync messages to broadcast, according to the priority of described sync message, preferentially broadcast the sync message that priority is high.
5. method according to claim 3, is characterized in that, described method further comprises:
Other service processing board of described distributed network processing system is being received after described sync message, if the related service configuration information in described sync message and the service configuration information of described service processing board match, according to described sync message, learn or upgrade the MAC Address list item information that described source MAC is corresponding.
6. a MAC Address list item information synchronizer for distributed network processing system, is characterized in that, comprising:
Update module, for the service message transmitting procedure in same business, according to the source MAC of described service message, to learn or upgrade the MAC Address list item information that described source MAC is corresponding, described MAC Address list item information is the corresponding relation of described source MAC and service processing board port;
The first judge module, for judging same User Network Interface side or the consolidated network network interface side at described distributed network processing system, the transmit port that receives service message with the transmit port that sends service message whether on same service processing board;
Synchronization module, for in the judged result of described the first judge module, be described reception service message transmit port with send the transmit port of service message not on same service processing board time, described MAC Address list item information is synchronized to other service processing board of described distributed network processing system.
7. device according to claim 6, is characterized in that, described device also comprises:
The second judge module, for before described study or upgrading the MAC Address list item information that described source MAC is corresponding, judge whether described service message comes from Business Processing passage between the plate of described distributed network processing system, if described service message is sent to described update module.
8. according to the device described in claim 6 or 7, it is characterized in that, described synchronization module comprises:
Structural unit, for constructing sync message, described sync message comprises described MAC Address list item information and related service configuration information;
Radio unit, for broadcasting described sync message other service processing board to described distributed network processing system by communication channels among boards.
9. device according to claim 8, is characterized in that, described synchronization module also comprises:
Grade setting unit, for setting the priority of the sync message that comprises the MAC Address list item information of learning higher than the priority of the sync message of the MAC Address list item information that comprises renewal;
Transmitting element, for when having multiple sync messages to broadcast, is sent to described radio unit according to the priority of described sync message by sync message high priority.
10. a distributed network processing system, is characterized in that, comprises multiple service processing boards,
Described service processing board, for the service message transmitting procedure in same business, according to the source MAC of described service message, learn or upgrade the MAC Address list item information that described source MAC is corresponding, described MAC Address list item information is the corresponding relation of described source MAC and service processing board port; In same User Network Interface side or the consolidated network network interface side of described distributed network processing system, if the transmit port that receives the transmit port of service message and send service message, not on same service processing board, is synchronized to described MAC Address list item information other service processing board of described distributed network processing system.
11. systems according to claim 10, is characterized in that, described system also comprises the master control borad being connected with described service processing board, and described master control borad comprises forwarding module;
Described forwarding module, is broadcast to other service processing board of described distributed network processing system for described service processing board being needed synchronous MAC Address list item information exchange cross communication channels among boards.
CN200910118638.4A 2009-02-27 2009-02-27 Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system CN101820435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910118638.4A CN101820435B (en) 2009-02-27 2009-02-27 Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910118638.4A CN101820435B (en) 2009-02-27 2009-02-27 Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system

Publications (2)

Publication Number Publication Date
CN101820435A CN101820435A (en) 2010-09-01
CN101820435B true CN101820435B (en) 2014-05-07

Family

ID=42655383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910118638.4A CN101820435B (en) 2009-02-27 2009-02-27 Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system

Country Status (1)

Country Link
CN (1) CN101820435B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2637364B1 (en) 2011-04-19 2016-02-10 Huawei Technologies Co., Ltd. Method, apparatus and system for address resolution
CN102724119B (en) * 2012-06-08 2015-05-20 南京贝伦思网络科技有限公司 Rule synchronizing method for network load balancing device or network load distribution device
CN102857415B (en) * 2012-09-13 2015-04-22 华为技术有限公司 Routing bridge and device and method for controlling media access control address study
CN102882605B (en) * 2012-10-09 2015-11-04 鼎点视讯科技有限公司 The business collocation method of communication between plate and system
US9942163B2 (en) 2012-12-18 2018-04-10 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for managing media access control addresses
CN106411741B (en) * 2013-02-27 2019-11-26 华为技术有限公司 Medium access control MAC address learning method, controller and switching equipment
CN103338161B (en) * 2013-07-10 2016-06-15 杭州华三通信技术有限公司 A kind of method and apparatus realizing cross-equipment aggregation
CN103354567B (en) * 2013-07-10 2016-03-16 杭州华三通信技术有限公司 A kind of method and apparatus of synchronized multimedia accessing to control address
CN103414634B (en) * 2013-08-08 2016-08-31 杭州华三通信技术有限公司 A kind of method and apparatus that flooding of service traffics
CN103929461B (en) * 2013-08-12 2018-03-20 新华三技术有限公司 Mac address information synchronous method and device in pile system
CN103414801B (en) * 2013-08-12 2016-08-17 杭州华三通信技术有限公司 The method and apparatus of Media Access Controlled address synchronization in a kind of pile system
CN103414773B (en) * 2013-08-12 2017-02-15 杭州华三通信技术有限公司 Stacking system MAC address information synchronizing method and device
CN105119831B (en) * 2015-09-15 2018-08-07 烽火通信科技股份有限公司 Mac address learning method and system
CN105591988B (en) * 2015-09-24 2019-03-15 新华三技术有限公司 A kind of synchronous method and device of MAC Address
CN107332940A (en) * 2017-06-06 2017-11-07 烽火通信科技股份有限公司 A kind of method and system for realizing that distributed IP RAN device mac address is synchronous
CN107332774B (en) * 2017-06-09 2019-12-03 烽火通信科技股份有限公司 A kind of method that MAC address learning is carried out based on software-hardware synergism in VPLS

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094187A (en) * 2007-07-30 2007-12-26 杭州华三通信技术有限公司 Method, device, and operation board capable of learning address of medium access control
CN101179514A (en) * 2007-12-18 2008-05-14 杭州华三通信技术有限公司 Method and device of maintaining MAC item of distributed network processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094187A (en) * 2007-07-30 2007-12-26 杭州华三通信技术有限公司 Method, device, and operation board capable of learning address of medium access control
CN101179514A (en) * 2007-12-18 2008-05-14 杭州华三通信技术有限公司 Method and device of maintaining MAC item of distributed network processing system

Also Published As

Publication number Publication date
CN101820435A (en) 2010-09-01

Similar Documents

Publication Publication Date Title
TWI393401B (en) System, apparatus, method and memory having computer program embodied thereon for managing multicast routing
CN103125102B (en) For providing the system and method for the Ethernet virtual concentrator scalability based on infinite bandwidth in middleware machine environment
JP2008079175A (en) Frame transfer system
US20080068985A1 (en) Network redundancy method and middle switch apparatus
US7660313B2 (en) Sub-rate transmission method for user data services in transmission devices of a metropolitan area network
CN101978763B (en) There is the RACH lead code response that flexible up link is distributed
US7016979B2 (en) System and method of accessing and transmitting different data frames in a digital transmission network
EP2144400B1 (en) Distributed ethernet system and method for detecting fault based thereon
WO2013123846A1 (en) Distributed network control method and device
KR20140036343A (en) Enhanced stream reservation protocol for audio video networks
CN1681256A (en) Method of synchronizing management information between a plurality of managing devices in a home network
KR20090006757A (en) Time synchronization and routing method in wireless sensor network, and apparatus for enabling the method
CN103503540A (en) System and method for peer to peer communications in cellular communications systems
CA2329367C (en) Distributed switch and connection control arrangement and method for digital communications network
EP2811702A1 (en) Network system and topology management method
US6021331A (en) Control system for a telecommunications system
CN102237718B (en) Method and device of operating wind power electric field power network with improved data transmission protocol
CN102143068B (en) Method, device and system for learning MAC (Media Access Control) address
JP4882555B2 (en) Wireless bridge communication device
ES2565827T3 (en) Layer 3 routing, device and virtual private network system control method
US9014056B2 (en) Bridging network devices in a hybrid communication network
EP3060018B1 (en) Registration method and system for common service entity
US7778266B2 (en) Switch and network fault recovery method
CN102231689B (en) Method for determining connection topology of home network
US20080101362A1 (en) Method and device for making uplink standby

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140507

Termination date: 20170227

CF01 Termination of patent right due to non-payment of annual fee