CN106685826A - Interchanger stacking system, slave unit, switching chip and method for processing protocol message - Google Patents

Interchanger stacking system, slave unit, switching chip and method for processing protocol message Download PDF

Info

Publication number
CN106685826A
CN106685826A CN201611094388.1A CN201611094388A CN106685826A CN 106685826 A CN106685826 A CN 106685826A CN 201611094388 A CN201611094388 A CN 201611094388A CN 106685826 A CN106685826 A CN 106685826A
Authority
CN
China
Prior art keywords
main equipment
protocol massages
cpu
information
exchange chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611094388.1A
Other languages
Chinese (zh)
Other versions
CN106685826B (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201611094388.1A priority Critical patent/CN106685826B/en
Publication of CN106685826A publication Critical patent/CN106685826A/en
Application granted granted Critical
Publication of CN106685826B publication Critical patent/CN106685826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/15Interconnection of switching modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/40Constructional details, e.g. power supply, mechanical construction or backplane
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Massaging Devices (AREA)

Abstract

An embodiment of the invention discloses an interchanger stacking system, a slave unit, a switching chip and a method for processing a protocol message. In the scheme, an ENCAP module which is a hardware module in the switching chip is independently used for packaging a protocol message which is about to be processed by a CPU of main equipment. Compared with a method of packaging the protocol message by forwarding the protocol message to a CPU of a slave unit in the prior art, the method not only consumes shorter time in a packaging process, but also simplifies a forwarding process, only the switching chip is utilized, the hardware forwarding speed is high, protocol convergence time of the stacking system is shortened greatly, the protocol message processing efficiency is improved, and the packet loss amount in a protocol switching process is reduced. In addition, DCB information, which is up-supplied to a CPU of a main unit, of the protocol message is packaged at one step in a RCPU head, and the information, which is up-supplied to the CPU of the main unit, of the protocol message received from a device is consistent to the information, which is up-supplied to the CPU of a stand-alone interchanger when the interchanger is in a stand-alone state.

Description

Switchboard stacked system, slave unit, exchange chip and processing protocol message method
Technical field
The present invention relates to network communication technology field, more particularly to a kind of switchboard stacked system, slave unit, exchange chip And processing protocol message method.
Background technology
With developing rapidly for information technology, network size drastically expands, the exchange interface quantity of the network planning in the past Network application demand is insufficient for, at this moment exchange piling technology is just arisen at the historic moment.Exchange piling technology is with stacking Cable links together several cassete exchange machines, for increasing the port density and bandwidth that exchange, realizes interchanger at a high speed mutually Connection and be managed collectively, logically for, they belong to same equipment, as long as signing in one interchanger of any of which, just Can to stacking in all interchangers be managed and configure, very convenient user uses, just as management stand-alone device.Heap Folded system is generally made up of a main equipment and multiple slave units, and each equipment includes central processing unit (Central Processing Unit, CPU) and exchange chip (SWITCH).Connected using high-speed port between main equipment and slave unit, its Middle main equipment undertakes the management of whole pile system and the operation of communication protocol.When pile system opens certain agreement, example Such as link aggregate control protocol (Link Aggregation Control Protocol, LACP), the port of each equipment receives During LACP agreements, the CPU treatment of main equipment will be sent to, at present in general pile system the port of slave unit receive agreement After message, the data flow of protocol massages is as shown in figure 1, protocol massages are sequentially passed through:The port of slave unit 01, the friendship of slave unit 01 Change CPU03, the exchange chip 02 of slave unit, the CPU06 of the exchange chip 05, main equipment of main equipment 04 of chip 02, slave unit. Corresponding step is specific as follows:
After step 1, the port of slave unit receive message, the exchange chip of slave unit is forwarded to.
Step 2, judge that the message is protocol massages through the exchange chip of slave unit, illustrate to need to be entered by the CPU of main equipment Row protocol processes;The exchange chip of slave unit by protocol massages by direct memory access (DMA) (Direct Memory Access, DMA) mechanism is sent to the CPU treatment of slave unit;Accordingly, after the CPU of slave unit receives protocol massages, protocol massages are carried out Encapsulation, it is necessary to encapsulate the media access control (Media Access Control, MAC) of slave unit for source MAC, main equipment MAC be purpose MAC, default Virtual LAN (Virtual Local Area Network, VLAN), inside pile system with Too fidonetFido type, after thus encapsulation generates new two layer Ethernet protocol (L2) head, then recalculates circulation Redundancy check (Cyclic Redundancy Check, CRC), and it is the exchange core of main equipment to set the destination interface of HIGIG CPU mouthfuls of piece;Wherein, HIGIG is a kind of universal serial bus interconnection scheme.
The protocol massages after encapsulation are sent back to the exchange chip of slave unit again for step 3, the CPU of slave unit.
After step 4, the exchange chip of slave unit receive the protocol massages after the CPU package of slave unit, according to message Destination interface in HIGIG, searches the forwarding logic of exchange chip, forwards the packet to and is connected by heap superimposing thread with main equipment Stack port, message is sent to the exchange chip of the main equipment of pile system by the stack port.
After step 5, the exchange chip of main equipment receive the protocol massages, again by the purpose in HIGIG of message Port, the forwarding logic for searching exchange chip relays to the CPU of main equipment;Accordingly, the CPU of main equipment receives the agreement After message, the protocol massages are decapsulated, protocol module treatment is then given again.
It can be seen from the above description that the CPU of main equipment is sent it to after the port reception protocol massages of slave unit Flow is various, and needs the CPU of slave unit protocol massages are carried out with software encapsulation operation, can packaged source MAC, purpose MAC, VLAN, Ethernet protocol type information sends back to the exchange chip of slave unit again after the completion of encapsulation, by the exchange chip of slave unit Relay to the exchange chip of main equipment, then treatment is gone to the CPU of main equipment.In the program, by the CPU package message of slave unit Mode speed it is slow, can so cause main equipment CPU receive protocol massages delay it is very big, protocol massages treatment not In time, the agreement very high to performance requirement to some does not reach performance requirement, especially in the case where protocol massages are relatively more, The CPU software treatment of slave unit does not come, and can also produce packet loss, causes agreement to be run abnormal.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of switchboard stacked system, slave unit, exchange chip and processing protocol Message method, the mode processing speed that the CPU for solving the problems, such as by slave unit is packaged to protocol massages is slower.
The purpose of the embodiment of the present invention is achieved through the following technical solutions:
A kind of exchange chip, is applied in the slave unit of switchboard stacked system, including encapsulation ENCAP modules and stacking end Mouthful;
The ENCAP modules, are used for:
The protocol massages of the main equipment central processor CPU treated in the pile system treatment to receiving, encapsulation is remote End processor RCPU heads;Wherein, described RCPU include two layers Ethernet protocol L2 and protocol massages it is original on send master set The data center bridging DCB information of standby CPU;Wherein, described L2 includes the internal purpose media access control MAC ground for using Location, and the slave unit CPU MAC Address;The DCB information at least include ingress port information, send on protocol massages reason, when Between stamp, virtual LAN VLAN information;
According to target MAC (Media Access Control) address, vlan information that L2 forward tables and the inside use, the main equipment is found The information of CPU mouthfuls of the exchange chip of exchange chip and main equipment;Wherein, at least make including the inside in the L2 forward tables CPU mouthfuls of the exchange chip of target MAC (Media Access Control) address, vlan information, the exchange chip of the main equipment and the main equipment The corresponding relation of information;
According to module/port MOD/PORT forward tables and the information of the exchange chip of the main equipment for finding, look into Find the stack port information with the exchange chip CPU port communications of the main equipment, and by encapsulation after the protocol massages turn It is sent to the stack port indicated by the stack port information for finding;At least set including the master in the MOD/PORT forward tables The information of standby exchange chip and the corresponding relation of stack port information;
The stack port, for being the agreement report after the protocol massages for receiving the ENCAP modules encapsulation Text encapsulation carries the HIGIG heads of the information of CPU mouthfuls of the exchange chip of the main equipment, and is sent to the exchange of the main equipment Chip.
It is preferred that the exchange chip also includes at central processing unit management interface controller CMIC modules and distal center Reason device processing detection RCPU CHECK modules;
The CMIC modules, for the protocol massages forwarding that in the state of RCPU CHECK modules enable, will be received To RCPU CHECK modules;In the state of RCPU CHECK modules are not enabled on, the protocol massages that will be received are forwarded to described The CPU of slave unit is packaged;
The RCPU CHECK modules, whether the protocol massages for judging to receive are to treat the main equipment CPU treatment Protocol massages;If it is, the protocol massages that will be received are forwarded to the ENCAP modules;Otherwise, the agreement report that will be received Text returns to the CMIC modules, by the CPU treatment of the CMIC module forwards to the slave unit.
It is preferred that the RCPU CHECK modules, specifically for:
Judge protocol massages on send reason whether belong to prestore on the reason for give the CPU of the main equipment;If It is, it is determined that the protocol massages for receiving are the protocol massages for treating main equipment treatment.
It is preferred that also including the internal priority information sent on protocol massages in the DCB information.
A kind of slave unit in switchboard stacked system, the slave unit includes the exchange core as described in any of the above Piece.
A kind of method of slave unit processing protocol message as described above, including:
The ENCAP modules of exchange chip are processed the main equipment central processor CPU treated in pile system for receiving Protocol massages, encapsulate remote processor RCPU heads;Wherein, described RCPU includes two layers Ethernet protocol L2 and agreement report The data center bridging DCB information of main equipment CPU is sent on text is original;Wherein, described L2 includes the internal purpose media for using Access control MAC addresses, and the slave unit CPU MAC Address;The DCB information at least includes ingress port information, agreement report Reason, timestamp, virtual LAN VLAN information are sent on text;
Target MAC (Media Access Control) address, vlan information that the ENCAP modules are used according to L2 forward tables and the inside, search To CPU mouthfuls of the exchange chip of the exchange chip and main equipment of the main equipment of information;Wherein, in the L2 forward tables at least Including the target MAC (Media Access Control) address that the inside uses, vlan information, the exchange of the exchange chip of the main equipment and the main equipment The corresponding relation of the information of CPU mouthfuls of chip;
Exchange of the ENCAP modules according to module/port MOD/PORT forward tables and the main equipment for finding The information of chip, finds the stack port information with the exchange chip CPU port communications of the main equipment, and by the institute after encapsulation State protocol massages and be forwarded to stack port indicated by the stack port information for finding;In the MOD/PORT forward tables at least The information of the exchange chip including the main equipment and the corresponding relation of stack port information;
It is the agreement report after the stack port for finding receives the protocol massages of the ENCAP modules encapsulation Text encapsulation carries the HIGIG heads of the information of CPU mouthfuls of the exchange chip of the main equipment, and is sent to the exchange of the main equipment Chip.
It is preferred that the agreement of the main equipment CPU that treats in pile system treatment of the ENCAP modules of exchange chip to receiving Message, before encapsulation RCPU, the method also includes:
The forwarding logic module of exchange chip judges whether the message for receiving is protocol massages;If protocol massages, The protocol massages are forwarded to the central processing unit management interface controller CMIC modules of exchange chip;
The shape that the CMIC modules are enabled in the distal center processor processing detection RCPU CHECK modules of exchange chip Under state, the protocol massages that will be received are forwarded to RCPU CHECK modules;In the state of RCPU CHECK modules are not enabled on, will The CPU that the protocol massages for receiving are forwarded to the slave unit is packaged;
The RCPU CHECK modules judge whether the protocol massages for receiving are the agreement for treating the main equipment CPU treatment Message;If it is, the protocol massages that will be received are forwarded to the ENCAP modules;Otherwise, the protocol massages that will be received The CMIC modules are returned to, by the CPU treatment of the CMIC module forwards to the slave unit.
It is preferred that the RCPU CHECK modules judge whether the protocol massages for receiving are the agreement for treating main equipment treatment Message, including:
The RCPU CHECK modules judge protocol massages on send reason whether belong to prestore on give the master and set The reason for standby CPU;If it is, determining that the protocol massages are the protocol massages for treating main equipment treatment.
If it is preferred that the forwarding logic module judges that the message that the port of the slave unit receives is agreement report Text, the method also includes:
The internal priority information sent on protocol massages described in the forwarding logic module assignment, so as to the CPU of main equipment Internal priority information according to being sent on protocol massages is processed the protocol massages.
A kind of switchboard stacked system, including main equipment and slave unit as described above.
A kind of method of processing protocol message in switchboard stacked system as described above, including:
In slave unit, the ENCAP modules of exchange chip are to the main equipment central processing unit treated in pile system that receives The protocol massages of CPU treatment, encapsulate remote processor RCPU heads;Wherein, described RCPU includes two layers of Ethernet protocol L2 The data center bridging DCB information of main equipment CPU is sent on head and protocol massages are original;Wherein, described L2 uses including inside Purpose MAC address, and the slave unit CPU MAC Address;The DCB information at least includes inbound port Reason, timestamp, virtual LAN VLAN information are sent on information, protocol massages;
Target MAC (Media Access Control) address, vlan information that the ENCAP modules are used according to L2 forward tables and the inside, search To CPU mouthfuls of the exchange chip of the exchange chip and main equipment of the main equipment of information;Wherein, in the L2 forward tables at least Including the target MAC (Media Access Control) address that the inside uses, vlan information, the exchange of the exchange chip of the main equipment and the main equipment The corresponding relation of the information of CPU mouthfuls of chip;
Exchange of the ENCAP modules according to module/port MOD/PORT forward tables and the main equipment for finding The information of chip, finds the stack port information with the exchange chip CPU port communications of the main equipment, and by the institute after encapsulation State protocol massages and be forwarded to stack port indicated by the stack port information for finding;In the MOD/PORT forward tables at least The information of the exchange chip including the main equipment and the corresponding relation of stack port information;
It is the agreement report after the stack port for finding receives the protocol massages of the ENCAP modules encapsulation Text encapsulation carries the HIGIG heads of the information of CPU mouthfuls of the exchange chip of the main equipment, and is sent to the exchange of the main equipment Chip;
In main equipment, exchange chip receives the protocol massages that the slave unit sends, and is forwarded to the CPU of main equipment.
It is preferred that in slave unit, the ENCAP modules of exchange chip are to the main equipment treated in the pile system that receives The protocol massages of CPU treatment, before encapsulation RCPU, the method also includes:
In the slave unit, the logical forwarding module of exchange chip receives message by the inbound port of slave unit;
The forwarding logic module judges whether the message for receiving is protocol massages;If protocol massages, this is assisted View message is forwarded to the central processing unit management interface controller CMIC modules of the exchange chip of slave unit;
The distal center processor processing detection RCPU CHECK modules of exchange chip of the CMIC modules in slave unit In the state of enable, the protocol massages that will be received are forwarded to RCPU CHECK modules;It is not enabled in RCPU CHECK modules Under state, the CPU that the protocol massages that will be received are forwarded to the slave unit is packaged;
The RCPU CHECK modules judge whether the protocol massages for receiving are the agreement for treating the main equipment CPU treatment Message;If it is, the protocol massages that will be received are forwarded to the ENCAP modules;Otherwise, the protocol massages that will be received The CMIC modules are returned to, by the CPU treatment of the CMIC module forwards to the slave unit.
The embodiment of the present invention has the beneficial effect that:
In switchboard stacked system provided in an embodiment of the present invention, slave unit, exchange chip and processing protocol message method, Individually with ENCAP modules this hardware module in exchange chip, the protocol massages for specially treating main equipment CPU treatment are carried out Encapsulation, it is not only shorter the time required to encapsulation process compared with the CPU for being forwarded to slave unit in the prior art is packaged, and Repeating process is simplified, only hardware forwarding speed is carried out faster using exchange chip, pile system association is so greatly improved View convergence time, the treatment effeciency to protocol massages improves, and reduces the packet loss quantity in agreement reversed process.In addition, also In RCPU it is disposable encapsulate protocol massages it is original on send main equipment CPU DCB information, it is ensured that by protocol massages The information sent on original is preserved, and is sent to the CPU of main equipment, without being lost, can accomplish what slave unit end received The information of the CPU for giving unit on information and the protocol massages under interchanger unit that the CPU of main equipment is given on protocol massages is Consistent.
Brief description of the drawings
Fig. 1 is the data flow diagram of the protocol massages in a kind of switchboard stacked system of the prior art;
Fig. 2 is a kind of structural representation of exchange chip provided in an embodiment of the present invention;
Fig. 3 is the structural representation of another exchange chip provided in an embodiment of the present invention;
Fig. 4 is the structural representation of another exchange chip provided in an embodiment of the present invention;
Fig. 5 is the method for the slave unit processing protocol message in a kind of switchboard stacked system provided in an embodiment of the present invention Flow chart;
Fig. 6 is the method flow diagram of processing protocol message in a kind of switchboard stacked system provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of switchboard stacked system provided in an embodiment of the present invention.
Specific embodiment
A kind of switchboard stacked system, slave unit, the exchange chip for providing the present invention with reference to the accompanying drawings and examples And processing protocol message method is illustrated in greater detail.
As shown in Fig. 2 the embodiment of the present invention provides a kind of exchange chip 20, the slave unit of switchboard stacked system is applied to In, including encapsulation (ENCAP) module 21 and stack port 22;
ENCAP modules 21, are used for:
The protocol massages of the main equipment CPU treated in the pile system treatment to receiving, encapsulation remote processor (Remote CPU, RCPU) head;Wherein, RCPU include two layers Ethernet protocol L2 and protocol massages it is original on send main equipment CPU's Data center bridging (Data Center Bridge, DCB) information;Wherein, L2 includes the internal target MAC (Media Access Control) address for using, With the MAC Address of slave unit CPU;DCB information at least includes sending reason, timestamp, virtual office on ingress port information, protocol massages Domain net vlan information;
Target MAC (Media Access Control) address, the vlan information used according to L2 forward tables and inside, find the exchange chip of main equipment And the information of CPU mouthfuls of the exchange chip of main equipment;Wherein, the internal target MAC (Media Access Control) address for using at least is included in L2 forward tables, The corresponding relation of the information of CPU mouthfuls of vlan information, the exchange chip of main equipment and the exchange chip of main equipment;
According to module/port (MOD/PORT) forward table and the information of the exchange chip of the main equipment for finding, search To the stack port information with the exchange chip CPU port communications of main equipment, and the protocol massages after encapsulation are forwarded to find Stack port information indicated by stack port;At least include the information of the exchange chip of main equipment in MOD/PORT forward tables With the corresponding relation of stack port information;
Stack port 22, for after the protocol massages for receiving the encapsulation of ENCAP modules, being that protocol massages encapsulation carries main setting The HIGIG heads of the information of CPU mouthfuls of standby exchange chip, and it is sent to the exchange chip of main equipment.
Wherein, RCPU is the CPU of the miscellaneous equipment in addition to the CPU of this slave unit for slave unit.
Wherein, the MAC of slave unit is source MAC in L2;The purpose that internal (i.e. inside switchboard stacked system) is used MAC, can be reserved MAC;VLAN is default setting, for example, can be VLAN1;Ethernet protocol type is exchange piling The protocol type that internal system is used.
Wherein, L2 forward tables and MOD/PORT forward tables pre-set;L2 forward tables store different types of message Source MAC, purpose MAC, vlan information and destination interface information (being made up of module information where destination interface and port information) Corresponding relation;The corresponding relation of module information where MOD/PORT forward table storage purposes port and local port information. In the present embodiment, CPU mouthfuls of the exchange chip of main equipment is exactly destination interface.
In the scheme of prior art, when being packaged to protocol massages, simply by slave unit CPU selectivity by certain A little specific information are packaged, and are not to be all packaged all of information related to protocol massages, and in this programme, By protocol massages it is original on send the DCB information of main equipment CPU to be all encapsulated in RCPU.
In Fig. 2, arrow shows that protocol massages data flow is moved towards, by the ENCAP modules of exchange chip directly to agreement report The stack port being connected with the main equipment in switchboard stacked system is transmitted to after text encapsulation.
In the embodiment of the present invention, individually with ENCAP modules this hardware module in exchange chip, specially treat master and setting The protocol massages of standby CPU treatment are packaged, and compared with the CPU for being forwarded to slave unit in the prior art is packaged, not only seal It is shorter the time required to dress process, and repeating process is simplified, only carry out hardware forwarding speed faster using exchange chip, so The pile system protocol convergence time is greatly improved, the treatment effeciency to protocol massages improves, and reduces agreement and switched Packet loss quantity in journey.In addition, also in RCPU it is disposable encapsulate protocol massages it is original on send main equipment CPU DCB Information, it is ensured that by protocol massages it is original on the information sent preserve, be sent to the CPU of main equipment, without being lost, Under information and the interchanger unit of the CPU that can accomplish to give main equipment on the protocol massages that slave unit end receives on protocol massages The information for giving the CPU of unit is consistent.
In the embodiment of the present invention, ENCAP modules are the original hardware modules of exchange chip, original hard in exchange chip Realized in part module basis, it is not necessary to additionally increase new module, the complexity of the hardware circuit of exchange chip will not be increased Degree.
In the exchange chip of the slave unit of the embodiment of the present invention, except including the ENCAP moulds to above related embodiment Block, as shown in figure 3, the exchange chip also includes central processing unit management interface controller (CPU Management Interface Controller, CMIC) module and distal center processor processing detection (RCPU CHECK) module.
Wherein, CMIC modules, for the protocol massages forwarding that in the state of RCPU CHECK modules enable, will be received To RCPU CHECK modules;In the state of RCPU CHECK modules are not enabled on, the protocol massages that will be received are forwarded to from setting Standby CPU is packaged;
RCPU CHECK modules, whether the protocol massages for judging to receive are to treat the agreement report that main equipment CPU is processed Text;If it is, the protocol massages that will be received are forwarded to ENCAP modules;Otherwise, the protocol massages that will be received return to CMIC moulds Block, by the CPU treatment of CMIC module forwards to slave unit.
In message repeating process, the message that transmitted to CPU is processed can all reach CMIC modules;RCPU CHECK modules It is exactly mainly to detect to need to give the distal end CPU protocol massages that (i.e. the CPU of main equipment) is processed with detection function, To be transmitted to the CPU treatment of main equipment after being packaged, what the CPU for not needing main equipment was processed, just directly turn It is sent to the CPU treatment of this slave unit.In implementation, RCPU CHECK modules can be enabled when slave unit is initialized Above-mentioned detection function.
During specific implementation, it is preferred that RCPU CHECK modules, specifically for:
Judge protocol massages on send reason whether belong to prestore on the reason for give the CPU of main equipment;If it is, It is determined that the protocol massages for receiving are the protocol massages for treating main equipment treatment.
When above give the protocol massages of CPU of main equipment it is more when, occur that blocking is queued up at CPU mouthfuls of main equipment Situation, in order to the protocol massages for ensureing high priority will not be dropped, the CPU priority treatment internal priorities of main equipment are high Protocol massages.Thus, it is preferred that DCB information includes the internal priority information sent on protocol massages.
It is preferred that as shown in figure 4, in exchange chip also include forwarding logic module 25, for judging to be connect from inbound port 26 Whether the message of receipts is protocol massages, if protocol massages, illustrates to need CPU treatment, is forwarded to CMIC modules, and divide With the internal priority information sent on protocol massages.
Based on same inventive concept, the embodiment of the present invention also provides the slave unit in a kind of switchboard stacked system, from Equipment includes the exchange chip as described in any of the above embodiment.
Based on same inventive concept, the embodiment of the present invention also provides a kind of slave unit processing protocol report as described above The method of text, as shown in figure 5, including:
The association of the main equipment CPU treated in the pile system treatment of step 510, the ENCAP modules of exchange chip to receiving View message, encapsulates RCPU heads;Wherein, RCPU include L2 and protocol massages it is original on send the DCB information of main equipment CPU; Wherein, the MAC Address of the L2 target MAC (Media Access Control) address for including that inside uses, and slave unit CPU;DCB information at least includes inbound port Reason, timestamp, vlan information are sent on information, protocol massages;
Target MAC (Media Access Control) address, vlan information that step 520, ENCAP modules are used according to L2 forward tables and inside, search To CPU mouthfuls of the exchange chip of the exchange chip and main equipment of main equipment of information;Wherein, inside is at least included in L2 forward tables The information of CPU mouthfuls of the target MAC (Media Access Control) address for using, vlan information, the exchange chip of main equipment and the exchange chip of main equipment Corresponding relation;
Step 530, ENCAP modules are according to MOD/PORT forward tables and the letter of the exchange chip of the main equipment for finding Breath, finds the stack port information with the exchange chip CPU port communications of main equipment, and the protocol massages after encapsulation are forwarded to The stack port indicated by stack port information for finding;At least include the exchange chip of main equipment in MOD/PORT forward tables Information and stack port information corresponding relation;
It is protocol massages envelope after step 540, the stack port for finding receive the protocol massages of ENCAP modules encapsulation Dress carries the HIGIG heads of the information of CPU mouthfuls of the exchange chip of main equipment, and is sent to the exchange chip of main equipment.
In the embodiment of the present invention, individually with ENCAP modules this hardware module in exchange chip, specially treat master and setting The protocol massages of standby CPU treatment are packaged, and compared with the CPU for being forwarded to slave unit in the prior art is packaged, not only seal It is shorter the time required to dress process, and repeating process is simplified, only carry out hardware forwarding speed faster using exchange chip, so The pile system protocol convergence time is greatly improved, the treatment effeciency to protocol massages improves, and reduces agreement and switched Packet loss quantity in journey.In addition, also in RCPU it is disposable encapsulate protocol massages it is original on send main equipment CPU DCB Information, it is ensured that by protocol massages it is original on the information sent preserve, be sent to the CPU of main equipment, without being lost, Under information and the interchanger unit of the CPU that can accomplish to give main equipment on the protocol massages that slave unit end receives on protocol massages The information for giving the CPU of unit is consistent.
It is preferred that the agreement of the main equipment CPU that treats in pile system treatment of the ENCAP modules of exchange chip to receiving Message, before encapsulation RCPU, method provided in an embodiment of the present invention also includes:
The forwarding logic module of exchange chip judges whether the message for receiving is protocol massages;If protocol massages, The protocol massages are forwarded to the CMIC modules of exchange chip;
In the state of the RCPU CHECK modules of exchange chip are enabled, the protocol massages that will be received are forwarded CMIC modules To RCPU CHECK modules;In the state of RCPU CHECK modules are not enabled on, the protocol massages that will be received are forwarded to from setting Standby CPU is packaged;
RCPU CHECK modules judge whether the protocol massages for receiving are the protocol massages for treating main equipment CPU treatment;Such as Fruit is that the protocol massages that will be received are forwarded to ENCAP modules;Otherwise, the protocol massages that will be received return to CMIC modules, by CMIC module forwards to slave unit CPU treatment.
It is preferred that RCPU CHECK modules judge whether the protocol massages for receiving are the agreement report for treating main equipment treatment Text, specific implementation can be:RCPU CHECK modules judge protocol massages on send reason whether belong to prestore on give To main equipment CPU the reason for;If it is, determining that protocol massages are the protocol massages for treating main equipment treatment.
It is preferred that if forwarding logic module judged that the message that the port of slave unit receives is protocol massages, the present invention The processing method that embodiment is provided also includes:
That is sent on forwarding logic module assignment protocol massages enters internal priority information, so that the CPU of main equipment is according to association The internal priority information for discussing message up sending is processed protocol massages.
Based on same inventive concept, the embodiment of the present invention also provides a kind of switchboard stacked system, including main equipment and Slave unit as described in any of the above embodiment.
Based on same inventive concept, the embodiment of the present invention also provides a kind of exchange piling as described above in Example The method of processing protocol message in system, as shown in fig. 6, the method includes:
In step 610, slave unit, the ENCAP modules of exchange chip are to the main equipment CPU treated in pile system that receives The protocol massages for the treatment of, encapsulate RCPU heads;Wherein, RCPU include L2 and protocol massages it is original on send main equipment CPU's DCB information;Wherein, the MAC Address of the L2 target MAC (Media Access Control) address for including that inside uses, and slave unit CPU;DCB information is at least wrapped Include and reason, timestamp, vlan information are sent on ingress port information, protocol massages;
Target MAC (Media Access Control) address, vlan information that step 620, ENCAP modules are used according to L2 forward tables and inside, search To CPU mouthfuls of the exchange chip of the exchange chip and main equipment of main equipment of information;Wherein, inside is at least included in L2 forward tables The information of CPU mouthfuls of the target MAC (Media Access Control) address for using, vlan information, the exchange chip of main equipment and the exchange chip of main equipment Corresponding relation;
Step 630, ENCAP modules are according to MOD/PORT forward tables and the letter of the exchange chip of the main equipment for finding Breath, finds the stack port information with the exchange chip CPU port communications of main equipment, and the protocol massages after encapsulation are forwarded to The stack port indicated by stack port information for finding;At least include the exchange chip of main equipment in MOD/PORT forward tables Information and stack port information corresponding relation;
It is protocol massages envelope after step 640, the stack port for finding receive the protocol massages of ENCAP modules encapsulation Dress carries the HIGIG heads of the information of CPU mouthfuls of the exchange chip of main equipment, and is sent to the exchange chip of main equipment;
In step 650, main equipment, exchange chip receives the protocol massages that slave unit sends, and is forwarded to main equipment CPU。
It is preferred that in slave unit, the ENCAP modules of exchange chip are to the main equipment CPU treated in pile system that receives The protocol massages for the treatment of, before encapsulation RCPU, method provided in an embodiment of the present invention also includes:
In slave unit, the logical forwarding module of exchange chip receives message by the inbound port of slave unit;
Forwarding logic module judges whether the message for receiving is protocol massages;If protocol massages, by the agreement report Text is forwarded to the CMIC modules of the exchange chip of slave unit;
CMIC modules the exchange chip of slave unit RCPU CHECK modules enable in the state of, the agreement that will be received Message is forwarded to RCPU CHECK modules;In the state of RCPU CHECK modules are not enabled on, the protocol massages that will be received turn The CPU for being sent to slave unit is packaged;
RCPU CHECK modules judge whether the protocol massages for receiving are the protocol massages for treating main equipment CPU treatment;Such as Fruit is that the protocol massages that will be received are forwarded to ENCAP modules;Otherwise, the protocol massages that will be received return to CMIC modules, by CMIC module forwards to slave unit CPU treatment.
With reference to specific application scenarios to a kind of switchboard stacked system provided in an embodiment of the present invention, slave unit, Exchange chip and processing protocol message method are described below in greater detail.
In the switchboard stacked system of the present embodiment, as shown in fig. 7, comprises main equipment 30 and slave unit 40, main equipment bag CPU50 and exchange chip 60 are included, slave unit 40 includes exchange chip 20 and CPU70.
The hardware configuration of the exchange chip in the present embodiment as shown in figure 4, including:Inbound port 26, forwarding logic module 25, CMIC modules 23, RCPU CHECK modules 24, ENCAP modules 21, stack port 22.
Based on this, the processing procedure in the present embodiment to protocol massages is specific as follows:
Step one, receive message from inbound port 26 after, be sent to forwarding logic module 25.
Step 2, forwarding logic module 25 judge whether the message is protocol massages, if protocol massages, forwarding logic Module 25 writes internal priority information in the corresponding DCB information of protocol massages, and protocol massages are forwarded into CMIC modules 23。
Protocol massages are forwarded to RCPU CHECK modules 24 by step 3, CMIC modules 23.
Wherein, the above-mentioned detection function of RCPU CHECK modules 24 has been enabled when slave unit is initialized.
Step 4, RCPU CHECK modules 24 judge whether the protocol massages for receiving are the association for treating main equipment CPU treatment View message;If it is, the protocol massages that will be received are forwarded to ENCAP modules;Otherwise, the protocol massages that will be received are returned CMIC modules, by the CPU treatment of CMIC module forwards to slave unit.
In implementation, register the reason for the RCPU CHECK modules of exchange chip can be pre-set, the value of register is The reason for CPU of main equipment is given on protocol massages, at least including by being sent on protocol massages register the reason for, by CAP The reason for being sent on matched rule, sets the reason for sending, if meeting these reasons of setting, it is necessary to enter by MAC table ENCAP module automatic packagings, to be forwarded to the CPU of main equipment.
Step 5, ENCAP modules 21 are that protocol massages encapsulate RCPU heads;Wherein, RCPU includes L2 and agreement report The DCB information of main equipment CPU is sent on text is original;Wherein, the L2 target MAC (Media Access Control) address for including that inside uses, and slave unit CPU MAC Address;DCB information at least includes sending original on the internal priority information sent on ingress port information, protocol massages, protocol massages Cause, timestamp, vlan information.
In implementation, in L2, VLAN is default vlan 1, and Ethernet protocol type is the internal protocol type for using.
In implementation, the internal priority information that ENCAP modules will be sent on the protocol massages is individually encapsulated into RCPU In CPU_TC fields.The field takes 2 byte wides, and the 28th byte that the CPU_TC fields are located at encapsulated message (does not include VLAN It is the 24th byte in the case of TAG).
Target MAC (Media Access Control) address, vlan information that step 6, ENCAP modules 21 are used according to L2 forward tables and inside, search To CPU mouthfuls of the exchange chip of the exchange chip and main equipment of main equipment of information;Wherein, inside is at least included in L2 forward tables The information of CPU mouthfuls of the target MAC (Media Access Control) address for using, vlan information, the exchange chip of main equipment and the exchange chip of main equipment Corresponding relation.
Step 7, ENCAP modules 21 are according to MOD/PORT forward tables and the letter of the exchange chip of the main equipment for finding Breath, finds the stack port information with the exchange chip CPU port communications of main equipment, and the protocol massages after encapsulation are forwarded to The stack port indicated by stack port information for finding;At least include the exchange chip of main equipment in MOD/PORT forward tables Information and stack port information corresponding relation.
It is protocol massages envelope after step 8, the stack port 22 for finding receive the protocol massages of ENCAP modules encapsulation Dress carries the HIGIG heads of the information of CPU mouthfuls of the exchange chip of main equipment, and is sent to the exchange chip 60 of main equipment.
Step 9, the agreement of the exchange chip 60 after the stack port that is connected with slave unit receives encapsulation of main equipment After message, the protocol massages carry HIGIG heads, and the exchange chip of main equipment searches the purpose of the existing protocol massages of the HIGIG hairs Port is CPU mouthful of exchange chip, then protocol massages directly are transmitted into CPU mouthfuls of exchange chip.
When the CPU50 of the CPU mouthfuls of main equipment of connection of step 10 and exchange chip receives the protocol massages after encapsulation, The head of RCPU is parsed, above-mentioned L2 and DCB information is obtained, it is possible to the reason for obtaining the CPU that main equipment is given on protocol massages, Receive the inbound port of protocol massages, internal priority information etc..
Due to being packaged with internal priority information in the RCPU of protocol massages, wound is needed in main equipment exchange chip New inside suction parameter of configuration access (Ingress Content Aware Processer, an ICAP) template list item is built to be used for Protocol fields after the encapsulation of match protocol message, and User Defined (User File Directory, UDF) is set, set The field of matching is that message skew is initially 24 bytes, and byte wide is 2 bytes, for the RCPU heads of message after matching encapsulation In CPU_TC internal priority value fields.So by match the two fields can just identify such protocol massages and certain The message of individual internal priority value, then carries out the specially treated of next step for this kind of message.
For the message of certain internal priority being identified above, ICAP relevant actions are set, are acted and is:In main equipment The internal priority of CPU changes the grade of service (Class of Service, COS) queue of transmitted to CPU, changes internal priority Value be matching CPU_TC fields (internal priority value).This ensures that on send slave unit CPU priority COS teams Arrange consistent by the priority COS queues of the CPU after forwarding to main equipment with protocol massages, so as to ensure the report of high priority Text, in high-priority queue, preferentially by the CPU treatment of main equipment.
In the present embodiment, the data flow of protocol massages trend as shown in the arrow of Fig. 7, by the exchange core of slave unit Piece, the exchange chip of main equipment, the CPU of main equipment, compared with the data flow of the protocol massages shown in Fig. 1 of the prior art, The flow by the CPU of slave unit is saved, to the processing speed of protocol massages faster.
In switchboard stacked system provided in an embodiment of the present invention, slave unit, exchange chip and processing protocol message method, Individually with ENCAP modules this hardware module in exchange chip, the protocol massages for specially treating main equipment CPU treatment are carried out Encapsulation, it is not only shorter the time required to encapsulation process compared with the CPU for being forwarded to slave unit in the prior art is packaged, and Repeating process is simplified, only hardware forwarding speed is carried out faster using exchange chip, pile system association is so greatly improved View convergence time, the treatment effeciency to protocol massages improves, and reduces the packet loss quantity in agreement reversed process.In addition, also In RCPU it is disposable encapsulate protocol massages it is original on send main equipment CPU DCB information, it is ensured that by protocol massages The information sent on original is preserved, and is sent to the CPU of main equipment, without being lost, can accomplish what slave unit end received The information of the CPU for giving unit on information and the protocol massages under interchanger unit that the CPU of main equipment is given on protocol massages is Consistent.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is produced The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (12)

1. a kind of exchange chip, is applied in the slave unit of switchboard stacked system, it is characterised in that including encapsulation ENCAP moulds Block and stack port;
The ENCAP modules, are used for:
The protocol massages of the main equipment central processor CPU treated in the pile system treatment to receiving, encapsulate far-end Reason device RCPU heads;Wherein, described RCPU include two layers Ethernet protocol L2 and protocol massages it is original on send main equipment CPU Data center bridging DCB information;Wherein, described L2 includes the internal purpose MAC address for using, and institute State the MAC Address of slave unit CPU;The DCB information at least includes sending reason, timestamp, void on ingress port information, protocol massages Intend LAN vlan information;
According to target MAC (Media Access Control) address, vlan information that L2 forward tables and the inside use, the exchange of the main equipment is found The information of CPU mouthfuls of the exchange chip of chip and main equipment;Wherein, at least include what the inside used in the L2 forward tables The information of CPU mouthfuls of the exchange chip of target MAC (Media Access Control) address, vlan information, the exchange chip of the main equipment and the main equipment Corresponding relation;
According to module/port MOD/PORT forward tables and the information of the exchange chip of the main equipment for finding, find With the stack port information of the exchange chip CPU port communications of the main equipment, and by encapsulation after the protocol massages be forwarded to The stack port indicated by stack port information for finding;At least include the main equipment in the MOD/PORT forward tables The information of exchange chip and the corresponding relation of stack port information;
The stack port, for being the protocol massages envelope after the protocol massages for receiving the ENCAP modules encapsulation Dress carries the HIGIG heads of the information of CPU mouthfuls of the exchange chip of the main equipment, and is sent to the exchange core of the main equipment Piece.
2. exchange chip according to claim 1, it is characterised in that the exchange chip is also managed including central processing unit Interface controller CMIC modules and distal center processor processing detection RCPU CHECK modules;
The CMIC modules, in the state of RCPU CHECK modules enable, the protocol massages that will be received to be forwarded to RCPU CHECK modules;In the state of RCPU CHECK modules are not enabled on, the protocol massages that will be received be forwarded to it is described from The CPU of equipment is packaged;
The RCPU CHECK modules, whether the protocol massages for judging to receive are to treat the association that the main equipment CPU is processed View message;If it is, the protocol massages that will be received are forwarded to the ENCAP modules;Otherwise, the protocol massages that will be received are returned The CMIC modules are returned, by the CPU treatment of the CMIC module forwards to the slave unit.
3. exchange chip according to claim 2, it is characterised in that the RCPU CHECK modules, specifically for:
Judge protocol massages on send reason whether belong to prestore on the reason for give the CPU of the main equipment;If it is, It is determined that the protocol massages for receiving are the protocol massages for treating main equipment treatment.
4. exchange chip according to claim 1, it is characterised in that also include being sent on protocol massages in the DCB information Internal priority information.
5. the slave unit in a kind of switchboard stacked system, it is characterised in that the slave unit includes that Claims 1 to 4 such as is appointed Exchange chip described in one.
6. a kind of method of slave unit processing protocol message as claimed in claim 5, it is characterised in that including:
The agreement of the main equipment central processor CPU treated in pile system treatment of the ENCAP modules of exchange chip to receiving Message, encapsulates remote processor RCPU heads;Wherein, described RCPU includes two layers Ethernet protocol L2 and protocol massages original The data center bridging DCB information of main equipment CPU is sent on beginning;Wherein, described L2 includes the internal purpose media interviews for using Control MAC Address, and the slave unit CPU MAC Address;The DCB information at least includes on ingress port information, protocol massages Send reason, timestamp, virtual LAN VLAN information;
Target MAC (Media Access Control) address, vlan information that the ENCAP modules are used according to L2 forward tables and the inside, find institute State CPU mouthfuls of the exchange chip of main equipment and the exchange chip of main equipment of information;Wherein, at least include in the L2 forward tables The exchange chip of the target MAC (Media Access Control) address that the inside uses, vlan information, the exchange chip of the main equipment and the main equipment CPU mouthfuls information corresponding relation;
The ENCAP modules are according to module/port MOD/PORT forward tables and the exchange chip of the main equipment for finding Information, find the stack port information with the exchange chip CPU port communications of the main equipment, and by encapsulation after the association View message is forwarded to the stack port indicated by the stack port information for finding;At least include in the MOD/PORT forward tables The information of the exchange chip of the main equipment and the corresponding relation of stack port information;
It is the protocol massages envelope after the stack port for finding receives the protocol massages of the ENCAP modules encapsulation Dress carries the HIGIG heads of the information of CPU mouthfuls of the exchange chip of the main equipment, and is sent to the exchange core of the main equipment Piece.
7. method according to claim 6, it is characterised in that the ENCAP modules of exchange chip are stacked to waiting of receiving The protocol massages of the main equipment CPU treatment in system, before encapsulation RCPU, the method also includes:
The forwarding logic module of exchange chip judges whether the message for receiving is protocol massages;If protocol massages, by this Protocol massages are forwarded to the central processing unit management interface controller CMIC modules of exchange chip;
The CMIC modules exchange chip distal center processor processing detection RCPU CHECK modules enable in the state of, The protocol massages that will be received are forwarded to RCPU CHECK modules;In the state of RCPU CHECK modules are not enabled on, will receive To protocol massages be forwarded to the CPU of the slave unit and be packaged;
The RCPU CHECK modules judge whether the protocol massages for receiving are the agreement report for treating the main equipment CPU treatment Text;If it is, the protocol massages that will be received are forwarded to the ENCAP modules;Otherwise, the protocol massages that will be received are returned The CMIC modules are returned, by the CPU treatment of the CMIC module forwards to the slave unit.
8. method according to claim 7, it is characterised in that the RCPU CHECK modules judge the agreement report for receiving Whether text is the protocol massages for treating main equipment treatment, including:
The RCPU CHECK modules judge protocol massages on send reason whether belong to prestore on give the main equipment The reason for CPU;If it is, determining that the protocol massages are the protocol massages for treating main equipment treatment.
9. method according to claim 8, it is characterised in that if the forwarding logic module judges the slave unit The message that port receives is protocol massages, and the method also includes:
The internal priority information sent on protocol massages described in the forwarding logic module assignment, so as to main equipment CPU according to The internal priority information sent on protocol massages is processed the protocol massages.
10. a kind of switchboard stacked system, it is characterised in that including main equipment and slave unit as claimed in claim 5.
The method of processing protocol message in a kind of 11. switchboard stacked systems as claimed in claim 10, it is characterised in that bag Include:
In slave unit, the ENCAP modules of exchange chip are at the main equipment central processor CPU treated in pile system that receives The protocol massages of reason, encapsulate remote processor RCPU heads;Wherein, described RCPU includes two layers Ethernet protocol L2 and association The data center bridging DCB information of main equipment CPU is sent on view message is original;Wherein, described L2 includes the internal purpose for using MAC address, and the slave unit CPU MAC Address;The DCB information at least includes ingress port information, association View message up sending reason, timestamp, virtual LAN VLAN information;
Target MAC (Media Access Control) address, vlan information that the ENCAP modules are used according to L2 forward tables and the inside, find institute State CPU mouthfuls of the exchange chip of main equipment and the exchange chip of main equipment of information;Wherein, at least include in the L2 forward tables The exchange chip of the target MAC (Media Access Control) address that the inside uses, vlan information, the exchange chip of the main equipment and the main equipment CPU mouthfuls information corresponding relation;
The ENCAP modules are according to module/port MOD/PORT forward tables and the exchange chip of the main equipment for finding Information, find the stack port information with the exchange chip CPU port communications of the main equipment, and by encapsulation after the association View message is forwarded to the stack port indicated by the stack port information for finding;At least include in the MOD/PORT forward tables The information of the exchange chip of the main equipment and the corresponding relation of stack port information;
It is the protocol massages envelope after the stack port for finding receives the protocol massages of the ENCAP modules encapsulation Dress carries the HIGIG heads of the information of CPU mouthfuls of the exchange chip of the main equipment, and is sent to the exchange core of the main equipment Piece;
In main equipment, exchange chip receives the protocol massages that the slave unit sends, and is forwarded to the CPU of main equipment.
12. methods according to claim 11, it is characterised in that in slave unit, the ENCAP modules of exchange chip are to receiving To treat in the pile system main equipment CPU treatment protocol massages, encapsulation RCPU before, the method also includes:
In the slave unit, the logical forwarding module of exchange chip receives message by the inbound port of slave unit;
The forwarding logic module judges whether the message for receiving is protocol massages;If protocol massages, by the agreement report Text is forwarded to the central processing unit management interface controller CMIC modules of the exchange chip of slave unit;
The distal center processor processing detection RCPU CHECK modules of exchange chip of the CMIC modules in slave unit are enabled In the state of, the protocol massages that will be received are forwarded to RCPU CHECK modules;In the state that RCPU CHECK modules are not enabled on Under, the CPU that the protocol massages that will be received are forwarded to the slave unit is packaged;
The RCPU CHECK modules judge whether the protocol massages for receiving are the agreement report for treating the main equipment CPU treatment Text;If it is, the protocol massages that will be received are forwarded to the ENCAP modules;Otherwise, the protocol massages that will be received are returned The CMIC modules are returned, by the CPU treatment of the CMIC module forwards to the slave unit.
CN201611094388.1A 2016-12-01 2016-12-01 Switchboard stacked system, from equipment, exchange chip and processing protocol message method Active CN106685826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611094388.1A CN106685826B (en) 2016-12-01 2016-12-01 Switchboard stacked system, from equipment, exchange chip and processing protocol message method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611094388.1A CN106685826B (en) 2016-12-01 2016-12-01 Switchboard stacked system, from equipment, exchange chip and processing protocol message method

Publications (2)

Publication Number Publication Date
CN106685826A true CN106685826A (en) 2017-05-17
CN106685826B CN106685826B (en) 2019-09-17

Family

ID=58865993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611094388.1A Active CN106685826B (en) 2016-12-01 2016-12-01 Switchboard stacked system, from equipment, exchange chip and processing protocol message method

Country Status (1)

Country Link
CN (1) CN106685826B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257323A (en) * 2017-06-21 2017-10-17 山东超越数控电子有限公司 A kind of exchange piling method in plate
CN108924064A (en) * 2018-06-27 2018-11-30 北京东土军悦科技有限公司 Interchanger quick start method, interchanger and medium
CN109995678A (en) * 2017-12-29 2019-07-09 迈普通信技术股份有限公司 Message transmitting method and device
CN110830393A (en) * 2019-10-22 2020-02-21 苏州盛科科技有限公司 Method and device for realizing MACsec in chip stacking mode
WO2020108410A1 (en) * 2018-11-26 2020-06-04 中兴通讯股份有限公司 Method and apparatus for i2c device management in stacked system, and storage medium
CN111464447A (en) * 2020-04-08 2020-07-28 盛科网络(苏州)有限公司 Method and device for synchronizing forwarding tables of ultra-bandwidth multi-core Ethernet switching chips
CN111654560A (en) * 2020-06-02 2020-09-11 中电科航空电子有限公司 Physical address table management interaction method for airborne software and hardware stack switch
CN113452538A (en) * 2020-03-26 2021-09-28 华为技术有限公司 Control device, execution device, device management method, and device management system
CN115118682A (en) * 2022-06-06 2022-09-27 上海华信长安网络科技有限公司 Method and device for communication between stacking switch and external equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7613201B1 (en) * 2003-04-18 2009-11-03 Rmi Corporation Stacked network switch using resilient packet ring communication protocol
CN101527643B (en) * 2009-03-26 2011-05-11 杭州华三通信技术有限公司 Method, system and main equipment for acquiring stacking system information
CN102307137A (en) * 2011-07-13 2012-01-04 北京星网锐捷网络技术有限公司 Method and device for transmitting and receiving management message, stacked switchboard and switchboard system
CN103401773A (en) * 2013-06-26 2013-11-20 杭州华三通信技术有限公司 Method and network equipment realizing interboard communication
CN103763115A (en) * 2014-01-20 2014-04-30 杭州华三通信技术有限公司 Method and device for processing protocol message
CN105704023A (en) * 2014-11-26 2016-06-22 中兴通讯股份有限公司 Packet forwarding method and packet forwarding device for stacking system, and stacking equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7613201B1 (en) * 2003-04-18 2009-11-03 Rmi Corporation Stacked network switch using resilient packet ring communication protocol
CN101527643B (en) * 2009-03-26 2011-05-11 杭州华三通信技术有限公司 Method, system and main equipment for acquiring stacking system information
CN102307137A (en) * 2011-07-13 2012-01-04 北京星网锐捷网络技术有限公司 Method and device for transmitting and receiving management message, stacked switchboard and switchboard system
CN103401773A (en) * 2013-06-26 2013-11-20 杭州华三通信技术有限公司 Method and network equipment realizing interboard communication
CN103763115A (en) * 2014-01-20 2014-04-30 杭州华三通信技术有限公司 Method and device for processing protocol message
CN105704023A (en) * 2014-11-26 2016-06-22 中兴通讯股份有限公司 Packet forwarding method and packet forwarding device for stacking system, and stacking equipment

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257323A (en) * 2017-06-21 2017-10-17 山东超越数控电子有限公司 A kind of exchange piling method in plate
CN109995678A (en) * 2017-12-29 2019-07-09 迈普通信技术股份有限公司 Message transmitting method and device
CN109995678B (en) * 2017-12-29 2022-06-10 迈普通信技术股份有限公司 Message transmission method and device
CN108924064B (en) * 2018-06-27 2021-03-09 北京东土军悦科技有限公司 Switch quick start method, switch and medium
CN108924064A (en) * 2018-06-27 2018-11-30 北京东土军悦科技有限公司 Interchanger quick start method, interchanger and medium
WO2020108410A1 (en) * 2018-11-26 2020-06-04 中兴通讯股份有限公司 Method and apparatus for i2c device management in stacked system, and storage medium
CN110830393A (en) * 2019-10-22 2020-02-21 苏州盛科科技有限公司 Method and device for realizing MACsec in chip stacking mode
CN113452538A (en) * 2020-03-26 2021-09-28 华为技术有限公司 Control device, execution device, device management method, and device management system
US11604602B2 (en) 2020-03-26 2023-03-14 Huawei Technologies Co., Ltd. Control device, execution device and device management method
CN111464447B (en) * 2020-04-08 2021-08-13 苏州盛科通信股份有限公司 Method and device for synchronizing forwarding tables of ultra-bandwidth multi-core Ethernet switching chips
CN111464447A (en) * 2020-04-08 2020-07-28 盛科网络(苏州)有限公司 Method and device for synchronizing forwarding tables of ultra-bandwidth multi-core Ethernet switching chips
CN111654560A (en) * 2020-06-02 2020-09-11 中电科航空电子有限公司 Physical address table management interaction method for airborne software and hardware stack switch
CN111654560B (en) * 2020-06-02 2022-10-21 中电科航空电子有限公司 Physical address table management interaction method for airborne software and hardware stack switch
CN115118682A (en) * 2022-06-06 2022-09-27 上海华信长安网络科技有限公司 Method and device for communication between stacking switch and external equipment

Also Published As

Publication number Publication date
CN106685826B (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN106685826B (en) Switchboard stacked system, from equipment, exchange chip and processing protocol message method
US11218572B2 (en) Packet processing based on latency sensitivity
CN104410541B (en) The method and device that VXLAN internal layer virtual machine traffics are counted in intermediary switch
CN102857414B (en) A kind of forwarding table write-in, message forwarding method and device
CN104579695B (en) A kind of data forwarding device and method
CN107181663A (en) A kind of message processing method, relevant device and computer-readable recording medium
CN104780111B (en) Virtualize the method and device, virtualization network that message forwards in network
EP3211858B1 (en) Networking method for datacenter network and datacenter network
CN105591971B (en) A kind of implementation method and device of QoS
CN106878194B (en) Message processing method and device
CN105162732B (en) Create the method, apparatus of ECP Extended Capabilities Port
CN106209638B (en) From virtual LAN to the message forwarding method and equipment of virtual expansible local area network
CN105339934B (en) A kind of message processing method and device
CN115065637B (en) Method and device for transmitting computing power resource information and electronic equipment
CN108574632A (en) A kind of message processing method, apparatus and system
CN104584492A (en) Packet processing method, device and system
CN105379221A (en) Link aggregation method and device
CN102263700B (en) Method, device and system for sending and receiving messages
CN109510771A (en) Multicast transmission method and relevant device
CN106209554B (en) message forwarding method and device for crossing virtual extensible local area network
CN107086960B (en) Message transmission method and device
CN109218176B (en) Message processing method and device
CN109327405B (en) Message order-preserving method and network equipment
CN116996478A (en) Tunnel encapsulation table resource management method, DPU and related equipment
CN106712983A (en) OAM message processing method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100094 First to Fifth Floors of Building 11, East Yard, No. 10 Wangdong Road, Northwest Haidian District, Beijing

Applicant after: Raisecom Technology Inc.

Address before: 100085 No. 2 Building, No. 28 Shangdi Sixth Street, Haidian District, Beijing

Applicant before: Raisecom Technology Inc.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant