CN104869081B - MESSAGE EXCHANGE processing method, business board and internet exchange system - Google Patents

MESSAGE EXCHANGE processing method, business board and internet exchange system Download PDF

Info

Publication number
CN104869081B
CN104869081B CN201510287333.1A CN201510287333A CN104869081B CN 104869081 B CN104869081 B CN 104869081B CN 201510287333 A CN201510287333 A CN 201510287333A CN 104869081 B CN104869081 B CN 104869081B
Authority
CN
China
Prior art keywords
message
processing unit
forwarding
mark
board
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510287333.1A
Other languages
Chinese (zh)
Other versions
CN104869081A (en
Inventor
晁晓峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510287333.1A priority Critical patent/CN104869081B/en
Publication of CN104869081A publication Critical patent/CN104869081A/en
Application granted granted Critical
Publication of CN104869081B publication Critical patent/CN104869081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

A kind of MESSAGE EXCHANGE processing method of present invention offer, business board and internet exchange system.MESSAGE EXCHANGE processing method provided by the invention includes receiving the cell of power board forwarding and cell being converted to message, wherein, each cell carries the forwarding mark of the message corresponding to the cell, so that each cell is forwarded to the distribution switch processing unit of the second business board according to the forwarding mark by the power board;Forwarding mark entrained by message determines the corresponding destination interface of message, and message is sent on destination interface, wherein destination interface is one in first port and second port in the second business board.Forwarding mark according to plane mark, target MAC (Media Access Control) address and VLAN in the Service Processing Unit of the first business board by identifying acquisition of tabling look-up.The present invention may be implemented to determine the plane mark of message according to the sending port of message, and according to the plane mark by message be sent to in destination interface of the sending port on same transport plane.

Description

MESSAGE EXCHANGE processing method, business board and internet exchange system
Technical field
The present embodiments relate to a kind of communication technology more particularly to MESSAGE EXCHANGE processing method, business board and networks to hand over Change system.
Background technology
When carrying out network communication, in order to carry out data transmission between each network node, needed between network node Using switching technology, such as ether switching network and cell exchange technology etc., to provide the switching path between node and realize net The information exchange functions of network, to complete data transmission.
Existing network frame device may be used distributed switched network and carry out network communication.Distributed switched network Using cell switching mode, by cutting packet to Ethernet message, the Ethernet message of different length is cut into a certain range of cell, is believed Member can on a plurality of circuit parallel transmission, to reduce propagation delay time, and can be by multiple switching net simultaneous transmissions, to carry High-transmission bandwidth.By taking distributed switched network model shown in FIG. 1 as an example, in machine frame business board A by network interface 0 send message to When business board C, message is divided into cell in the distribution switch processing unit of business board A, and connect via with each switching net The serializer/de-serializers (SERializer/DESerializer, abbreviation Serdes) connect are sent to power board 1 and power board 2 On switching net, then by switching net by the distribution switch processing unit of cell transmission to business board C, then pass through business Cell is reassembled as message by the distribution switch processing unit of plate C, is received finally by the network interface 0 or network interface 1 of business board C.
However, distributed switched network in transmitting message, does not support the service groups of traditional biplane exchange system Pessimistic concurrency control, thus can not also limit the destination interface for receiving message and sending port in the same plane, such network equipment exists It can not reliably be communicated on biplane.
Invention content
A kind of MESSAGE EXCHANGE processing method of offer of the embodiment of the present invention, business board and internet exchange system, can be according to report The sending port of text determines the plane mark of message, and message is sent to corresponding destination interface according to the plane mark.
In a first aspect, the present invention provides a kind of MESSAGE EXCHANGE processing method, in distributed switched network, distribution to be handed over Switching network includes at least the first business board, the second business board and at least one power board;First business board and the second business board All include distribution switch processing unit, first port, second port and Service Processing Unit, Service Processing Unit has first Port and second processing port are handled, first port connection distribution switch processing unit and the first processing port, second port connect Connect distribution switch processing unit and second processing port;Method is executed by the distribution switch processing unit in the second business board, packet It includes:
Cell is simultaneously converted to message by the cell for receiving power board forwarding, wherein cell is by the as source business board After the distribution switch processing unit of one business board will need the source messages sent to be split, it is sent to power board, Mei Gexin Member carries the forwarding mark of the message corresponding to cell, so that each cell is sent to second by power board according to forwarding mark The distribution switch processing unit of business board, forwarding mark are that the plane mark of the message sent according to the first business board is determined, Plane mark is configured by the distribution switch processing unit of the first business board, for identifying in corresponding Service Processing Unit not With processing port;
Forwarding mark entrained by message determines the corresponding destination interface of message, and message is sent to destination interface On, wherein destination interface is one in first port and second port in the second business board.
With reference to first aspect, in the first embodiment, distributed switched network further includes third business board and cascade Power board, power board and cascade power board further include being distributed switch processing unit and for carrying out cascade cascade port, exchanging Plate is with cascade power board by respective cascade port cascade Connection, and distribution process crosspoint is for connecting cascade port and friendship Change the switching net of plate, and cascade port and the switching net for cascading power board;Receiving the cell that power board is sent further includes:
It receives forwarding of the switching net of power board entrained by cell and identifies forwarded cell, wherein cell is After the source messages of transmission are divided into cell as the third business board of source business board, by the distribution service of third business board Reason unit is sent to the switching net of cascade power board, cascades the cell institute that the switching net of power board is divided into according to source messages The forwarding mark of carrying is forwarded to the distribution switch processing unit of cascade power board, cascades the distribution switch processing unit of power board After the cell that source messages are divided into is reassembled into message again, the distribution switch processing unit of power board is forwarded to by cascading port In, the message of recombination is split to form and is sent the switching net that best friend changes plate by the distribution switch processing unit of power board again.
With reference to first aspect with the first embodiment, in the second embodiment, the message that source business board is sent is The mark that forwards of broadcast, the unicast or multicast messages of DLF, message is that the plane mark of the message sent according to source business board is determined , it specifically includes:The forwarding mark of message is that the distribution switch processing unit of source business board is directly sent according to source business board Determined by plane mark and the VLAN mark of message, or
The forwarding mark of message is that the distribution switch processing unit of source business board is searched in business L2 address forwarding table Corresponding table item is identified with the plane mark, target MAC (Media Access Control) address and virtual LAN VLAN of message, and true according to the corresponding table item Fixed, wherein the forwarding mark of message is the multitransmission mark of message, and multitransmission mark, which is used to indicate, to be useful for forwarding The identification number of the distribution switch processing unit of message, and with the distribution switch processing unit forwarding end that connect and E-Packet Mouthful, business L2 address forwarding table for the plane mark of recorded message, target MAC (Media Access Control) address and VLAN marks and forwarding address it Between correspondence;
Cell is to be sent to power board by the distribution switch processing unit of source business board, is specifically included:Cell is addition After multitransmission mark, it is sent to power board by the distribution switch processing unit of source business board, so that power board is according to cell Entrained multitransmission mark determines the identification number of the purpose distribution switch processing unit of cell, and according to identification number by cell It is forwarded in the distribution switch processing unit of the purpose business board including the second business board, or
Cell is that the corresponding cell of source messages is added the multicast turn of source messages by the distribution switch processing unit of source business board After issue of bidding documents is known, it is sent to the switching net of cascade power board, cascades the source messages that the switching net of power board is carried according to cell Multitransmission mark determine cascade power board distribution switch processing unit identification number, and be sent to cascade power board point On cloth switch processing unit, the corresponding cell of source messages is reassembled into message by the distribution switch processing unit for cascading power board again Afterwards, the distribution switch processing unit of power board is forwarded to by cascading port, the distribution switch processing unit of power board is again true Surely after the multitransmission mark of the message recombinated, the message of recombination is split to form, and the multitransmission of the message according to recombination The distribution that mark is sent to the purpose business board including the second business board via the switching net of power board exchanges processing list In member;
Forwarding mark entrained by message determines that the corresponding destination interface of message specifically includes:Entrained by message Multitransmission mark determine and be used in combination with being connected in the distribution switch processing unit of interior purpose business board including the second business board In the forwarding port to E-Packet, and port will be forwarded as the corresponding destination interface of message.
With reference to first aspect with the first embodiment, in the third embodiment, the message that source business board is sent is The forwarding mark of unicast message, message is specifically included determined by the plane mark of the message sent according to source business board:Report The forwarding mark of text is that source business board is searched and plane mark, the target MAC (Media Access Control) address of message in business L2 address forwarding table Corresponding table item is identified with virtual LAN VLAN, and determined in corresponding table item, the forwarding mark of wherein message is message Forwarding address, forwarding address include the identification number of the distribution switch processing unit for E-Packeting, and exchange place with distribution The forwarding port that reason unit is connected and E-Packeted;Wherein, business L2 address forwarding table for recorded message plane mark, Correspondence between target MAC (Media Access Control) address and VLAN marks and forwarding address;
Cell is to be sent to power board by the distribution switch processing unit of source business board, is specifically included:
Cell is determined according to the forwarding address of cell for E-Packeting by the distribution switch processing unit of source business board Distribution switch processing unit identification number and be sent to power board so that power board is exchanged according to for the distribution that E-Packets Cell is forwarded to distribution switch processing unit that identification number identified by the identification number of processing unit, or
Cell is that the distribution switch processing unit of source business board determines use according to the forwarding address of the corresponding cell of source messages In the identification number of the distribution switch processing unit of forwarding source messages, and by the corresponding cell of source messages via the friendship of cascade power board Draping piece is sent to the distribution switch processing unit of the cascade power board for E-Packeting, and the distribution for cascading power board exchanges Source messages are corresponded to cell and reassemble into after message by processing unit to be forwarded to the distribution of power board by cascading port to exchange processing single Member, power board are used to that the distribution switch processing unit of the message of recombination to be forwarded to be split to form the message of recombination, and again really Surely after the forwarding address of the message recombinated, according to the forwarding address of the message of the recombination redefined via the switching network of power board Piece is forwarded to the distribution switch processing unit of the second business board;
Forwarding mark entrained by message determines that the corresponding destination interface of message specifically includes:According to the forwarding of message Address determines the forwarding port for connecting with the distribution switch processing unit of the second business board and being used to E-Packet, and will forward end Mouth is used as the corresponding destination interface of message.
With reference to first aspect with the third embodiment, in the 4th kind of embodiment, the message of the recombination redefined Forwarding address specifically include the second business board for forwarding cell distribution switch processing unit and with the second business board The distribution switch processing unit forwarding port that connects and be used to E-Packet, wherein second industry for forwarding cell Be engaged in plate distribution switch processing unit and connect with the distribution switch processing unit of the second business board and be used to E-Packet Forwarding port be power board the distribution switch processing unit for E-Packeting searched in exchanging L2 address forwarding table and Plane mark, target MAC (Media Access Control) address and the virtual LAN VLAN of message identify corresponding table item, and determined in corresponding table item, L2 address forwarding table is exchanged between plane mark, target MAC (Media Access Control) address and the VLAN mark and forwarding address of recorded message Correspondence, exchanging the correspondence in L2 address forwarding table is power board or cascades the distribution of power board to exchange processing single After receiving message, the plane mark, source MAC and VLAN to redefining message are identified with the source of message member The correspondence of location carries out study formation;The source address of message includes sending cell to the second business board via switching net It is distributed the identification number of the upper distribution switch processing unit of switch processing unit, and switch processing unit is distributed with upper one Connection, the source port for sending message.
With reference to first aspect with the first embodiment, in the 5th kind of embodiment, method further includes:
The plane mark of message is redefined according to the destination interface for receiving message;If the plane of the message redefined It, will without correspondence between mark, source MAC address and virtual LAN VLAN mark and the source address of message Redefine the source of plane mark, source MAC address and the virtual LAN VLAN mark and the message of message The correspondence of address enters in business L2 address forwarding table, wherein the source address of message includes being sent via switching net Cell to the upper distribution switch processing unit of the distribution switch processing unit of the second business board identification number, and with upper one A distribution switch processing unit connection, the source port for sending message, business L2 address forwarding table is used for recorded message Plane mark, target MAC (Media Access Control) address and VLAN mark forwarding address between correspondence.
Second aspect, the present invention provide a kind of business board, in distributed switched network, distributed switched network to be at least Including the first business board, the second business board and at least one power board;First business board and the second business board include that distribution is handed over Change processing unit, first port, second port and Service Processing Unit, Service Processing Unit has the first processing port and the Two processing ports, the first processing port connection distribution switch processing unit and the first processing port, second port connection distribution are handed over Change processing unit and second processing port;It is characterized in that, business board includes:
Cell switching module, for receive power board forwarding cell and cell is converted into message, wherein cell be by After the distribution switch processing unit of the first business board as source business board will need transmitted message to be split, it is sent to Power board, each cell carries the forwarding mark of the message corresponding to cell, so that power board will be every according to forwarding mark A cell is sent to the distribution switch processing unit of the second business board, and forwarding mark is the message sent according to the first business board Plane mark is determined that plane mark is configured by the distribution switch processing unit of the first business board, for identifying corresponding industry The different disposal port being engaged in processing unit;
Message processing module (MPM) determines the corresponding destination interface of message for the forwarding mark entrained by message, and will Message is sent on destination interface, and wherein destination interface is one in the first port and second port in the second business board.
In conjunction with second aspect, in the first embodiment, distributed switched network further includes third business board and cascade Power board, power board and cascade power board further include being distributed switch processing unit and for carrying out cascade cascade port, exchanging Plate is with cascade power board by respective cascade port cascade Connection, and distribution process crosspoint is for connecting cascade port and friendship Change the switching net of plate, and cascade port and the switching net for cascading power board;Cell switching unit module is additionally operable to:
It receives forwarding of the switching net of power board entrained by cell and identifies forwarded cell, wherein cell is After the source messages of transmission are divided into cell as the third business board of source business board, by the distribution service of third business board Reason unit is sent to the switching net of cascade power board, cascades the cell institute that the switching net of power board is divided into according to source messages The forwarding mark of carrying is forwarded to the distribution switch processing unit of cascade power board, cascades the distribution switch processing unit of power board After the cell that source messages are divided into is reassembled into message again, the distribution switch processing unit of power board is forwarded to by cascading port In, the message of recombination is split to form and is sent the switching net that best friend changes plate by the distribution switch processing unit of power board again.
In conjunction with second aspect and the first embodiment, in the second embodiment, the message that source business board is sent is The mark that forwards of broadcast, the unicast or multicast messages of DLF, message is that the plane mark of the message sent according to source business board is determined , it specifically includes:
The forwarding mark of message is the message that the distribution switch processing unit of source business board is directly sent according to source business board Plane mark and VLAN mark determined by, or
The forwarding mark of message is that the distribution switch processing unit of source business board is searched in business L2 address forwarding table Corresponding table item is identified with the plane mark, target MAC (Media Access Control) address and virtual LAN VLAN of message, and is determined according to corresponding table item , wherein the forwarding mark of message is the multitransmission mark of message, and multitransmission mark, which is used to indicate, is useful for forwarding report The identification number of the distribution switch processing unit of text, and with the distribution switch processing unit forwarding port that connect and E-Packet, Business L2 address forwarding table is between plane mark, target MAC (Media Access Control) address and the VLAN mark and forwarding address of recorded message Correspondence;
Cell is to be sent to power board by the distribution switch processing unit of source business board, is specifically included:
Cell is to be sent to power board by the distribution switch processing unit of source business board after addition multitransmission identifies, with Multitransmission mark of the power board entrained by the cell is set to determine the mark of the purpose distribution switch processing unit of the cell Number, and to exchange processing single for the distribution that the cell is sent to according to identification number the purpose business board including the second business board In member, or
Cell is that the corresponding cell of source messages is added the multicast turn of source messages by the distribution switch processing unit of source business board After issue of bidding documents is known, it is sent to the switching net of cascade power board, cascades the source messages that the switching net of power board is carried according to cell Multitransmission mark determine cascade power board distribution switch processing unit identification number, and be sent to cascade power board point On cloth switch processing unit, the corresponding cell of source messages is reassembled into message by the distribution switch processing unit for cascading power board again Afterwards, the distribution switch processing unit of power board is forwarded to by cascading port, the distribution switch processing unit of power board is again true Surely after the multitransmission mark of the message recombinated, the message of recombination is split to form, and the multitransmission of the message according to recombination Mark sends the distribution switch processing unit of the purpose business board including the second business board via the switching net of power board In;
Message processing module (MPM) is specifically used for:Multitransmission mark entrained by message determines and includes the second business board Make in the forwarding port that the distribution switch processing unit of interior purpose business board connects and is used to E-Packet, and by forwarding port For the corresponding destination interface of message.
In conjunction with second aspect and the first embodiment, in the third embodiment, the message that source business board is sent is The forwarding mark of unicast message, message is specifically included determined by the plane mark of the message sent according to source business board:
The forwarding mark of message is that source business board is searched and plane mark, the mesh of message in business L2 address forwarding table MAC Address and virtual LAN VLAN identify corresponding table item, and in corresponding table item determine, wherein message forwarding mark It is the forwarding address of message, forwarding address includes the identification number of the distribution switch processing unit for forwarding the message, Yi Jiyu The forwarding port that the distribution switch processing unit is connected and E-Packeted;Wherein, business L2 address forwarding table is reported for recording Plane mark, target MAC (Media Access Control) address and the VLAN of text identify the correspondence between the forwarding address;
Cell is to be sent to power board by the distribution switch processing unit of source business board, is specifically included:
Cell is determined according to the forwarding address of cell for forwarding the report by the distribution switch processing unit of source business board The identification number of the distribution switch processing unit of text is simultaneously sent to power board, so that power board is handed over according to the distribution for E-Packeting It changes the identification number of processing unit and cell is forwarded to distribution switch processing unit that identification number is identified, or
Cell is that the distribution switch processing unit of source business board determines use according to the forwarding address of the corresponding cell of source messages In the identification number of the distribution switch processing unit of forwarding source messages, and by the corresponding cell of source messages via the friendship of cascade power board Draping piece is sent to the distribution switch processing unit of the cascade power board for E-Packeting, and the distribution for cascading power board exchanges Source messages are corresponded to cell and reassemble into after message by processing unit to be forwarded to the distribution of power board by cascading port to exchange processing single Member, power board are used to that the distribution switch processing unit of the message of recombination to be forwarded to be split to form the message of recombination, and again really Surely after the forwarding address of the message recombinated, according to the forwarding address of the message of the recombination redefined via the switching network of power board Piece is forwarded to the distribution switch processing unit of the second business board;
Message processing module (MPM) is specifically used for:It is determined according to the forwarding address of message and exchanges processing with the distribution of the second business board The forwarding port that unit connects and is used to E-Packet, and port will be forwarded as the corresponding destination interface of message.
In conjunction with second aspect and the third embodiment, in the 4th kind of embodiment, the message of the recombination redefined Forwarding address specifically include the second business board for forwarding cell distribution switch processing unit and with the second business board The distribution switch processing unit forwarding port that connects and be used to E-Packet, wherein the second business board for forwarding cell Distribution switch processing unit and the forwarding that connect with the distribution switch processing unit of the second business board and be used to E-Packet Port is that the distribution switch processing unit for E-Packeting of power board is searched and message in exchanging L2 address forwarding table Plane mark, target MAC (Media Access Control) address and virtual LAN VLAN identify corresponding table item, and determined in corresponding table item, exchange L2 address forwarding table is used to record plane mark, target MAC (Media Access Control) address and the VLAN mark of the message and the forwarding address Between correspondence, exchange L2 address forwarding table in correspondence be power board or cascade power board distribution exchange at Unit is managed after receiving message, the plane mark, source MAC and VLAN to redefining message are identified with the source of message The correspondence of location is learnt and is formed;The source address of message includes sending cell to the second business board via switching net Distribution switch processing unit upper distribution switch processing unit identification number, and with upper one distribution to exchange processing single Member connection, the source port for sending message.
In conjunction with second aspect and the first embodiment, in the 5th kind of embodiment, message processing module (MPM) is additionally operable to:Root The plane mark of message is redefined according to the destination interface for receiving message;If the plane mark of the message redefined, source matchmaker It, will again really without correspondence between body access control MAC addresses and virtual LAN VLAN mark and the source address of the message Determine plane mark, source MAC address and the virtual LAN VLAN mark and the source address of the message of message Correspondence enters in business L2 address forwarding table, wherein the source address of message includes sending cell extremely via switching net The identification number of the upper distribution switch processing unit of the distribution switch processing unit of second business board, and be distributed with upper one Switch processing unit connection, the source port for sending the message, business L2 address forwarding table is for the flat of recorded message Correspondence between face mark, target MAC (Media Access Control) address and VLAN marks and the forwarding address.
The third aspect, the present invention also provides a kind of internet exchange systems, including power board and at least two is as described above Business board.
MESSAGE EXCHANGE processing method, business board and internet exchange system provided by the invention, wherein business board as a purpose The second business board receive power board forwarding cell and cell is converted into message, wherein cell is by as source business board The first business board distribution switch processing unit by the way that the message for needing to send is split after, be sent to power board, Each cell carries the forwarding mark of the message corresponding to cell, so that power board sends each cell according to forwarding mark To the distribution switch processing unit of the second business board, forwarding mark is the plane mark institute of the message sent according to the first business board It determines, plane mark is configured by the distribution switch processing unit of the first business board, for identifying corresponding Service Processing Unit In different disposal port;The distribution switch processing unit of second business board determines report further according to the forwarding mark entrained by message The corresponding destination interface of text, and message is sent on destination interface.The sending port and purpose for limiting message has been achieved Port solves the problems, such as the support biplane exchange system on distributed switching network on the same transport plane, so as to To meet the reliable communicating demand of the needs of network equipment is to biplane network model and the network equipment on biplane.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments for those of ordinary skill in the art without having to pay creative labor, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow diagram for the MESSAGE EXCHANGE processing method that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of MESSAGE EXCHANGE processing method provided by Embodiment 2 of the present invention;
Fig. 3 is the method flow diagram that the purpose business board that the embodiment of the present invention three provides learn table handling;
Fig. 4 is the flow diagram for the network exchange method that the embodiment of the present invention three provides;
Fig. 5 is the network architecture schematic diagram in the embodiment of the present invention three;
Fig. 6 is the table entry structure schematic diagram of business L2 address forwarding table;
Fig. 7 is the table entry structure schematic diagram that L2 address forwarding table is exchanged after simplifying;
Fig. 8 is the network architecture schematic diagram in the embodiment of the present invention five;
Fig. 9 is the structural schematic diagram for the business board that the embodiment of the present invention six provides;
Figure 10 is the structural schematic diagram for the business board that the embodiment of the present invention seven provides.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram for the MESSAGE EXCHANGE processing method that the embodiment of the present invention one provides.MESSAGE EXCHANGE processing Method is applied in distributed switching network, and distributed switched network includes at least the first business board, the second business board and at least one A power board;First business board and the second business board all include distribution switch processing unit, first port, second port and There is the first processing port and second processing port, first port connection distribution to exchange for Service Processing Unit, Service Processing Unit Processing unit and the first processing port, second port connection distribution switch processing unit and second processing port.As shown in Figure 1, The embodiment of the present invention one provide MESSAGE EXCHANGE processing method include:
Cell is simultaneously converted to message by S101, the cell for receiving power board forwarding;Wherein, cell is by as source business board The first business board distribution switch processing unit by the way that the source messages for needing to send are split after, be sent to power board , each cell carries the forwarding mark of the message corresponding to cell, so that power board is identified according to forwarding by each cell It is sent to the distribution switch processing unit of the second business board, forwarding mark is the plane mark of the message sent according to the first business board Knowledge determines that plane mark is configured by the distribution switch processing unit of the first business board, for identifying corresponding business processing Different disposal port in unit.
Specifically, when the message sent will be needed to pass through as the Service Processing Unit in the first business board of source business board A port in first port or second port is sent into distribution switch processing unit, at the distribution exchange of the first business board After message is divided into cell by reason unit, retransmit to power board.Switching net is deployed above power board, can be used for carrying out The transmission of cell.Wherein, message is carried out when converting cutting as cell plus head is handled, the header of the message by message first For being used when next distribution process unit is forwarded, then plus the message after head carries out slicing treatment, Mei Gebao again Header is added to form cell in literary fragment, and then the cell carries header and sent.Thus each cell carries There is the forwarding of the message corresponding to cell to identify, i.e. the forwarding mark with the forwarding of message corresponding to cell mark of cell are consistent 's.
Power board when forwarding into row cell needs that each cell is sent to the second business according to the forwarding of cell mark In the distribution switch processing unit of plate, forwarding mark is the flat of the message sent according to the first business board as source business board Determined by the mark of face.The plane mark is configured by the distribution switch processing unit of the first business board, for identify this There are different plane marks in different disposal port in the Service Processing Unit of one business board, different disposal port.First business In the Service Processing Unit of plate, different processing ports can independently be communicated, due to plane mark and different, because And the network equipments such as other business boards that can be considered as on two independent transport planes, and be connected with different disposal port It equally can be considered and work on respective transport plane.
It should be noted that just for tool in the Service Processing Unit of business board, there are two different disposal ports at this time Situation illustrates, similar, can also have more than two processing ports, and port at this time in Service Processing Unit Quantity it is correspondings with processing port unanimously and other processing procedures are similar with the embodiment of this method, therefore details are not described herein again.
S102, the forwarding mark entrained by message determine the corresponding destination interface of message, and message are sent to mesh Port on, wherein destination interface be the second business board in first port and second port in one.
After the distribution switch processing unit of second business board receives the cell of power board forwarding, cell is reformulated and is reported Text, and the forwarding mark entrained by message determines the corresponding destination interface of message, then message is sent to the destination interface, The first port or one in second port that wherein the destination interface is the second business board;Message then again by with the mesh Port be connected first processing port or second processing port be sent in the Service Processing Unit of the second business board.
In the present embodiment, the second business board of business board receives the cell of power board forwarding and converts cell as a purpose For message, wherein cell is to be sent by the distribution switch processing unit of the first business board as source business board by that will need Message be split after, be sent to power board, each cell carries the forwarding mark of the message corresponding to cell so that Each cell is sent to the distribution switch processing unit of the second business board according to forwarding mark by power board, and forwarding mark is basis First business board is sent, true for identifying the plane mark institute of message of the different disposal port in corresponding Service Processing Unit It is fixed;The corresponding destination interface of message is determined further according to the forwarding mark entrained by message, and message is sent on destination interface. The sending port for limiting message and destination interface has been achieved on the same transport plane, has solved in distributed switching network The problem of upper support biplane exchange system, needs summation network to set biplane network model so as to meet the network equipment The standby reliable communicating demand on biplane.
Fig. 2 is the flow diagram of MESSAGE EXCHANGE processing method provided by Embodiment 2 of the present invention.As shown in Fig. 2, this reality It applies example two and increases power board cascade implement scene on the basis of previous embodiment one, and respectively from message multicast, broadcast Or situations such as unicast, illustrates.As shown in Fig. 2, MESSAGE EXCHANGE processing method provided in this embodiment includes:
Cell is simultaneously converted to message by S201, the cell for receiving power board forwarding, wherein cell is by as source business board The first business board distribution switch processing unit by the way that the message for needing to send is split after, be sent to power board, or Person is that the source messages of transmission are divided into the friendship that cascade power board is sent to after cell by the third business board as source business board Draping piece, cascade power board switching net reassembled into message after, by cascade port be forwarded to power board distribution hand over It changes in processing unit, the message of recombination is split to form and is sent the friendship that best friend changes plate by the distribution switch processing unit of power board again Draping piece;
Wherein, cell is to be sent by the distribution switch processing unit of the first business board as source business board by that will need Message be split after, be sent to power board, each cell carries the forwarding mark of the message corresponding to cell so that Each cell is sent to the distribution switch processing unit of the second business board according to forwarding mark by power board, and forwarding mark is basis The plane mark of message that first business board is sent determined, plane mark by the first business board distribution switch processing unit into Row configuration, for identifying the different disposal port being located in corresponding Service Processing Unit in Different Plane.
Specifically, between two different distributed switched networks, can also utilize cascade port swap plate it Between cascade, for receiving and dispatching message between the two different distributed switched networks.At this point, receiving the letter that power board is sent Member further includes:
Receive the transmitted cell of forwarding mark of the switching net of power board entrained by cell, wherein cell is After the source messages of transmission are divided into cell as the third business board of source business board, by the distribution service of third business board Reason unit is sent to the switching net of cascade power board, cascades the cell institute that the switching net of power board is divided into according to source messages The forwarding mark of carrying is forwarded to the distribution switch processing unit of cascade power board, cascades the distribution switch processing unit of power board After the cell that source messages are divided into is reassembled into message again, the distribution switch processing unit of power board is forwarded to by cascading port In, the message reassembled into is split to form and is sent the switching net that best friend changes plate by the distribution switch processing unit of power board again 's.
Specifically, distributed switched network transmitting-receiving message can be unicast message, or broadcast, DLF unicasts or Multicast message.
1) when the message that source business board is sent is broadcast, the unicast or multicast messages of DLF, the forwarding mark of message is basis Determined by the plane mark for the message that source business board is sent, specifically include:
The forwarding mark of message is the report that the distribution switch processing unit of source business board is directly sent according to the source business board Determined by plane mark and the virtual LAN VLAN mark of text, or
The forwarding mark of the message is the distribution switch processing unit of source business board in business L2 address forwarding table It searches and identifies corresponding table item with the plane mark, target MAC (Media Access Control) address and VLAN of message, and determined according to corresponding table item, wherein The forwarding mark of message is the multitransmission mark of message, and multitransmission mark is used to indicate the distribution for being useful for E-Packeting The identification number of switch processing unit, and with the distribution switch processing unit forwarding port that connect and E-Packet, two layers of business Plane mark, target MAC (Media Access Control) address and VLAN mark with forwarding address between corresponding pass of the addresses forwarding table for recorded message System.
Specifically, source business board both can be the first business board, or be attached by cascade power board Third business board.The plane mark of message is transmission defined in the different disposal port of the Service Processing Unit of source business board The mark of plane.Virtual LAN (Virtual Local Area Network, the abbreviation VLAN) mark of message illustrates The virtual LAN that message is belonged in business.
Cell is to be sent to power board by the distribution switch processing unit of source business board, is specifically included:
Cell is to be sent to power board by the distribution switch processing unit of source business board after addition multitransmission identifies, with Multitransmission mark of the power board entrained by cell is set to determine the identification number of the purpose distribution switch processing unit of cell, and Cell is sent in the distribution switch processing unit of the purpose business board including the second business board according to identification number;Or
Cell is that the corresponding cell of source messages is added the multicast turn of source messages by the distribution switch processing unit of source business board After issue of bidding documents is known, it is sent to the switching net of cascade power board, cascades the source messages that the switching net of power board is carried according to cell Multitransmission mark determine cascade power board distribution switch processing unit identification number, and be sent to cascade power board point On cloth switch processing unit, cascade power board distribution switch processing unit the corresponding cell of source messages is reassembled into message again after It is forwarded to the distribution switch processing unit of power board, the distribution switch processing unit of power board determines that the multicast of the message of recombination turns After issue of bidding documents is known, the message of recombination is split to form again, and is sent to including the according to the multitransmission of the message of recombination mark In the distribution switch processing unit of the purpose business board of two business boards.Multitransmission identifies the exchange that can be only fitted to power board On the distribution switch processing unit of mesh sheet and power board or business board.Multitransmission mark can identify specific distribution Switch processing unit and port numbers.
For example, on the switching net of power board, the range that configurable multitransmission mark 0 is identified specifically includes first The distribution of the distribution switch processing unit of business board, the distribution switch processing unit and the first power board of the second business board exchanges Processing unit;And the range that multitransmission mark 1 is identified includes the distribution switch processing unit of the first business board, the second business The distribution switch processing unit of the distribution switch processing unit and the second power board of plate.
And on distribution switch processing unit, the range of 0 mark of multitransmission mark includes:
1) the distribution switch processing unit of the first power board includes one or more of the cascade port to connect with it, It specifically can be according to business configuration;
2) first port in the distribution switch processing unit of the first business board;
3) first port in the distribution switch processing unit of the second business board.
And the range of 1 mark of multitransmission mark includes:
1) the distribution switch processing unit of the second power board includes one or more of the cascade port to connect with it, It specifically can be according to business configuration;
2) second port in the distribution switch processing unit of the first business board;
3) second port in the distribution switch processing unit of the second business board.
Wherein, for multitransmission mark 0 to refer to, it is 0 not represent its actual value, this multitransmission mark belongs to plane Mark 0;Corresponding, multitransmission mark 1, which is similarly, to be referred to, and belongs to plane mark 1.
Specifically, when the distribution switch processing unit in cascade power board receives the distribution switch processing unit of business board After the cell of transmission, cell is reassembled as message, and by message by cascade port be forwarded to it is next in other systems After in a distribution switch processing unit, then by processes such as the cell cuttings of next distribution switch processing unit progress message, and Cell is sent in the distribution switch processing unit of the purpose business board including the second business board by switching net.
2) when the message that source business board is sent is unicast message, the forwarding mark of message is sent according to source business board Determined by the plane mark of message, specifically include:
The forwarding mark of message is that source business board is searched and plane mark, the mesh of message in business L2 address forwarding table The media access control address (Media Access Control, abbreviation MAC) and virtual LAN VLAN identify corresponding table item, And determined in corresponding table item, the forwarding mark of wherein message is the forwarding address of message, and forwarding address includes for forwarding The identification number of the distribution switch processing unit of the message, and with the distribution switch processing unit forwarding end that connect and E-Packet Mouthful;Wherein, business L2 address forwarding table is for plane mark, target MAC (Media Access Control) address and the VLAN mark of recorded message and forwarding Correspondence between address.
The cell is to be sent to the power board by the distribution switch processing unit of source business board, is specifically included:
The cell is determined according to the forwarding address of cell for forwarding by the distribution switch processing unit of source business board The identification number of the distribution switch processing unit of message is simultaneously sent to power board, so that the switching net of power board is according to for forwarding Cell is forwarded to distribution switch processing unit that identification number identified by the identification number of the distribution switch processing unit of message, or Person
Cell is determined according to the forwarding address of the corresponding cell of source messages by the distribution switch processing unit of source business board Identification number for the distribution switch processing unit for forwarding source messages, and by the corresponding cell of source messages via cascade power board Switching net is sent to the distribution switch processing unit of the cascade power board for E-Packeting, and the distribution for cascading power board is handed over It changes processing unit and source messages are corresponded into cell reassembles into after message and be forwarded to the distribution of power board through cascading port to exchange processing single Member, power board are used to that the distribution switch processing unit of the message of recombination to be forwarded to be split to form the message of recombination, and again really Surely after the forwarding address of the message recombinated, the distribution that cell is forwarded to the second business board via the switching net of power board exchanges Processing unit.
It should be noted that because power board belongs to different planes, thus when the corresponding cell of source messages is via friendship When changing the switching net of plate and being sent to the distribution switch processing unit of power board, the distribution exchange processing of the power board of same level Unit executes subsequent repeating process after receiving message, and the distribution switch processing unit of the power board in Different Plane receives To after message, inquire the message is not belonging to plane belonging to this power board, then message is abandoned.Wherein, friendship here It further includes having to belong to business frame, and pass through the mutually cascade cascade power board of power board of cascade port and Main subrack to change plate.
Specifically, the forwarding mark entrained by message determines that the corresponding destination interface of message specifically includes:Power board The distribution switch processing unit for E-Packeting searched in exchanging L2 address forwarding table with plane mark, the mesh of message MAC Address and virtual LAN VLAN identify corresponding table item, and determine in corresponding table item for forwarding cell described the The distribution switch processing unit of two business boards and connect with the distribution switch processing unit of the second business board and be used for forward report The forwarding port of text, wherein exchanging plane mark, target MAC (Media Access Control) address and VLAN mark of the L2 address forwarding table for recorded message Know the correspondence between forwarding address.It is that power board or cascade exchange to exchange the correspondence in L2 address forwarding table The distribution switch processing unit of plate marks the plane mark, source MAC and VLAN of redefining message after receiving message Know and with the correspondence of the source address of message learns to be formed.
S202, the forwarding mark entrained by message determine the corresponding destination interface of message, and message are sent to mesh Port on, wherein destination interface be the second business board in first port and second port in one.
When message is multicast, broadcast or DLF unicast messages, the forwarding mark entrained by message determines message pair The destination interface answered specifically includes:Multitransmission mark entrained by message is determined exchanges place with the distribution of the second business board The forwarding port that reason unit connects and is used to E-Packet, and port will be forwarded as the corresponding destination interface of message.
When message is unicast message, the forwarding mark entrained by message determines that the corresponding destination interface of message is specific Including:It is determined according to the forwarding address of message and connect with the distribution switch processing unit of the second business board and be used to E-Packet Port is forwarded, and port will be forwarded as the corresponding destination interface of message.
When message is sent to destination interface by the second business board of business board as a purpose, table behaviour can also be carried out Make.Fig. 3 is the method flow diagram that the purpose business board that the embodiment of the present invention three provides learn table handling.As shown in figure 3, conduct Second business board of purpose business board may comprise steps of when carrying out table handling:
S301, the plane mark that message is redefined according to the destination interface for receiving message;
If S302, the plane mark of the message redefined, source MAC address and virtual LAN VLAN Without correspondence between mark and the source address of message, plane mark, the source media access control MAC of message will be redefined Location and virtual LAN VLAN mark and the correspondence of the source address of message enter in business L2 address forwarding table.
Wherein, the source address of message includes exchanging processing list via the distribution that switching net sends cell to the second business board The identification number of the upper distribution switch processing unit of member, and connected with upper one distribution switch processing unit, for sending out The source port for member of delivering letters, plane mark, target MAC (Media Access Control) address and VLAN mark of the business L2 address forwarding table for recorded message Correspondence between forwarding address.
In the present embodiment, the second business board of business board receives the cell of power board forwarding and converts cell as a purpose For message, wherein cell is to be sent by the distribution switch processing unit of the first business board as source business board by that will need Message be split after, be sent to power board, or by the source messages of the third business board transmission as source business board It is sent to the switching net for cascading power board after being divided into cell, cascades forwarding of the switching net of power board entrained by it Mark is forwarded to the distribution switch processing unit of cascade power board, and the distribution switch processing unit for cascading power board is recombinated again After message, the distribution switch processing unit of power board, the distribution switch processing unit of power board are forwarded to by cascading port The message of recombination is again split to form to and is sent the switching net that best friend changes plate;Second business board or including the second business board The distribution switch processing unit of all purposes business board inside determines that message corresponds to further according to the forwarding mark entrained by message Destination interface, and message is sent on destination interface.The sending port for limiting message has been achieved and destination interface exists On the same transport plane, solve the problems, such as to support biplane exchange system on distributed switching network, so as to meet Reliable communicating demand of demand and the network equipment of the network equipment to biplane network model on biplane.
Fig. 4 is the flow diagram for the MESSAGE EXCHANGE processing method that the embodiment of the present invention three provides.As shown in figure 4, this reality Apply example correspond in the lower realization of the specific distributed switched network framework MESSAGE EXCHANGE processing method to multicast, broadcast and The scene that DLF messages are handled.As shown in figure 4, MESSAGE EXCHANGE processing method provided in this embodiment includes:
Cell is simultaneously converted to message by S401, the cell for receiving power board forwarding, wherein cell is by as source business board The first business board distribution switch processing unit by the way that the source messages for needing to send are split after, be sent to power board, The friendship that cascade power board is sent to after cell is either divided by the source messages of the third business board transmission as source business board Draping piece cascades the mark of the forwarding entrained by the cell that the switching net of power board is divided into according to source messages and is forwarded to cascade and hands over The distribution switch processing unit for changing plate, the distribution switch processing unit for cascading power board reassemble into the cell that source messages are divided into After message, it is forwarded in the distribution switch processing unit of power board by cascading port, the distribution switch processing unit of power board The message of recombination is again split to form to and is sent the switching net that best friend changes plate.
Fig. 5 is the network architecture schematic diagram in the embodiment of the present invention three.As shown in figure 5, in the present embodiment, business board A, industry Business plate B, business board C and business board D are service boards, are responsible for carrying out business function.Wherein, business board A and business board B belong to Main subrack, and business board C and business board D belong to the business frame by cascade ports-Extending.Business board includes that there are one conducts The central processing unit (Central Processing Unit, abbreviation CPU) of Service Processing Unit, first port, second port and One distribution switch processing unit.CPU is responsible for and the functions such as communicates, and there are two handle port, two processing ports point for tool It can not communicated independently.Central processing unit first processing port be connected with first port, central processing unit second at Reason port is connected with second port.Distribution switch processing unit includes that there are one message process unit and a cell switching lists Member, wherein message process unit is used to carry out the processing operation of list item, e.g. tables look-up and learn table handling etc., cell switching list Member for by message cut or recombinate become cell, into row cell transmission with exchange and multicast message copied into designated ends The first-class process of mouth.
Power board 1, power board 2, power board 3, power board 4 etc. are power board.Switching net is deployed on power board. The distribution switch processing unit of business board by serializer/de-serializers technology Serdes respectively with the switching net pair on power board It connects, each switching net parallel connection constitutes a cell switching net.It is distributed exchange processing list in addition, can also be arranged on power board Member, and cascade port is externally disposed in the distribution switch processing unit of power board, it can be with the grade of other power boards to provide Join port or carries out cascade ether switching port with interchanger.
Because the Service Processing Unit in business board has at least two independent processing ports, the two processing ports can Independently to be communicated, the two port paths traversed can be considered as to two transport planes, definition and traditional biplane Transport plane in exchange network is similar, the two planes can be identified as 0/ plane 1 of plane, because being identified as the first of port 0 Port is connected with two independent processing ports respectively with the second port for being identified as port 1, therefore the report sent from port 0 Text, corresponding flat mark can be plane 0, opposite, and the corresponding plane mark of message sent from port 1 can be plane 1.In the network architecture of the present embodiment, the cascade port of power board 1 and power board 3 is configured to plane 0, can pass through switching net It is swapped with the message of the port 0 of business board, may be regarded as working in plane 0;The cascade of power board 2 and power board 4 Port is configured to plane 1, can be swapped by the message of the port 1 of switching net and business board, that is, be considered as the work in plane 1 Make.
Below by taking the transmission process of multicast message in above-mentioned network architecture as an example, it is assumed that business of the business board A from itself First processing port of processing unit sends an ether broadcasting packet to other business boards in network, is specially sent to business The port 0 of plate B, business board C and business board D, at this point, business board A is source business board, and business board B, C and D are respectively to be used as mesh Business board the second business board, and for B, A is the first business board, and is third business board relative to C and D, A, Power board 1 is the cascade power board being connected with business board A with power board 2, and power board 2 and 3 is utilization cascade port and above-mentioned Two cascade power boards carry out cascade power board respectively.The distribution switch processing unit CSW0 of business board A is from being correspondingly connected with After port receives message, VLAN tag processing first is carried out to the message, judges that message is identified with the presence or absence of VLAN, by inquiring, Such as confirming the message itself into port does not have VLAN marks, then is that the VLAN of message distribution acquiescence identifies VLAN1, and by the mark In knowledge joins message, if the message has VLAN tag, identify that VLAN is identified;Then according to the network interface for sending message, sentence The plane mark corresponding to the message that breaks should be plane 0.
After the plane mark and the VLAN marks that obtain message, since the message is ether broadcasting packet, so can be according to report Plane mark and the VLAN mark of text obtain the multitransmission mark of message.Wherein, multitransmission mark can be added to original The head of message, subsequently when to divide cell, to be identified the multitransmission and header is added.Multitransmission mark is used It is useful for forwarding the identification number of the distribution switch processing unit of the broadcasting packet in instruction, and processing is exchanged with these distributions The forwarding port that unit is connected and E-Packeted.Such as the plane mark of message is plane 0, VLAN is identified as VLAN1, then can be with Multitransmission is calculated according to this and is identified as multitransmission mark 1, specific formula is:Multitransmission identifies offset address (acquiescence 0)+plane * 4096+VLAN ID, and multitransmission mark is carried in the cell that message is divided into, concurrently It send to the switching net of power board side.
If the message that the business board A as source business board is sent out is ether multicast message, as long as at this time in two layers of business The list item corresponding with the plane mark of message, target MAC (Media Access Control) address and VLAN marks is searched in forwarding table, you can according to finding Multitransmission mark of list item when obtaining multicast after processing, and indicated according to multitransmission mark be useful for turn The identification number of the distribution switch processing unit of the broadcasting packet is sent out, and is connect with these distribution switch processing units and forwards report The forwarding port of text is forwarded, and forwarding detailed process is similar with broadcasting packet, and details are not described herein.
In the switching net of power board 1 and power board 2, multitransmission mark and the distribution for E-Packeting are stored The correspondence of the identification number of switch processing unit.Specifically, can inquire correspondence in switching net carries multitransmission The cell of mark 1, includes the distribution switch processing unit of business board A for forwarding the distribution switch processing unit of the cell The distribution switch processing unit CSW2 of distribution the switch processing unit CSW1 and power board 1 of CSW0, business board B.
When the cell for carrying multitransmission mark 1 is sent in above-mentioned distribution switch processing unit by switching net, industry After the distribution switch processing unit of business plate A receives the cell and is reassembled as message, cell switching unit can be taken according to heading The information of band judges whether message is to be sent out by the port linked with this distribution switch processing unit, since message is business The port 0 of plate A is sent out as source port, so the message can be identified the message for belonging to the transmission of this business board, to Carry out beta pruning discard processing;And it is stored with multitransmission mark in the distribution switch processing unit CSW1 of business board B and is used to turn Correspondence between the forwarding port that text of transmitting messages simultaneously is connected the distribution switch processing unit, the correspondence are stored in multicast Among forwarding table or multitransmission chained list, specifically, the message of corresponding multitransmission mark 1, destination interface should be and be somebody's turn to do It is distributed the forwarding port 0 of switch processing unit CSW1 connections.
When above-mentioned cell is sent in the distribution switch processing unit CSW2 of power board 1 by switching net, it is distributed at exchange Cell is reassembled into message by reason unit CSW2, and cascade port is recycled to be forwarded to the message of recombination and the cascade power boards of CSW2 On 3 distribution switch processing unit CSW12, then regained according to the plane mark of message made of recombination and other information One multitransmission mark can be herein that 0 and VLAN is identified as 1 according to plane mark, and the same multitransmission that obtains is identified as Multitransmission mark 1 adds multitransmission mark 1, and be sent to the other side after the message reassembled into is divided into cell Switching net on.For switching net further according to the multitransmission mark 1 entrained by cell, cell should be sent to business board by judgement On distribution the switch processing unit CSW10 and CSW11 of C and business board D.Likewise, when cell is sent to exchange by switching net When the distribution switch processing unit CSW3 of plate 2, cell is reassembled into message by distribution switch processing unit CSW3, but due to power board 2 belong to plane 1, so can be dropped when message is sent to destination interface.
Specifically, the distribution switch processing unit CSW2 for E-Packeting of power board 1 is being received from business board A After the message of transmission, the study of MAC Address etc. is also carried out, by message plane mark, MAC Address, VLAN marks and cell The list items such as destination address enter in exchange L2 address forwarding table, in this way in unicast, you can are forwarded using L2 address is exchanged Table is forwarded.Wherein, with exchanging plane mark, purpose MAC of the L2 address forwarding table for recording message corresponding to cell Correspondence between location and VLAN marks and cell destination address.Wherein, destination address can be set as distribution exchange processing The port numbers etc. of the identification number of unit and the port connected with the distribution switch processing unit.
For example, in the present embodiment, the list item situation that the distribution switch processing unit CSW2 of power board 1 learns is:
Plane 0+VLAN1+MAC0, corresponding table item are the ports CSW0+ 0
And when business board A is other ports hair that is, with the port of the connection of port 1 in plane 1 by second processing port Deliver newspaper text when, power board 2 in plane 1 is distributed the list item situation that switch processing unit CSW3 learns and is:
Plane 0+VLAN1+MAC1, corresponding table item are the ports CSW0+ 1
The repeating process being specifically forwarded according to business L2 address forwarding table will be described in detail during unicast.
S402, the forwarding mark entrained by message determine the corresponding destination interface of message, and message are sent to mesh Port on, wherein destination interface be the second business board in first port and second port in one.
Cell is reassembled as message, and determine the corresponding destination interface of message be respectively with distribution switch processing unit Behind the forwarding port 0 that CSW1, CSW10 are connected with CSW11, switch processing unit CSW1, CSW10 and CSW11 are further according to depositing for distribution The multitransmission mark of storage is simultaneously corresponding between the forwarding port of distribution switch processing unit connection with for E-Packeting Relationship, specifically, determining the message for carrying multitransmission mark 1, corresponding destination interface is port 0, is distributed at exchange After reason unit regard port 0 as the corresponding destination interface of message, the message that cell reassembles into is respectively sent to above-mentioned purpose end In mouthful.
In addition, purpose business board is when receiving the message, it can be by the plane mark of the message, source media access control MAC Address and virtual LAN VLAN mark enter the business L2 address of the business board with the correspondence of the source address of message In forwarding table, so that the message for being sent to message source address from purpose business board can be carried out according to business L2 address forwarding table It sends.Such as business board C, after receiving the cell of the transmission of power board 3 and being converted into message, basis receives report first The destination interface 0 of text, the plane mark for redefining message is plane 0, then in the business L2 address forwarding table of business board C The source address of middle plane mark, source MAC address and the virtual LAN VLAN mark and message for searching message Whether there is or not correspondences.If corresponding correspondence has been stored in business L2 address forwarding table, by the list item in table Refreshed, and if entered corresponding list item in table without the correspondence in business L2 address forwarding table.Such as it should The source MAC address of message is the address MAC0 of the ports business board A 0, and plane mark is plane 0, VLAN marks For VLAN1, and the distribution switch processing unit identification number CSW12 that the source address of message is power board 3, and distribution exchange processing The port numbers 0 of unit.According to address MAC0, plane mark is plane 0, and VLAN is identified as VLAN1 and calculates Hash, calculates corresponding Index, you can carry out business L2 address forwarding table table handling.
Specifically, after the distribution switch processing unit CSW10 of business board C receives the message that the ports business board A 0 are sent, institute The list item learnt can be:
Plane 0+VLAN1+MAC0, corresponding table item are the ports CSW12+ 0
And after the message of the plane 1 transmitted by the port 1 for receiving business board A, the list item learnt is:
Plane 1+VLAN1+MAC1, corresponding table item are the ports CSW13+ 1
And the distribution switch processing unit CSW1 of business board B is learnt after receiving the message that the ports business board A 0 are sent To list item can be:
Plane 0+VLAN1+MAC0, corresponding table item are the ports CSW0+ 0
And after the message of the plane 1 transmitted by the port 1 for receiving business board A, the list item learnt is:
Plane 1+VLAN1+MAC1, corresponding table item are the ports CSW0+ 1
Above-mentioned business board B and C is after learning to corresponding list item, when sending unicast message to target MAC (Media Access Control) address, you can root It is sent according to business L2 address forwarding table.
And correspondingly, when business board A receives the message of other business boards, equally there is similar table handling Journey, for example, when business board A receives the message that source business board is business board C, the list item learnt is:
Plane 0+VLAN1+MAC10, corresponding table item are the ports CSW2+ 0;
Plane 1+VLAN1+MAC11, corresponding table item are the ports CSW3+ 0.
Wherein, the detailed process of business board A receptions business board C messages is similar with description above-mentioned, and details are not described herein again.
It should be noted that in the case of forwarding broadcast, multicast or DLF unicast messages, the execution of above-mentioned process step Main body is purpose business board rather than the single purpose business board of all reception broadcast, multicast or DLF unicast messages.That is institute There is the purpose business board for being configured to broadcast, multicast or DLF unicast messages to execute operation according to the process step.Specific report In literary forwarding process, the destination interface of broadcast, multicast or DLF unicast messages is obtained by configuring.In the business board of source, this can be judged The source address information that message carries falls message beta pruning for itself;In the purpose business board including the second business board, It can be sent to designated port according to concrete configuration;In power board, message can also be sent to designated port according to concrete configuration.
In the present embodiment, in retransmitting multi-casting, broadcast or DLF unicast messages, determined first according to the source port of transmission The plane mark of message, plane mark and VLAN marks further according to message determine multitransmission mark, and will carry multicast and turn The message that issue of bidding documents is known is transmitted to switching net after being cut into cell, and switching net is forwarded the packet according to configuration to multitransmission mark Know on corresponding distribution switch processing unit, message is sent to multitransmission mark by distribution switch processing unit further according to configuration Know corresponding port.After inconsistent destination interface receives message with plane residing for the message, message is carried out at discarding Reason, so that it is guaranteed that message is forwarded in the same plane.The sending port for limiting message has been achieved and destination interface exists On the same transport plane, solve the problems, such as to support biplane exchange system on distributed switching network, so as to meet Reliable communicating demand of demand and the network equipment of the network equipment to biplane network model on biplane.
The embodiment of the present invention four provides the implement scene when source business board sends unicast message.Still with institute in Fig. 5 It is illustrated for the network architecture shown.In the present embodiment, business board A sends a unicast message to business board C's from port 0 Port 0, or send in unicast message to the port 0 of business board B, step can be the side of previous embodiment shown in Fig. 4 Method flow, now according to the practical transmission process of unicast message to the process step of MESSAGE EXCHANGE processing method illustrate as Under:
Cell is simultaneously converted to message by S401, the cell for receiving power board forwarding, wherein cell is by as source business board The first business board distribution switch processing unit by the way that the message for needing to send is split after, be sent to power board, or Person is that the exchange that cascade power board is sent to after cell is divided by the source messages of the third business board transmission as source business board Mesh sheet, cascades the mark of the forwarding entrained by the cell that the switching net of power board is divided into according to source messages and is forwarded to cascade and exchange The distribution switch processing unit of plate, the distribution switch processing unit for cascading power board again reassemble into the cell that source messages are divided into After message, it is forwarded in the distribution switch processing unit of power board by cascading port, the distribution switch processing unit of power board The message of recombination is again split to form to and is sent the switching net that best friend changes plate.
Belonged to due to the power board between business board A and business board C in the distributed switched network of two machine frames, so Needing to be cascaded by cascade port between power board can just communicate with one another.Wherein, business board B and C is as a purpose Second business board of business board, and for business board B, business board A is the first business board as source business board, for industry It is engaged in for plate C, business board A is the third business board as source business board.The distribution switch processing unit CSW0 of business board A is from right After the port that should be connected receives message, confirm that VLAN is identified according to whether acquiescence has VLAN tag, if there is VLAN tag, then VLAN marks are carried out by the VLAN tag in message;If it is not, plus the VLAN tag of acquiescence, and it is confirmed as VLAN marks Know.Assuming that the processing port for sending message is the first processing port, you can judge that the plane mark corresponding to the message should be flat Face 0.
Because the message that the business board A as source business board is sent is unicast message, the forwarding mark of message is source Business board is searched and plane mark, purpose media access control address and the virtual office of message in business L2 address forwarding table Domain nets VLAN and identifies corresponding table item, and determined in corresponding table item, and the forwarding mark of message is the forwarding address of message, The identification number of the distribution switch processing unit for forwarding the message is specifically included, and is connect simultaneously with distribution switch processing unit The forwarding port to E-Packet.It should be noted that if the procedure failure of above-mentioned lookup list item, it is mono- that message can switch to DLF Text is reported, is handled according to the multicast flow described in above-described embodiment three.
Specifically, in the forwarding mark for determining message, can be searched in the business L2 address forwarding table of business board A Corresponding table item is identified with the plane mark, target MAC (Media Access Control) address and VLAN of message, and determines the forwarding of message in corresponding list item Address.Plane mark, target MAC (Media Access Control) address and VLAN mark and forwarding address of the business L2 address forwarding table for recorded message Between correspondence.Fig. 6 is the table entry structure schematic diagram of business L2 address forwarding table.As shown in fig. 6, because two layers of business The space of addresses forwarding table is limited, so needing plane mark, target MAC (Media Access Control) address and the VLAN mark of message carrying out hash value It calculates, corresponding index value is obtained, and corresponding table item is searched in business L2 address forwarding table according to the index value, to look into Find corresponding forwarding address.The business L2 address forwarding table of business board A may include multiple indexes and corresponding table item.Example Such as:
Plane 0+VLAN1+MAC10, corresponding table item are the ports CSW2+ 0;
Plane 1+VLAN1+MAC11, corresponding table item are the ports CSW3+ 0.
When unicast message is separately sent to business board B and business board C by business board A, because having passed through different networks Path, so being illustrated separately below to message transmission process:
1) when unicast message is sent to business board C by business board A, the cell that message is divided into is by source business board Distribution switch processing unit determines the identification number of the distribution switch processing unit for E-Packeting according to the forwarding address of cell And it is sent to power board, so that power board forwards cell according to the identification number of the distribution switch processing unit for E-Packeting The distribution switch processing unit identified to identification number.Because the destination address of the message is the MAC of business board C-terminal mouth 0 Location MAC10.It is that plane 0+VLAN1+MAC10 tables look-up according to plane mark, VLAN marks and target MAC (Media Access Control) address, correspondence can be checked in List item is the ports CSW2+ 0, i.e., corresponding to forward the identification number of the distribution switch processing unit of cell corresponding to the message to be The port numbers of CSW2, the port being connected with the distribution switch processing unit are 0, this is the forwarding address of message.
The distribution switch processing unit that identification number is CSW2, and port are corresponded to according to the above-mentioned forwarding address that message can be obtained Number port for being 0, which is located on power board 1.Business board A is sent after message conversion is divided into cell To switching net, cell is sent to using switching net on the distribution switch processing unit of power board 1.
The distribution switch processing unit for E-Packeting of power board 1 is receiving the message sent from business board A Afterwards, the study for carrying out the list items such as MAC Address, by message plane mark, MAC Address, VLAN marks and cell destination address etc. List item enters in exchange L2 address forwarding table, then message is forwarded to the distribution exchange processing of power board 3 by cascading port On unit, the distribution switch processing unit of power board 3 searched in exchanging L2 address forwarding table again with the plane mark of message, Target MAC (Media Access Control) address and virtual LAN VLAN identify corresponding table item, and are determined in corresponding table item for forwarding described in cell It the distribution switch processing unit of second business board and is connect with the distribution switch processing unit of the second business board and is used to forward The forwarding port of message.Wherein, plane mark, purpose that L2 address forwarding table is used to record message corresponding to cell are exchanged Correspondence between MAC Address and VLAN marks and cell destination address.Exchange the list item and business of L2 address forwarding table The list item of L2 address forwarding table is similar, in exchanging L2 address forwarding table, with the plane mark of message, target MAC (Media Access Control) address The index entry as table is identified with VLAN, corresponding destination address can be found according to the index.Specifically, destination address can To be set as the port numbers etc. of the identification number for being distributed switch processing unit and the port connected with the distribution switch processing unit. For example, the exchange L2 address forwarding table of power board 3 can have multiple indexes and corresponding table item, including:
Plane 0+VLAN1+MAC10, corresponding table item are the ports CSW10+ 0.
Specifically, in order to ensure reliably to forward, the list item with characterization plane mark in L2 address forwarding table is exchanged, In the exchange L2 address forwarding table of the switch processing unit of power board distribution at this time, plane mark list item all same, such as all It is plane 0, or is all plane 1.And if necessary to simplify to the design of power board, it can also only use the purpose of message MAC Address and VLAN identify the index entry as table to search corresponding destination address.Fig. 7 is that simplified exchange L2 address turns The table entry structure schematic diagram delivered.As shown in fig. 7, at this time exchange L2 address table list item only include message target MAC (Media Access Control) address, VLAN is identified and the list item of destination address.
Likewise, in the destination address of the message on determining power board 1, by searching for two layers of exchange on power board 1 For addresses forwarding table it is found that plane mark is plane 0, target MAC (Media Access Control) address MAC10, VLAN are identified as the message of VLAN1, mesh The identification number of the corresponding distribution switch processing unit in address be CSW10, i.e. the distribution switch processing unit of business board C.
2) when unicast message is sent to business board B by business board A, the destination address of the message is the ports business board B 0 MAC Address MAC3.It is that plane 0+VLAN1+MAC3 tables look-up according to plane mark, VLAN marks and target MAC (Media Access Control) address, can checks in pair It is the ports CSW1+ 0 to answer list item, i.e., the identification number of the corresponding distribution switch processing unit is CSW1, and processing is exchanged with the distribution The port numbers of the connected port of unit are 0, this is the forwarding address of message.
It obtains message forwarding address and corresponds to the distribution switch processing unit that identification number is CSW1, and the port that port numbers are 0, The distribution switch processing unit is located on business board B.After message conversion is divided into cell by business board A, by switching net, hair It send to the distribution switch processing unit CSW1 of business board B.
S402, the forwarding mark entrained by message determine the corresponding destination interface of message, and message are sent to mesh Port on.
Specifically, the distribution switch processing unit with the second business board can be determined according to the forwarding mark entrained by message The forwarding port for connecting and being used to E-Packet, and port will be forwarded as the corresponding destination interface of message.As the second business After distribution switch processing unit in the business board B and business board C of plate is respectively received unicast message, turned according to what message carried Issue of bidding documents is known, it may be determined that is separately sent to the destination of the unicast message of the distribution switch processing unit of business board B and business board C Mouth is respectively the port 0 of the port 0 and business board C in business board B, and message is respectively sent to above-mentioned two destination interface, And be further separately sent on the processing port for the Service Processing Unit being connected with destination interface, to complete entire unicast message Transmission process.
Purpose business board B or C, can be by the plane mark of the message, source media access control MAC when receiving the message The business L2 address that the correspondence of address and virtual LAN VLAN mark and the source address of message enters the business board turns In delivering, so that the response message that business board B or C are sent can be sent according to business L2 address forwarding table.Specifically, By taking business board C as an example, business board C is after receiving the cell of the transmission of power board 3 and being converted into message, and basis receives first The destination interface 0 of message, the plane mark for redefining message are plane 0, are then forwarded in the business L2 address of business board C Plane mark, source MAC address and the virtual LAN VLAN mark of message and the source of message are searched in table Whether there is or not correspondences for location.Such as the address MAC0 that the source MAC address of the message is the ports business board A 0, plane It is identified as plane 0, VLAN is identified as VLAN1, and the source address of message is the distribution switch processing unit identification number of power board 3 CSW12, and it is distributed the port numbers 0 of switch processing unit.According to address MAC0, plane mark is plane 0, and VLAN is identified as VLAN1 calculates Hash, calculates corresponding index, you can carries out the table handling of business L2 address forwarding table.
If the plane mark of the message redefined, source MAC address and virtual LAN VLAN Without correspondence between mark and the source address of message, then the correspondence is entered in business L2 address forwarding table, specifically For:
Plane 0+VLAN1+MAC0, corresponding table item are the ports CSW12+ 0.
Business board may be implemented after receiving message to the table handling of business two-layer retransmitting table in this operation.
In the present embodiment, when forwarding unicast message, using have recorded the plane mark of message, target MAC (Media Access Control) address and VLAN, which is identified, to be turned with the L2 address forwarding table that exchanges of correspondence between forwarding address with business L2 address forwarding table Hair.Plane mark, the mesh with message are specially searched in exchanging L2 address forwarding table and business L2 address forwarding table MAC Address and virtual LAN VLAN identify corresponding table item, and in corresponding table item determine for forwarding the distribution of cell to hand over The forwarding port for changing processing unit and being connect with the distribution switch processing unit and being used to E-Packet.Carrying out message in this way Unicast when, equally realize the sending port and the destination interface that limit message on the same transport plane, solve point The problem of biplane exchange system is supported on cloth switching network, so as to meet need of the network equipment to biplane network model Reliable communicating demand of the summation network equipment on biplane.
The embodiment of the present invention five is provided when the network architecture is the implement scene of simulated dual plane four-channel, which hands over Change the detailed process step of processing method.The method and step of the present embodiment is similar with above-described embodiment four, the difference is that this A virtual channel is provided in embodiment between Different Plane so that the forward-path between business board and power board occurs Change.The process step of the MESSAGE EXCHANGE processing method of the offer of the present embodiment is still as shown in figure 4, details are not described herein again.
Fig. 8 is the network architecture schematic diagram in the embodiment of the present invention five.As shown in figure 8, increasing between plane 0 and plane 1 Add a virtual channel, the virtual channel that can be arranged by software, in the case where opening this virtual channel, in switching network The forwarding address of another plane is increased in piece and distribution crosspoint.
In the present embodiment, because being additionally arranged a virtual channel between Different Plane so that the different port of business board It can carry out data transmission between corresponding plane.Because interconnection is realized between the port in Different Plane, therefore When sending broadcast, multicast and DLF unicast messages, the destination interface that message reaches can be configured to be in sending port on business board Port in Different Plane.Specifically, the tool of the switching net on the distribution crosspoint and power board to business board can be passed through Body configures to realize.Network is consistent with the actual functional capability of general distributed switched network at this time, and details are not described herein again.
For example, for sending broadcasting packet from business board A, when virtual channel is closed, which is general double flat Surface state, the message that the ports business board A 0 are sent out at this time, can only pass through power board 1 and power board 3 reaches business as a purpose On business board B, the business board C of plate and the port 0 of business board D, i.e., message is only forwarded in plane 0, and the ports business board A Message transmitted by 1 can only be equally forwarded in plane 1.
And after opening virtual channel between Different Plane, the port 0 or port 1 of business board A is in broadcast, due to two It is provided with virtual channel between a plane, so after cell reaches switching net, can be configured by the virtual channel, be sent simultaneously On the distribution switch processing unit for reaching another power board for being in Different Plane with original sender mouth, herein for by cell It is sent on the distribution switch processing unit for the power board 2 for being in Different Plane with power board 1, point of power board 1 and power board 2 Cloth switch processing unit is sent by the cascade port of power board 1 and power board 2, then reach respectively after reconstructed file On the power board 3 of offside and 4 distribution switch processing unit, and business board is sent to respectively through switching net, thus business board B, The port 0 and port 1 of business board C and business board D all has received the broadcasting packet for coming from business board A, so that business board CPU can respectively from first processing port and second processing port receive identical message.In addition, business board A itself The broadcasting packet forwarded through switching net is will receive, when business board A has found that the message is sent out by itself, the end of business board A Mouth 0 so beta pruning processing can be carried out, and abandons the message because message is sent out by the port;And the port 1 of business board A due to It is configured, and can receive the message of another plane, therefore also can receive the message, and is sent to CPU processing.It needs to illustrate , virtual channel is arranged usually at Main subrack, in order to avoid loop, in the business frame where business board C, plane Message on 0 can't be sent on the power board 4 of plane 1.
At this point, because when virtual channel is opened, the message in plane 0 can be sent to plane 1 by the virtual channel On, you can be sent to the port being connected with plane 1, so the corresponding distribution switch processing unit of multitransmission mark with The port connected with distribution switch processing unit is different, but also business board and power board learn to arrive two-layer retransmitting table List item is different when being also not switched on the virtual channel of biplane.
Specifically, in the case where virtual channel is opened, when business board A sends broadcasting packet from port 0 and port 1 respectively When, because cell made of message cutting is sent via two Different Planes simultaneously, the exchange of power board 1 and power board 2 at this time The corresponding table item that L2 address forwarding table is acquired is:
The correspondence that the exchange L2 address forwarding table of power board 1 is acquired has:
Plane 0+VLAN1+MAC0, corresponding table item are the ports CSW0+ 0;
Plane 0+VLAN1+MAC1, corresponding table item are the ports CSW0+ 1.
The correspondence that the exchange L2 address forwarding table of power board 2 is acquired has:
Plane 1+VLAN1+MAC0, corresponding table item are the ports CSW0+ 0;
Plane 1+VLAN1+MAC1, corresponding table item are the ports CSW0+ 1.
Because power board 3 and power board 4 directly receive message by cascading port, power board 3 and power board 4 are at this Table handling is not executed in the process.
After business board B receives broadcasting packet by port 0 and port 1 respectively, learn in its business L2 address forwarding table To list item have:
The port plane 0+VLAN1+MAC0, corresponding table item CSW0+ 0;
The port plane 1+VLAN1+MAC0, corresponding table item CSW0+ 0;
The port plane 1+VLAN1+MAC1, corresponding table item CSW0+ 1;
The port plane 0+VLAN1+MAC1, corresponding table item CSW0+ 1.
After business board C receives message by port 0 and port 1 respectively, the list item acquired in business L2 address forwarding table Have:
Plane 0+VLAN1+MAC0, corresponding table item are the ports CSW12+ 0;
Plane 1+VLAN1+MAC1, corresponding table item are the ports CSW13+ 0;
Plane 0+VLAN1+MAC1, corresponding table item are the ports CSW12+ 0;
Plane 1+VLAN1+MAC0, corresponding table item are the ports CSW13+ 0.
The list item that business board D is acquired is similar with business board B and business board C, and details are not described herein again.
And when business board A business boards as a purpose, can also it learn to corresponding list item, here for facilitating following unicast The description tabled look-up understands that business board A is acquired when business board C is that source business board sends message to business board A as described above List item be:
Plane 0+VLAN1+MAC10, corresponding table item are the ports CSW2+ 0;
Plane 1+VLAN1+MAC10, corresponding table item are the ports CSW2+ 0;
Plane 0+VLAN1+MAC11, corresponding table item are the ports CSW3+ 0;
Plane 1+VLAN1+MAC11, corresponding table item are the ports CSW3+ 0.
From the foregoing, it can be seen that when, there are when virtual channel, power board and business board are in L2 address between two planes The list item acquired in forwarding table is also different compared to simple biplane, these list items can carry out message unicast When, obtain corresponding forwarding mark for passing through to table look-up.And when the virtual channel is closed, learn since virtual channel is opened The list item of another plane arrived can the aging in periodic refreshing, in two-layer retransmitting table list item and do not open virtual logical Biplane exchange system when road is consistent.
It is illustrated so that business board A sends a unicast message to the port 0 of business board C as an example again below.Business board A exists When sending port 0 of the unicast message to business board C, it can be sent by itself port 0, can also be sent by port 1, corresponded to Plane mark be plane 0 or plane 1.
Specifically, when sending unicast message to the port 0 of business board C, whether business board A has VLAN marks according to message acquiescence It signs to confirm that VLAN is identified, if there is VLAN tag, then the VLAN tag pressed in message carries out VLAN marks;If it is not, In addition the VLAN tag of acquiescence, and it is confirmed as VLAN marks.It is assumed that VLAN is identified as 1, and in the mark joined message. At the forwarding port for determining message, can be searched in the business L2 address forwarding table of business board A and the plane mark of message Know, target MAC (Media Access Control) address and VLAN identify corresponding table item, and determine the forwarding port of message in corresponding list item.Wherein, because A Virtual Path, the index included by the business L2 address forwarding table of business board A and correspondence are increased between two planes List item will be different, specifically, according to sending port and the difference of target MAC (Media Access Control) address, unicast message is looked into when sending The forwarding mark that table obtains is as follows:
If 1) unicast message is sent from port 0, target MAC (Media Access Control) address MAC10, then according to plane 0+VLAN1+ MAC10, which tables look-up to can get to forward, is identified as the ports CSW2+ 0;
If 2) unicast message is sent from port 1, target MAC (Media Access Control) address MAC10, then according to plane 1+VLAN1+ MAC10, which tables look-up to can get to forward, is identified as the ports CSW2+ 0;
If 3) unicast message is sent from port 0, target MAC (Media Access Control) address MAC11, then according to plane 0+VLAN1+ MAC11, which tables look-up to can get to forward, is identified as the ports CSW3+ 0;
If 4) unicast message is sent from port 1, target MAC (Media Access Control) address MAC11, then according to plane 1+VLAN1+ MAC11, which tables look-up to can get to forward, is identified as the ports CSW3+ 0;
The distribution exchange for the power board that identification number is CSW2 or CSW3 can be forwarded to according to forwarding mark by corresponding to message On processing and exchanging unit.
It can be seen from the above, when business board A sends unicast message to the port 0 of business board C, according to plane mark, VLAN Mark and target MAC (Media Access Control) address are that plane 0+VLAN1+MAC10 and plane 1+VLAN1+MAC11 tables look-up, and can check in corresponding table item For the ports CSW2+ 0 and the ports CSW3+ 0, that is, it is CSW2 and CSW3 to correspond to message and can be forwarded to identification number according to forwarding mark Cascade power board distribution exchange processing and exchanging unit on, it should be noted that and distribution switch processing unit connected port Port numbers all be 0, correspond at this time situation be identification number be CSW2 and the distribution of CSW3 exchange processing and exchanging unit with port Number for 0 port as cascade port and another power board cascade.And the distribution of CSW2 and CSW3 exchanges processing and exchanging unit When the port that port numbers are 1 can also be used to be cascaded as cascade port and another power board, concrete condition and above-mentioned class Seemingly, details are not described herein again.
The cascade port of power board 1 is only connected with power board 3, and the subtending port of power board 2 is only connected with power board 4.Cause This can will be forwarded to from the message that business board A is sent through cascading port on power board 3 or power board 4.
Specifically, when redefining power board 3 with the destination address of the message on power board 4, by searching for exchanging two If layer address forwarding table is it is found that plane mark is plane 0, target MAC (Media Access Control) address MAC10, VLAN are identified as the report of VLAN1 Text can be obtained its destination address and correspond to the business board C that distribution switch processing unit identification number is CSW10 after tabling look-up.
After business board C receives cell and cell is merged into message, the forwarding mark entrained by unicast message can To determine the port numbers of the corresponding destination interface of message as port 0.After business board C determines port numbers, you can from the destination address Cell is sent, message is sent in the processing port 0 of business board C by port 0, completes the entire transmission process of message.
Business board A transmissions unicast message is similar with the description in previous embodiment four to business board B, only can be due to virtual The opening in channel, and lead to the difference according to transmission source port and target MAC (Media Access Control) address, and the business two-layer retransmitting table searched and friendship The specific list item changed in two-layer retransmitting table is different, so that it is determined that forwarding mark it is different, details are not described herein again.
From the above, it is seen that in the case of opening virtual channel between biplane, message carry out multicast, broadcast or When person's DLF unicasts, each business board can receive identical message from different planes respectively, and in simulation biplane merely When, the message for coming from this plane received by each business board, thus with simulate biplane merely in previous embodiment It compares, the scheme that the present embodiment is provided has been equivalent to more than message the transmission link of redundancy, can enhance entire biplane in this way The reliability of exchange system;Likewise, in unicast, it, can basis because opening virtual channel between two planes The source port of transmission and the difference of target MAC (Media Access Control) address, and select message being sent on purpose business board from different channels, example In this way when being not turned on virtual channel between two planes, the message sent out from source business plate port 0 can only be via plane After 0 is transmitted, and is eventually sent on the port 0 of purpose business board, and two interplanars open virtual channel, in source business board The message sent out on port 0, if the purpose MAC of its purpose business board is the port 1 for originally belonging to another plane, basis Practical checking result can select to forward by another plane, to across Planar realization transmission, realize higher reliability and make With flexibility, and when certain plane breaks down, system still can carry out the transmission of message.
In the present embodiment, in the network architecture of simulated dual plane four-channel, by the distribution crosspoint of business board and The configuration of switching net on power board simulates the virtual channel of two Different Planes of connection, the destination interface that message reaches Can be configured to be in the port in Different Plane on business board with sending port, thus message send after, can by and transmitting terminal Power board and business board of the mouth in Different Plane are forwarded, and are sent to the destination interface for being located at Different Plane with sending port On.In the case of having Virtual Path between Different Plane in this way, the plane mark according to message when sending message is realized It determines the destination interface of message, solves the problems, such as to support biplane exchange system on distributed switching network, so as to Meets the reliable communicating demand of the needs of network equipment is to biplane network model and the network equipment on biplane.
Fig. 9 is the structural schematic diagram for the business board that the embodiment of the present invention six provides.Business board in the present embodiment is for dividing In cloth switching network, distributed switched network includes at least the first business board, the second business board and at least one power board;First Business board and the second business board include distribution switch processing unit, first port, second port and Service Processing Unit, industry Processing unit of being engaged in has the first processing port and second processing port, the first processing port connection distribution switch processing unit and the One processing port, second port connection distribution switch processing unit and second processing port.As shown in figure 9, the present embodiment provides Business board 61 include:
Cell processing module 601, for receive power board forwarding cell and cell is converted into message, wherein cell It is the distribution switch processing unit by the first business board as source business board by the way that transmitted message will be needed to be split Afterwards, it is sent to power board, each cell carries the forwarding mark of the message corresponding to cell, so that power board is according to forwarding Each cell is sent to the distribution switch processing unit of the second business board by mark, and forwarding mark is sent according to the first business board The plane mark of message determined that plane mark is configured by the distribution switch processing unit of the first business board, for marking Know the different disposal port in corresponding Service Processing Unit;
Message processing module (MPM) 602 determines the corresponding destination interface of message for the forwarding mark entrained by message, and Message is sent on destination interface, wherein destination interface is one in the first port and second port in the second business board It is a.
Specifically, distributed switched network can also include third business board and cascade power board, power board and cascade are handed over It further includes distribution switch processing unit and for carrying out cascade cascade port to change plate, power board with cascade power board pass through it is respective Cascade port cascade Connection, distribution process crosspoint is for connecting cascade port and power board, and cascade port and grade Join power board.Cell switching unit module 601 is additionally operable to:Receive forwarding mark of the switching net of power board entrained by cell Know forwarded cell, wherein cell is that the source messages of transmission are divided into cell by the third business board as source business board Afterwards, it is sent to the switching net of cascade power board by the distribution service processing unit of third business board, cascades the exchange of power board Forwarding mark entrained by the cell that mesh sheet is divided into according to source messages is forwarded to the distribution switch processing unit of cascade power board, After the cell that source messages are divided into is reassembled into message by the distribution switch processing unit of cascade power board again, turned by cascading port It is sent in the distribution switch processing unit of power board, the message of recombination is split to form by the distribution switch processing unit of power board again And send the switching net that best friend changes plate.
Specifically, when the message that source business board is sent is broadcast, the unicast or multicast messages of DLF, the forwarding mark of message It is that may include determined by the plane mark of the message sent according to source business board:
The forwarding mark of message is the message that the distribution switch processing unit of source business board is directly sent according to source business board Plane mark and VLAN marks determined by or the forwarding mark of message be that the distribution switch processing unit of source business board exists It is searched in business L2 address forwarding table corresponding with the plane mark of message, target MAC (Media Access Control) address and virtual LAN VLAN mark List item, and determined in corresponding table item, wherein the forwarding mark of message is the multitransmission mark of message, multitransmission mark Know the identification number for being used to indicate the distribution switch processing unit for being useful for E-Packeting, and connects with distribution switch processing unit The forwarding port for connecing and E-Packeting, business L2 address forwarding table for the plane mark of recorded message, target MAC (Media Access Control) address and VLAN identifies the correspondence between the forwarding address;
Specifically, cell is to be sent to power board by the distribution switch processing unit of source business board, may include:
Cell is to be sent to power board by the distribution switch processing unit of source business board after addition multitransmission identifies, with Multitransmission mark of the power board entrained by cell is set to determine the identification number of the purpose distribution switch processing unit of cell, and Cell is sent in the distribution switch processing unit of the purpose business board including the second business board according to identification number, or Person
Cell is that the corresponding cell of source messages is added the multicast turn of source messages by the distribution switch processing unit of source business board After issue of bidding documents is known, it is sent to the switching net of cascade power board, cascades the source messages that the switching net of power board is carried according to cell Multitransmission mark determine cascade power board distribution switch processing unit identification number, and be sent to cascade power board point On cloth switch processing unit, the corresponding cell of source messages is reassembled into message by the distribution switch processing unit for cascading power board again Afterwards, the distribution switch processing unit of power board is forwarded to by cascading port, the distribution switch processing unit of power board is again true Surely after the multitransmission mark of the message recombinated, the message of recombination is split to form, and the multitransmission of the message according to recombination Mark sends the distribution switch processing unit of the purpose business board including the second business board via the switching net of power board In;
Corresponding, message processing module (MPM) 602 specifically can be used for:Entrained by message multitransmission mark determine with Including the second business board in the forwarding port that the distribution switch processing unit of interior purpose business board connects and is used to E-Packet, and Port will be forwarded as the corresponding destination interface of message.
Specifically, when the message that source business board is sent is unicast message, the forwarding mark of message is according to source business board Determined by the plane mark of the message of transmission, including:
The forwarding mark of message is that source business board is searched and plane mark, the mesh of message in business L2 address forwarding table MAC Address and virtual LAN VLAN identify corresponding table item, and in corresponding table item determine, wherein message forwarding mark The forwarding address of message, forwarding address includes the identification number of the distribution switch processing unit for E-Packeting, and with point The forwarding port that cloth switch processing unit is connected and E-Packeted;Wherein, business L2 address forwarding table is for recorded message Correspondence between plane mark, target MAC (Media Access Control) address and VLAN marks and forwarding address;
Specifically, cell is to be sent to power board by the distribution switch processing unit of source business board, may include:
Cell is determined according to the forwarding address of cell for E-Packeting by the distribution switch processing unit of source business board Distribution switch processing unit identification number and be sent to power board so that power board is exchanged according to for the distribution that E-Packets Cell is forwarded to distribution switch processing unit that identification number identified by the identification number of processing unit, or
Cell is to be determined to be used for according to the forwarding address of the cell of source messages by the distribution switch processing unit of source business board The identification number of the distribution switch processing unit of source messages is forwarded, and by the corresponding cell of source messages via the exchange of cascade power board Mesh sheet is sent to the distribution switch processing unit of the cascade power board for E-Packeting, and cascades at the distribution exchange of power board Source messages are corresponded to cell and reassemble into after message by reason unit is forwarded to the distribution switch processing unit of power board, and power board is used for It forwards the distribution switch processing unit of the message of recombination to be split to form the message of recombination, and redefines turn of the message of recombination After sending out address, the second business is forwarded to via the switching net of power board according to the forwarding address of the message of the recombination redefined The distribution switch processing unit of plate;
Corresponding, message processing module (MPM) 602 is specifically used for:
It is connect with the distribution switch processing unit of the second business board according to the determination of the forwarding address of message and is used to forward report The forwarding port of text, and port will be forwarded as the corresponding destination interface of message.
Specifically, the forwarding address of the message of the recombination redefined specifically includes second industry for forwarding cell Be engaged in plate distribution switch processing unit and connect with the distribution switch processing unit of the second business board and be used to E-Packet Forward port, wherein the distribution switch processing unit of the second business board for forwarding the cell and with the second business board Distribution switch processing unit connect and the forwarding port that is used to E-Packet is that the distribution for E-Packeting of power board is handed over Processing unit is changed to search in exchanging L2 address forwarding table and plane mark, target MAC (Media Access Control) address and the virtual LAN of message VLAN identifies corresponding table item, and determined in corresponding table item, wherein L2 address forwarding table is exchanged for the flat of recorded message Correspondence between face mark, target MAC (Media Access Control) address and VLAN marks and forwarding address, exchanges pair in L2 address forwarding table Should be related to be power board or cascade power board distribution switch processing unit after receiving message, put down to redefining message The correspondence of face mark, source MAC and VLAN marks and the source address of message carries out study formation, the source address of message Include exchanging processing list via a upper distribution for the distribution switch processing unit of switching net transmission cell to the second business board The identification number of member, and connected with upper one distribution switch processing unit, the source port for sending message.
Specifically, message processing module (MPM) 602 can be also used for:It is redefined according to the destination interface for receiving the message The plane mark of the message;
If the plane mark, source MAC address and the virtual office of the message redefined It nets between VLAN marks and the source address of the message without correspondence, by the plane for redefining the message in domain The correspondence of mark, source MAC address and virtual LAN VLAN mark and the source address of the message Enter in business L2 address forwarding table, wherein the source address of the message includes sending the cell to institute via switching net The identification number of the upper distribution switch processing unit of the distribution switch processing unit of the second business board is stated, and with described upper one A distribution switch processing unit connection, the source port for sending the cell, the business L2 address forwarding table is used for Record the correspondence between plane mark, target MAC (Media Access Control) address and the VLAN mark of the message and the forwarding address.
In the present embodiment, the cell switching module of business board is used to receive the cell of power board forwarding and is converted to cell Message, wherein cell is transmitted by that will need by the distribution switch processing unit of the first business board as source business board Message be split after, be sent to power board, each cell carries the forwarding mark of the message corresponding to cell so that Each cell is sent to the distribution switch processing unit of the second business board according to forwarding mark by power board;Message processing module (MPM) is used The corresponding destination interface of message is determined in the forwarding mark entrained by message, and message is sent on destination interface.This Sample realizes the sending port for limiting message with destination interface on the same transport plane, to improve system reliability.
Figure 10 is the structural schematic diagram for the business board that the embodiment of the present invention seven provides.Business board in the present embodiment is for dividing In cloth switching network, distributed switched network includes at least the first business board, the second business board and at least one power board;First Business board and the second business board include distribution switch processing unit, first port, second port and Service Processing Unit, industry Processing unit be engaged in the first processing port and second processing port, first port connection is distributed at switch processing unit and first Manage port, second port connection distribution switch processing unit and second processing port.As shown in Figure 10, industry provided in this embodiment Business plate 71 include:
Memory 701, for storing network exchange instruction;
Processor 702, for executing the instruction in memory, to realize function of network exchange, including:
Cell is simultaneously converted to message by the cell for receiving power board forwarding, wherein cell is by the as source business board After the distribution switch processing unit of one business board is by will need transmitted message to be split, it is sent to power board, often A cell carries the forwarding mark of the message corresponding to cell, so that each cell is sent to by power board according to forwarding mark The distribution switch processing unit of second business board, forwarding mark are that the plane mark institute of the message sent according to the first business board is true Fixed, plane mark is configured by the distribution switch processing unit of the first business board, for identifying in corresponding Service Processing Unit Different disposal port;
Forwarding mark entrained by message determines the corresponding destination interface of message, and message is sent to destination interface On, wherein destination interface is one in the first port and second port in the second business board.
Specifically, distributed switched network can also include third business board and cascade power board, power board and cascade are handed over It further includes distribution switch processing unit and for carrying out cascade cascade port to change plate, power board with cascade power board pass through it is respective Cascade port cascade Connection, distribution process crosspoint is for connecting cascade port and power board, and cascade port and grade Join power board.Cell switching unit module 601 is additionally operable to:
It receives forwarding of the switching net of power board entrained by cell and identifies forwarded cell, wherein cell is After the source messages of transmission are divided into cell as the third business board of source business board, by the distribution service of third business board Reason unit is sent to the switching net of cascade power board, cascades the cell institute that the switching net of power board is divided into according to source messages The forwarding mark of carrying is forwarded to the distribution switch processing unit of cascade power board, cascades the distribution switch processing unit of power board After the cell that source messages are divided into is reassembled into message again, the distribution switch processing unit of power board is forwarded to by cascading port In, the message of recombination is split to form and is sent the switching net that best friend changes plate by the distribution switch processing unit of power board again.
Specifically, when the message that source business board is sent is broadcast, the unicast or multicast messages of DLF, the forwarding mark of message It is that may include determined by the plane mark of the message sent according to source business board:
The forwarding mark of message is the message that the distribution switch processing unit of source business board is directly sent according to source business board Plane mark and VLAN marks determined by or the forwarding mark of message be that the distribution switch processing unit of source business board exists It is searched in business L2 address forwarding table corresponding with the plane mark of message, target MAC (Media Access Control) address and virtual LAN VLAN mark List item, and determined in corresponding table item, wherein the forwarding mark of message is the multitransmission mark of message, multitransmission mark Know the identification number for being used to indicate the distribution switch processing unit for being useful for E-Packeting, and connects with distribution switch processing unit The forwarding port for connecing and E-Packeting, business L2 address forwarding table for the plane mark of recorded message, target MAC (Media Access Control) address and VLAN identifies the correspondence between the forwarding address;
Specifically, cell is to be sent to power board by the distribution switch processing unit of source business board, may include:
Cell is to be sent to power board by the distribution switch processing unit of source business board after addition multitransmission identifies, with Multitransmission mark of the power board entrained by cell is set to determine the identification number of the purpose distribution switch processing unit of cell, and Cell is sent in the distribution switch processing unit of the purpose business board including the second business board according to identification number, or Person
Cell is that the corresponding cell of source messages is added the multicast turn of source messages by the distribution switch processing unit of source business board After issue of bidding documents is known, it is sent to the switching net of cascade power board, cascades the source messages that the switching net of power board is carried according to cell Multitransmission mark determine cascade power board distribution switch processing unit identification number, and be sent to cascade power board point On cloth switch processing unit, the corresponding cell of source messages is reassembled into message by the distribution switch processing unit for cascading power board again Afterwards, the distribution switch processing unit of power board is forwarded to by cascading port, the distribution switch processing unit of power board is again true Surely after the multitransmission mark of the message recombinated, the message of recombination is split to form, and the multitransmission of the message according to recombination Mark sends the distribution switch processing unit of the purpose business board including the second business board via the switching net of power board In;;
Corresponding, processor 702 specifically can be used for:Multitransmission mark entrained by message determine with including the The forwarding port that the distribution switch processing unit of purpose business board including two business boards connects and is used to E-Packet, and will turn Mouth start as the corresponding destination interface of message.
Specifically, when the message that source business board is sent is unicast message, the forwarding mark of message is according to source business board Determined by the plane mark of the message of transmission, including:
The forwarding mark of message is that source business board is searched and plane mark, the mesh of message in business L2 address forwarding table MAC Address and virtual LAN VLAN identify corresponding table item, and in corresponding table item determine, wherein message forwarding mark The forwarding address of message, forwarding address includes the identification number of the distribution switch processing unit for E-Packeting, and with point The forwarding port that cloth switch processing unit is connected and E-Packeted;Wherein, business L2 address forwarding table is for recorded message Correspondence between plane mark, target MAC (Media Access Control) address and VLAN marks and forwarding address;
Specifically, cell is to be sent to power board by the distribution switch processing unit of source business board, may include:
Cell is determined according to the forwarding address of cell for E-Packeting by the distribution switch processing unit of source business board Distribution switch processing unit identification number and be sent to power board so that power board is exchanged according to for the distribution that E-Packets Cell is forwarded to distribution switch processing unit that identification number identified by the identification number of processing unit, or
Cell is to be determined to be used for according to the forwarding address of the cell of source messages by the distribution switch processing unit of source business board The identification number of the distribution switch processing unit of source messages is forwarded, and by the corresponding cell of source messages via the exchange of cascade power board Mesh sheet is sent to the distribution switch processing unit of the cascade power board for E-Packeting, and cascades at the distribution exchange of power board Source messages are corresponded to cell and reassemble into after message by reason unit is forwarded to the distribution switch processing unit of power board, and power board is used for It forwards the distribution switch processing unit of the message of recombination to be split to form the message of recombination, and redefines turn of the message of recombination After sending out address, the second business is forwarded to via the switching net of power board according to the forwarding address of the message of the recombination redefined The distribution switch processing unit of plate;
Corresponding, processor 702 is specifically used for:
It is connect with the distribution switch processing unit of the second business board according to the determination of the forwarding address of message and is used to forward report The forwarding port of text, and port will be forwarded as the corresponding destination interface of message.
Specifically, the forwarding address of the message of the recombination redefined specifically includes second industry for forwarding cell Be engaged in plate distribution switch processing unit and connect with the distribution switch processing unit of the second business board and be used to E-Packet Forward port, wherein the distribution switch processing unit of the second business board for forwarding the cell and with the second business board Distribution switch processing unit connect and the forwarding port that is used to E-Packet is that the distribution for E-Packeting of power board is handed over Processing unit is changed to search in exchanging L2 address forwarding table and plane mark, target MAC (Media Access Control) address and the virtual LAN of message VLAN identifies corresponding table item, and determined in corresponding table item, wherein L2 address forwarding table is exchanged for the flat of recorded message Correspondence between face mark, target MAC (Media Access Control) address and VLAN marks and forwarding address, exchanges pair in L2 address forwarding table Should be related to be power board or cascade power board distribution switch processing unit after receiving message, put down to redefining message The correspondence of face mark, source MAC and VLAN marks and the source address of message carries out study formation, the source address of message Include exchanging processing list via a upper distribution for the distribution switch processing unit of switching net transmission cell to the second business board The identification number of member, and connected with upper one distribution switch processing unit, the source port for sending message.
Specifically, processor 702 can be also used for:The report is redefined according to the destination interface for receiving the message The plane mark of text;
If the plane mark, source MAC address and the virtual office of the message redefined It nets between VLAN marks and the source address of the message without correspondence, by the plane for redefining the message in domain The correspondence of mark, source MAC address and virtual LAN VLAN mark and the source address of the message Enter in business L2 address forwarding table, wherein the source address of the message includes sending the cell to described via switching net Second business board distribution switch processing unit it is upper one distribution switch processing unit identification number, and with described upper one It is distributed switch processing unit connection, the source port for receiving the cell, the business L2 address forwarding table is for remembering Record the correspondence between plane mark, target MAC (Media Access Control) address and the VLAN mark of the message and the forwarding address.
In the present embodiment, memory is for storing network exchange instruction;Processor is used to execute the instruction in memory, with Realize function of network exchange, including:It receives the cell of power board forwarding and cell is converted into message, wherein cell is by making For source business board the first business board distribution switch processing unit by transmitted message will be needed to be split after, send Power board is arrived, each cell carries the forwarding mark of the message corresponding to cell, so that power board will according to forwarding mark Each cell is sent to the distribution switch processing unit of the second business board;Forwarding mark entrained by message determines message pair The destination interface answered, and message is sent on destination interface, wherein destination interface be first port in the second business board and One in second port.The sending port for limiting message has been achieved with destination interface on the same transport plane, from And improve system reliability.
The embodiment of the present invention also provides a kind of internet exchange system.The internet exchange system may include at least two as before The business board that embodiment six or embodiment seven provide is stated, and is connected between two business boards, to constitute distributed switched network Power board, wherein power board is provided with switching net.Optionally, power board can be two, and two power boards can be with Setting is distributed switch processing unit and cascade port, and cascade port connects the distribution switch processing unit of two power boards, hands over The distribution switch processing unit changed on plate is connected by switching net with business board respectively again.Cascade port will be at two at this time It cascades up in the power board of heterogeneous networks.The structure and function of business board is described more fully in the aforementioned embodiment, this Place repeats no more.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (13)

1. a kind of MESSAGE EXCHANGE processing method, in distributed switched network, the distributed switched network includes at least the One business board, the second business board and at least one power board;First business board and second business board all include point Cloth switch processing unit, first port, second port and Service Processing Unit, the Service Processing Unit have the first processing Port and second processing port, the first port connect the distribution switch processing unit and handle port, institute with described first It states second port and connects the distribution switch processing unit and the second processing port;It is characterized in that, the method is by The distribution switch processing unit in two business boards executes, including:
It receives the cell of the power board forwarding and the cell is converted into message, wherein the cell is by as source industry After the distribution switch processing unit of first business board of business plate will need the source messages sent to be split, it is sent to described Power board, each cell carries the forwarding mark of the message corresponding to the cell, so that the power board is according to Each cell is sent to the distribution switch processing unit of second business board by forwarding mark, and the forwarding mark is root The plane mark of message sent according to first business board determined, the plane mark by first business board distribution Switch processing unit is configured, for identifying the different disposal port in the corresponding Service Processing Unit;
Forwarding mark entrained by the message determines the corresponding destination interface of the message, and the message is sent to On the destination interface, wherein the destination interface is the first port and the second end in second business board One in mouthful.
2. MESSAGE EXCHANGE processing method according to claim 1, which is characterized in that the distributed switched network further includes Third business board and cascade power board, the power board and cascade power board further include being distributed switch processing unit and for carrying out Cascade cascade port, the power board and the cascade power board are described by respective cascade port cascade Connection Distribution process crosspoint be used for connect it is described cascade port and the power board switching net and the cascade port with The switching net of the cascade power board;The cell for receiving power board forwarding further includes:
It receives forwarding of the switching net of the power board entrained by the cell and identifies forwarded cell, wherein institute State cell be by the source messages of transmission are divided into cell as the third business board of source business board after, by the third industry The distribution service processing unit of business plate is sent to the switching net of the cascade power board, the switching net of the cascade power board Forwarding mark entrained by the cell being divided into according to the source messages is forwarded to the distribution exchange processing of the cascade power board Unit, after the cell that the source messages are divided into is reassembled into message by the distribution switch processing unit for cascading power board again, It is forwarded in the distribution switch processing unit of the power board by the cascade port, the distribution exchange processing of the power board The message of the recombination is split to form and is sent to again the switching net of the power board by unit.
3. MESSAGE EXCHANGE processing method according to claim 2, which is characterized in that the message that the source business board is sent is Broadcast, the unicast or multicast messages of DLF, the forwarding mark of the message are the plane marks of the message sent according to the source business board Determined by knowledge, specifically include:
The forwarding mark of the message is that the distribution switch processing unit of the source business board is directly sent out according to the source business board Determined by plane mark and the virtual LAN VLAN mark of the message sent, or
The forwarding mark of the message is the distribution switch processing unit of the source business board in business L2 address forwarding table It searches and identifies corresponding table item with the plane mark, purpose MAC address and VLAN of the message, and according to described What corresponding table item determined, wherein the forwarding mark of the message is the multitransmission mark of the message, the multitransmission mark Know the identification number for being used to indicate the distribution switch processing unit for being useful for forwarding the message, and place is exchanged with the distribution Reason unit connects and forwards the forwarding port of the message, the business L2 address forwarding table to be used to record the flat of the message Correspondence between face mark, target MAC (Media Access Control) address and VLAN marks and forwarding address;
The cell is to be sent to the power board by the distribution switch processing unit of the source business board, is specifically included:
The cell is after the addition multitransmission identifies, to be sent to by the distribution switch processing unit of the source business board The power board, so that multitransmission mark of the power board entrained by the cell determines the purpose point of the cell The identification number of cloth switch processing unit, and the cell is forwarded to including second business board according to the identification number Purpose business board distribution switch processing unit in, or
The cell is that the corresponding cell of source messages is added the more of source messages by the distribution switch processing unit of the source business board After broadcasting forwarding mark, it is sent to the switching net of the cascade power board, the switching net of the cascade power board is according to The multitransmission mark for the source messages that cell carries determines the identification number of the distribution switch processing unit of the cascade power board, and It is sent on the distribution switch processing unit of the cascade power board, the distribution switch processing unit of the cascade power board again will After the corresponding cell of the source messages reassembles into message, it is forwarded at the distribution exchange of the power board by the cascade port Managing unit will after the distribution switch processing unit of the power board redefines the multitransmission mark of the message of the recombination The message of the recombination is split to form, and according to the multitransmission of the message of recombination mark via the exchange of the power board Mesh sheet is sent in the distribution switch processing unit of the purpose business board including second business board;
The forwarding mark entrained by the message determines that the corresponding destination interface of the message specifically includes:According to institute The mark determination of the multitransmission entrained by message is stated to exchange with the distribution of the purpose business board including second business board Processing unit connects and is used to forward the forwarding port of the message, and the forwarding port is corresponding as the message Destination interface.
4. MESSAGE EXCHANGE processing method according to claim 2, which is characterized in that the message that the source business board is sent is The forwarding mark of unicast message, the message is tool determined by the plane mark of the message sent according to the source business board Body includes:
The message forwarding mark be the source business board is searched in business L2 address forwarding table with the message put down Face mark, target MAC (Media Access Control) address and VLAN identify corresponding table item, and determined in the corresponding table item, the forwarding of the message Mark is the forwarding address of the message, and the forwarding address includes the distribution switch processing unit for forwarding the message Identification number, and connect with the distribution switch processing unit and forward the forwarding port of the message;Wherein, the business two Layer address forwarding table be used for record the message plane mark, target MAC (Media Access Control) address and VLAN mark with the forwarding address it Between correspondence;
The cell is to be sent to the power board by the distribution switch processing unit of source business board, is specifically included:
The cell is to be determined to be used for according to the forwarding address of the cell by the distribution switch processing unit of the source business board After the identification number of distribution switch processing unit for forwarding the message, the power board is re-send to, so that the power board root According to described for forwarding the identification number of the distribution switch processing unit of the message that the cell is forwarded to the identification number institute The distribution switch processing unit of mark, or
The cell be the distribution switch processing unit of the source business board according to the forwarding of the corresponding cell of the source messages Location determines the identification number of the distribution switch processing unit for forwarding the source messages, and the corresponding cell of the source messages is passed through The distribution exchange of the cascade power board for forwarding the message is sent to by the switching net of the cascade power board Manage on unit, the distribution switch processing unit of the cascade power board by the source messages correspond to cell reassemble into after message by The cascade port is forwarded to the distribution switch processing unit of the power board, and the power board is used to forward the recombination The message of the recombination is split to form by the distribution switch processing unit of message, and redefines the forwarding of the message of the recombination Behind address, forwarded via the switching net of the power board according to the forwarding address of the message of the recombination redefined To the distribution switch processing unit of second business board;
The forwarding mark entrained by the message determines that the corresponding destination interface of the message specifically includes:According to institute The forwarding address determination for stating message connect with the distribution switch processing unit of second business board and is used to forward the message Forwarding port, and using the forwarding port as the corresponding destination interface of the message.
5. MESSAGE EXCHANGE processing method according to claim 4, which is characterized in that the recombination redefined The forwarding address of message specifically includes:The distribution switch processing unit of second business board for forwarding the cell and It is connect with the distribution switch processing unit of second business board and is used to forward the forwarding port of the message, wherein is described The distribution switch processing unit of second business board for forwarding the cell and the distribution with second business board It is the power board for forwarding the message that switch processing unit, which connects and is used to forward the forwarding port of the message, Distribution switch processing unit searched in exchanging L2 address forwarding table and the plane mark of the message, target MAC (Media Access Control) address and Virtual LAN VLAN identifies corresponding table item, and determined in the corresponding table item, the exchange L2 address forwarding table is used The correspondence between the forwarding address, institute are identified in the plane mark, target MAC (Media Access Control) address and VLAN for recording the message State exchange L2 address forwarding table in correspondence be the power board or cascade power board distribution switch processing unit exist After receiving the message, the plane mark, source MAC and VLAN to redefining the message identify and the report The correspondence of the source address of text carries out study formation, wherein the source address of the message includes via the switching net The cell is sent to the mark of the upper distribution switch processing unit of the distribution switch processing unit of second business board Number, and connected with the upper distribution switch processing unit, the source port for sending the message.
6. MESSAGE EXCHANGE processing method according to claim 1 or 2, which is characterized in that the method further includes:
The plane mark of the message is redefined according to the destination interface for receiving the message;
If the source of the plane mark of the message redefined, source MAC and VLAN mark and the message Without correspondence between address, by the plane mark, source MAC and the VLAN mark for redefining the message with The correspondence of the source address of the message enters in business L2 address forwarding table, wherein the source address of the message includes The upper distribution for sending the cell to the distribution switch processing unit of second business board via the switching net is handed over The identification number of processing unit is changed, and connected with the upper distribution switch processing unit, for sending the message Source port, the business L2 address forwarding table are used to record plane mark, target MAC (Media Access Control) address and the VLAN mark of the message With the correspondence between the forwarding address.
7. a kind of business board, in distributed switched network, the distributed switched network includes at least the first business board, the Two business boards and at least one power board;First business board and second business board include that distribution exchanges processing list Member, first port, second port and Service Processing Unit, the Service Processing Unit have at the first processing port and second Port is managed, first processing port connects the distribution switch processing unit and handles port, the second end with described first Mouth connects the distribution switch processing unit and the second processing port;It is characterized in that, the business board includes:
The cell is simultaneously converted to message by cell processing module, cell for receiving power board forwarding, wherein described Cell is transmitted message will to be needed to carry out by the distribution switch processing unit of first business board as source business board After segmentation, it is sent to the power board, each cell carries the forwarding mark of the message corresponding to the cell, so that institute The distribution switch processing unit that each cell is sent to second business board according to the forwarding mark by power board is stated, The forwarding mark is that the plane mark of the message sent according to first business board is determined that the plane mark is by first The distribution switch processing unit of business board is configured, for identifying the different disposal end in the corresponding Service Processing Unit Mouthful;
Message processing module (MPM) determines the corresponding destination interface of the message for the forwarding mark entrained by the message, And the message is sent on the destination interface, wherein the destination interface is described first in second business board One in port and the second port.
8. business board according to claim 7, which is characterized in that the distributed switched network further includes third business board With cascade power board, the power board and cascade power board further include being distributed switch processing unit and for carrying out cascade cascade Port, the power board with the cascade power board by respective cascade port cascade Connection, hand over by the distribution process Switching net and the cascade port and the cascade of the unit for connecting the cascade port and the power board is changed to hand over Change the switching net of plate;The cell switching unit module is additionally operable to:
It receives forwarding of the switching net of the power board entrained by the cell and identifies forwarded cell, wherein institute State cell be by the source messages of transmission are divided into cell as the third business board of source business board after, by the third industry The distribution service processing unit of business plate is sent to the switching net of the cascade power board, the switching net of the cascade power board Forwarding mark entrained by the cell being divided into according to the source messages is forwarded to the distribution exchange processing of the cascade power board Unit, after the cell that the source messages are divided into is reassembled into message by the distribution switch processing unit for cascading power board again, It is forwarded in the distribution switch processing unit of the power board by the cascade port, the distribution exchange processing of the power board The message of the recombination is split to form and is sent to again the switching net of the power board by unit.
9. business board according to claim 8, which is characterized in that the message that the source business board is sent is mono- for broadcast, DLF It broadcasts or multicast message, the forwarding mark of the message is that the plane mark of the message sent according to the source business board is determined , it specifically includes:
The forwarding mark of the message is that the distribution switch processing unit of the source business board is directly sent out according to the source business board Determined by plane mark and the VLAN mark of the message sent, or
The forwarding mark of the message is the distribution switch processing unit of the source business board in business L2 address forwarding table It searches and identifies corresponding table item with the plane mark, target MAC (Media Access Control) address and virtual LAN VLAN of the message, and according to described right List item is answered to determine, wherein the forwarding mark of the message is the multitransmission mark of the message, the multitransmission mark It is used to indicate the identification number for the distribution switch processing unit for being useful for forwarding the message, and processing is exchanged with the distribution Unit connects and forwards the forwarding port of the message, the business L2 address forwarding table to be used to record the plane of the message Correspondence between mark, target MAC (Media Access Control) address and VLAN marks and forwarding address;
The cell is to be sent to the power board by the distribution switch processing unit of the source business board, is specifically included:
The cell is sent to by the distribution switch processing unit of the source business board after the addition multitransmission identifies The power board, so that multitransmission mark of the power board entrained by the cell determines the purpose point of the cell The identification number of cloth switch processing unit, and the cell is sent to including second business board according to the identification number Purpose business board distribution switch processing unit in, or
The cell is that the corresponding cell of the source messages is added the source by the distribution switch processing unit of the source business board After the multitransmission mark of message, it is sent to the switching net of the cascade power board, the switching net of the cascade power board It is single that the multitransmission mark of the source messages carried according to the cell determines that the distribution of the cascade power board exchanges processing The identification number of member, and be sent on the distribution switch processing unit of the cascade power board, the distribution of the cascade power board is handed over It changes after the corresponding cell of the source messages reassembles into message by processing unit again, the exchange is forwarded to by the cascade port The distribution switch processing unit of plate, the distribution switch processing unit of the power board redefine the multicast of the message of the recombination After forwarding mark, the message of the recombination is split to form, and is identified via institute according to the multitransmission of the message of the recombination The switching net for stating power board is sent to the distribution switch processing unit of the purpose business board including second business board In;
The message processing module (MPM) is specifically used for:Multitransmission mark entrained by the message determine with including described the Two business boards connect and are used to forward the forwarding port of the message in the distribution switch processing unit of interior purpose business board, and will The forwarding port is as the corresponding destination interface of the message.
10. business board according to claim 8, which is characterized in that the message that the source business board is sent is unicast message, The forwarding mark of the message is specifically included determined by the plane mark of the message sent according to the source business board:
The message forwarding mark be the source business board is searched in business L2 address forwarding table with the message put down Face mark, target MAC (Media Access Control) address and virtual LAN VLAN identify corresponding table item, and determined in the corresponding table item, it is described The forwarding mark of message is the forwarding address of the message, and the forwarding address includes for forwarding the distribution of the message to exchange The identification number of processing unit, and connect with the distribution switch processing unit and forward the forwarding port of the message;Wherein, The business L2 address forwarding table be used for record the message plane mark, target MAC (Media Access Control) address and VLAN mark with it is described Correspondence between forwarding address;
The cell is to be sent to the power board by the distribution switch processing unit of source business board, is specifically included:
The cell is to be determined to be used for according to the forwarding address of the cell by the distribution switch processing unit of the source business board After the identification number of distribution switch processing unit for forwarding the message, the power board is re-send to, so that the power board root According to described for forwarding the identification number of the distribution switch processing unit of the message that the cell is forwarded to the identification number institute The distribution switch processing unit of mark, or
The cell be the distribution switch processing unit of the source business board according to the forwarding of the corresponding cell of the source messages Location determines the identification number of the distribution switch processing unit for forwarding the source messages, and the corresponding cell of the source messages is passed through The distribution exchange of the cascade power board for forwarding the message is sent to by the switching net of the cascade power board Manage on unit, the distribution switch processing unit of the cascade power board by the source messages correspond to cell reassemble into after message by The cascade port is forwarded to the distribution switch processing unit of the power board, and the power board is used to forward the recombination The message of the recombination is split to form by the distribution switch processing unit of message, and redefine the message of the recombination After forwarding address, according to the forwarding address of the message of the recombination redefined via the switching net of the power board It is forwarded to the distribution switch processing unit of second business board;
The message processing module (MPM) is specifically used for:
It is connect with the distribution switch processing unit of second business board according to the determination of the forwarding address of the message and is used to turn The forwarding port for sending out message described, and using the forwarding port as the corresponding destination interface of the message.
11. business board according to claim 10, which is characterized in that the message of the recombination redefined turns Hair address specifically includes the distribution switch processing unit of second business board for forwarding the cell and with described the The distribution switch processing unit of two business boards connects and is used to forward the forwarding port of the message, wherein described for forwarding The distribution switch processing unit of second business board of the cell and exchange processing with the distribution of second business board It is the power board for forwarding the distribution of the message to exchange that unit, which connects and is used to forward the forwarding port of the message, Processing unit is searched and plane mark, target MAC (Media Access Control) address and the virtual local area of the message in exchanging L2 address forwarding table It nets VLAN and identifies corresponding table item, and determined in the corresponding table item, wherein the exchange L2 address forwarding table is for remembering Record the correspondence between plane mark, target MAC (Media Access Control) address and the VLAN mark of the message and the forwarding address, the friendship The correspondence changed in L2 address forwarding table be the power board or cascade power board distribution switch processing unit receiving To after the message, the plane mark, source MAC and VLAN to redefining the message identify and the message The correspondence of source address carries out study formation, and the source address of the message includes sending the letter via the switching net Member is to the identification number of the upper distribution switch processing unit of the distribution switch processing unit of second business board, and and institute State what a distribution switch processing unit connected, the source port for sending the message.
12. business board according to claim 7 or 8, which is characterized in that the message processing module (MPM) is additionally operable to:According to connecing The destination interface for receiving the message redefines the plane mark of the message;
If the plane mark, source MAC address and the virtual LAN of the message redefined VLAN is identified between the source address of the message without correspondence, by the plane mark for redefining the message Knowledge, source MAC address and the correspondence of virtual LAN VLAN mark and the source address of the message enter In business L2 address forwarding table, wherein the source address of the message includes sending the cell extremely via the switching net Second business board distribution switch processing unit it is upper one distribution switch processing unit identification number, and with it is described on What one distribution switch processing unit connected, the source port for sending the message, the business L2 address forwarding table is used The correspondence between the forwarding address is identified in the plane mark, target MAC (Media Access Control) address and VLAN for recording the message.
13. a kind of internet exchange system, which is characterized in that including power board and at least two any one of such as claim 7-12 institutes The business board stated.
CN201510287333.1A 2015-05-29 2015-05-29 MESSAGE EXCHANGE processing method, business board and internet exchange system Active CN104869081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510287333.1A CN104869081B (en) 2015-05-29 2015-05-29 MESSAGE EXCHANGE processing method, business board and internet exchange system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510287333.1A CN104869081B (en) 2015-05-29 2015-05-29 MESSAGE EXCHANGE processing method, business board and internet exchange system

Publications (2)

Publication Number Publication Date
CN104869081A CN104869081A (en) 2015-08-26
CN104869081B true CN104869081B (en) 2018-09-07

Family

ID=53914611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510287333.1A Active CN104869081B (en) 2015-05-29 2015-05-29 MESSAGE EXCHANGE processing method, business board and internet exchange system

Country Status (1)

Country Link
CN (1) CN104869081B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502841B (en) * 2016-10-27 2019-06-07 杭州迪普科技股份有限公司 Data back up method and device
CN108270698B (en) * 2016-12-30 2021-12-14 中兴通讯股份有限公司 Switchboard backboard interconnection device and method based on crossbar non-orthogonal architecture
CN107547254B (en) * 2017-06-30 2021-03-26 新华三技术有限公司 Method for processing network board event, service line card board and cluster system
CN110048960B (en) * 2019-04-17 2021-03-30 北京理工大学 Distributed flow generation system with message response
CN111884950B (en) * 2020-07-27 2022-08-05 深圳市信锐网科技术有限公司 Data transmission method, target switch, designated switch and switch system
CN112367261B (en) * 2020-11-30 2022-10-18 迈普通信技术股份有限公司 Message forwarding method and device and distributed equipment
CN116133313A (en) * 2021-11-12 2023-05-16 华为技术有限公司 Communication device and method for scheduling service signals
CN116155680B (en) * 2023-04-18 2023-07-21 北京天辰合创科技有限公司 Broadband biplane multi-redundancy communication architecture and communication method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100652958B1 (en) * 2005-02-28 2006-12-01 삼성전자주식회사 Method of transmitting data by improvement of translating network address in gateway and system thereof
CN101453390B (en) * 2008-12-30 2011-10-26 中兴通讯股份有限公司 Test method and system for biplane double layer communication
CN101877667B (en) * 2009-04-30 2013-01-09 华为技术有限公司 Message forwarding method, device and system
CN101567855B (en) * 2009-06-11 2011-12-21 杭州华三通信技术有限公司 Distributed packet switching system and distributed packet switching method
CN101867520B (en) * 2010-06-12 2013-04-17 迈普通信技术股份有限公司 Method for exchanging data between board cards in distribution type system

Also Published As

Publication number Publication date
CN104869081A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN104869081B (en) MESSAGE EXCHANGE processing method, business board and internet exchange system
CN102986172B (en) Virtual Cluster exchanges
US8787374B2 (en) Network system including lower and upper switches and link group interconnecting lower switches to upper switches, and method of operating the same
US9948576B2 (en) Mechanism for enabling layer two host addresses to be shielded from the switches in a network
CN102282810B (en) Load balancing
US8489754B2 (en) Full mesh optimization for spanning tree protocol
CN104426680B (en) Data transmission method, device and system
CN104518891B (en) Multicast group method for building up, device and fat tree network in fat tree network
JPH10178442A (en) Network repeater
CN102859973A (en) Method, apparatus and system for address resolution
CN103905325B (en) Double layer network data transferring method and network node
CN106209689B (en) Multicast data packet forwarding method and apparatus from VXLAN to VLAN
CN103326948B (en) A kind of exchange processing system and method
CN101035052B (en) Port separation method based on the virtual LAN
CN101257447A (en) Method, system and routing apparatus of load sharing
CN105991445A (en) Link aggregation group setting method and device
CN101877671A (en) Sending method of mirror image message, switch chip and Ethernet router
WO2023103461A1 (en) Cross-board message multicast replication and forwarding method and system based on clos architecture
CN104065582A (en) Message transmission method and gateway device
CN100382531C (en) Switching in method for virtual special network and realizing apparatus
CN100559772C (en) Mixed virtual private network system and backbone network edge apparatus and collocation method thereof
CN106130911B (en) Forward the cloud computing center network architecture of the organized structure of ridge interchanger of flow table Slice
CN106330783B (en) A kind of method and device of OpenFlow interchanger capability reporting
CN105743780A (en) Message transmission method and device
WO2017084228A1 (en) Method for managing traffic item in software-defined networking

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant