CN102394824A - Method and device for sending message in dual-machine annular stacking system - Google Patents

Method and device for sending message in dual-machine annular stacking system Download PDF

Info

Publication number
CN102394824A
CN102394824A CN201110345124XA CN201110345124A CN102394824A CN 102394824 A CN102394824 A CN 102394824A CN 201110345124X A CN201110345124X A CN 201110345124XA CN 201110345124 A CN201110345124 A CN 201110345124A CN 102394824 A CN102394824 A CN 102394824A
Authority
CN
China
Prior art keywords
stack
pile system
shipper
equipment
port
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
CN201110345124XA
Other languages
Chinese (zh)
Other versions
CN102394824B (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 CN201110345124.XA priority Critical patent/CN102394824B/en
Publication of CN102394824A publication Critical patent/CN102394824A/en
Application granted granted Critical
Publication of CN102394824B publication Critical patent/CN102394824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses method and device for sending message in a dual-machine annular stacking system, belonging to the field of communication. When dual-machine annular stacking system is built, or the condition that a non-dual-machine annular stacking system is changed into the dual-machine annular stacking system in the current stacking system is monitored, a stacking device binds two self-comprising stacking ports into a logical port so as to make the dual-machine annular stacking system not form a loop circuit on the logical level; when the message needs to be sent, the stacking device sends the message to an adjacent stacking device through the logical port, and the message is other message except information message. The device comprises a binding module and a transmitter. For the invention, entire bandwidth can be used in the dual-machine annular stacking system.

Description

A kind of method of message and equipment of in two-shipper annular pile system, sending
Technical field
The present invention relates to the communications field, particularly a kind of method of message and equipment of in two-shipper annular pile system, sending.
Background technology
Pile system is meant combines many stack equipments; Logically to form a whole switching equipment; The network topology of pile system comprises that the chain connection is connected with annular, two stack equipments is connected to combine by annular form two-shipper annular pile system; Two-shipper annular pile system can form ring and produce broadcast storm in the logic aspect, produces broadcast storm for fear of two-shipper annular pile system, need break ring to the ring that forms in the two-shipper annular pile system and handle.
For example; Referring to Fig. 1; Stack equipment SW_1 comprises stack port A and B; Stack equipment SW_2 comprises stack port 0 and 1, links to each other through piling up link C between the stack port 1 of the stack port A of stack equipment SW_1 and stack equipment SW_2, links to each other through piling up link D between the stack port 0 of the stack port B of stack equipment SW_1 and stack equipment SW_2; So make stack equipment SW_1 and SW_2 form two-shipper annular pile system, and two-shipper annular pile system can form a ring on the logic aspect; Can select any to pile up link; Suppose to select to pile up link C; The choke point is set on the link C comes the ring that forms is broken ring piling up; Stack equipment SW_1 and SW_2 can be blocked through piling up all messages of link C transmission in this choke point, and so stack equipment SW_1 can only send message through the link D that piles up that is left with SW_2.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Stack equipment SW_1 and SW_2 can only send message through piling up link D, and cannot send message through piling up link C, so have a bandwidth of piling up link to be wasted.
Summary of the invention
In order in two-shipper annular pile system, to use the bandwidth of all piling up link, the invention provides and a kind ofly in two-shipper annular pile system, send method of message and equipment.Said technical scheme is following:
A kind ofly in two-shipper annular pile system, send method of message, said method comprises:
When setting up into two-shipper annular pile system or monitor out current pile system when becoming two-shipper annular pile system by non-two-shipper annular pile system; Two stack ports that stack equipment comprises are bound a logic port, make said two-shipper annular pile system can't form loop;
When said stack equipment need send message, send neighbours' stack equipment that said message is given said stack equipment through said logic port, said message is other messages except that the inquiry message.
A kind of equipment that in two-shipper annular pile system, sends message, said equipment comprises:
Binding module; Be used for when setting up into two-shipper annular pile system or monitor out current pile system when becoming two-shipper annular pile system by non-two-shipper annular pile system; Two stack ports that stack equipment comprises are bound a logic port, make said two-shipper annular pile system can't form loop;
Transmitter is used for when said stack equipment need send message, sends neighbours' stack equipment that said message is given said stack equipment through said logic port, and said message is other messages except that the inquiry message.
In the present invention; When setting up into two-shipper annular pile system or monitor out current pile system when becoming two-shipper annular pile system by non-two-shipper annular pile system; Two stack ports that stack equipment comprises are bound a logic port; Make two-shipper annular pile system can't form loop, when stack equipment need send message, send neighbours' stack equipment that this message is given stack equipment through volume port of binding; Like this in two-shipper annular pile system, need not piling up at one that connects two stack equipments is provided with the choke point on the link, thereby can in two-shipper annular pile system, use the bandwidth of all piling up link.
Description of drawings
Fig. 1 be prior art provide in two-shipper annular pile system, the choke point sketch map is set;
Fig. 2 is that a kind of that the embodiment of the invention provides sends the method for message flow chart in two-shipper annular pile system;
Fig. 3 is that the another kind that the embodiment of the invention provides sends the method for message flow chart in two-shipper annular pile system;
Fig. 4 is a kind of Organization Chart at two-shipper annular pile system that the embodiment of the invention provides;
Fig. 5 is the logical architecture figure of the another kind that provides of the embodiment of the invention at two-shipper annular pile system;
Fig. 6 is a kind of device structure sketch map that in two-shipper annular pile system, sends message that the embodiment of the invention provides.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
As shown in Figure 2, the embodiment of the invention provides a kind of and in two-shipper annular pile system, has sent method of message, comprising:
Step 101: when setting up into two-shipper annular pile system or monitor out current pile system when becoming two-shipper annular pile system by non-two-shipper annular pile system; Two stack ports that stack equipment comprises are bound a logic port, make two-shipper annular pile system can't form loop;
Step 102: when stack equipment need send message, the logic port through this stack equipment sent neighbours' stack equipment that this message is given stack equipment, and this message is other messages except that the inquiry message.
In embodiments of the present invention; When setting up into two-shipper annular pile system or monitor out current pile system when becoming two-shipper annular pile system by non-two-shipper annular pile system; Two stack ports that stack equipment comprises are bound a logic port; Make two-shipper annular pile system can't form loop, when stack equipment need send message, send neighbours' stack equipment that this message is given stack equipment through volume port of binding; Like this in two-shipper annular pile system, need not piling up at one that connects two stack equipments is provided with the choke point on the link, thereby can in two-shipper annular pile system, use the bandwidth of all piling up link.
On basis embodiment illustrated in fig. 2, the embodiment of the invention provides another kind of and in two-shipper annular pile system, has sent method of message.Wherein, set up into two-shipper annular pile system after, each stack equipment that comprises in the two-shipper annular pile system can send message to its neighbours' stack equipment by the method that present embodiment provides, referring to Fig. 3, this method comprises:
Step 201: when setting up into pile system, stack equipment is judged the pile system of setting up, and is two-shipper annular pile system if judge the pile system of establishment, execution in step 202;
Particularly; When setting up into pile system; Two stack ports that stack equipment comprises through self receive inquiry (Hello) message that neighbours' stack equipment periodically sends; And to judging through two inquiry messages of these two stack ports receptions, if two inquiry messages that receive through these two stack ports are identical, the pile system of then determining establishment is a two-shipper annular pile system.
Wherein, Stack equipment comprises two stack ports; Two stack ports that each stack equipment that after setting up into pile system, comprises in the pile system comprises through himself are periodically sent identical inquiry message and are given its neighbours' stack equipment, and two stack ports that comprise through himself receive the inquiry message that its neighbours' stack equipment periodically sends; If two inquiry messages that two stack ports that stack equipment comprises through self receive are identical; Then to determine two inquiry messages that two stack ports comprising through self receive all be the inquiry message that same neighbours' stack equipment sends to this stack equipment, and the pile system of judging establishment in view of the above comprises that the pile system of two stack equipments and establishment is the annular pile system of two-shipper.
Further, to write down current pile system be two-shipper annular pile system to stack equipment.
For example; Referring to Fig. 4; For any two stack equipments, be called first stack equipment and second stack equipment, first stack equipment comprises stack port 0 and 1; Second stack equipment comprises stack port a and b; The stack port 0 of first stack equipment is linked to each other through piling up link A with the stack port a of second stack equipment, the stack port 1 of first stack equipment is linked to each other through piling up link B with the stack port b of second stack equipment, so first stack equipment and second stack equipment are set up into two-shipper annular pile system.
Wherein, The stack port 0 of first stack equipment and the stack port a of second stack equipment be not through piling up before link links to each other; The state of the state of the stack port 0 of first stack equipment and the stack port a of second stack equipment all is down (off-line) state; When the stack port a of the stack port 0 of first stack equipment and second stack equipment through after piling up link A and linking to each other, the state of the state of the stack port 0 of first stack equipment and the stack port a of second stack equipment all becomes up (online) state from the down state; Equally; The stack port 1 of first stack equipment and the stack port b of second stack equipment be not through piling up before link links to each other; The state of the state of the stack port 1 of first stack equipment and the stack port b of second stack equipment all is the down state; When the stack port b of the stack port 1 of first stack equipment and second stack equipment through after piling up link B and linking to each other, the state of the state of the stack port 1 of first stack equipment and the stack port b of second stack equipment all becomes the up state from the down state.
Wherein, When first stack equipment and second stack equipment are set up into two-shipper annular pile system; First stack equipment can periodically send identical inquiry message through the stack port of they two up states that comprise and give i.e. second stack equipment of its neighbours' stack equipment, and first stack equipment also can receive neighbours' stack equipment through the stack port of they two up states that comprise be the inquiry message that second stack equipment periodically sends; Second stack equipment can periodically send identical inquiry message through the stack port of they two up states that comprise and give i.e. first stack equipment of its neighbours' stack equipment, and second stack equipment also can receive its neighbours' stack equipment through the stack port of they two up states that comprise be the inquiry message that first stack equipment periodically sends.
Wherein, If first stack equipment is identical through two inquiry messages that they two stack ports that comprise receive; Then can to determine two inquiry messages that two stack ports comprising through self receive be the inquiry message that same neighbours' stack equipment sends to first stack equipment, and judge current pile system in view of the above and comprise that two stack equipments and current pile system are two-shipper annular pile system; Equally; If second stack equipment is identical through two inquiry messages that they two stack ports that comprise receive; Then can to determine two inquiry messages that two stack ports comprising through self receive be the inquiry message that same neighbours' stack equipment sends to second stack equipment, and judge current pile system in view of the above and comprise that two stack equipments and current pile system are two-shipper annular pile system.
Step 202: two stack ports that stack equipment comprises self are bound a logic port;
Particularly; Stack equipment distributes a memory space; And with this memory space as logic port, the port numbers of two stack ports that self is comprised is stored in the logic port, has realized that so two stack ports that self is comprised bind a logic port.
Wherein, For two stack equipments that comprise in the two-shipper annular pile system; Two stack ports that each stack equipment comprises self are bound a logic port; Make to connect two of two stack equipments and pile up link and logically bind a logical links, so two-shipper annular pile system can't form loop on the logic aspect, avoid producing broadcast storm.
For example; For first stack equipment, the first stack equipment memory allocated space, and with the memory space that distributes as logic port C; Wherein, Stack port 0 that first stack equipment comprises and 1 port numbers are respectively the port numbers 0 of the stack port 0 that 0 and 1, the first stack equipment comprises self and the port numbers 1 of stack port 1 is stored among the logic port C, and two stack ports 0 that first stack equipment like this has been realized self is comprised and 1 are bound into a logic port C.
Equally; For second stack equipment, the second stack equipment memory allocated space, and with the memory space that distributes as logic port D; Wherein, Stack port a that second stack equipment comprises and the port numbers of b are respectively a and b, and the port numbers b of the port numbers a of the stack port a that second stack equipment comprises self and stack port b is stored among the logic port D, and two stack port a and b that second stack equipment like this has been realized self is comprised are bound into a logic port D.
Wherein, Referring to Fig. 4; First stack equipment is bound two stack ports 0 and 1 after a logic port C and second stack equipment bind a logic port D with two stack port a and b; What make to connect first stack equipment and second stack equipment piles up link A with B binds a logical links E, so makes the annular pile system of being made up of first stack equipment and second stack equipment of two-shipper on the logic aspect, can't form loop, avoids producing broadcast storm.
Step 203: stack equipment sends message through the logic port of binding and gives neighbours' stack equipment, and this message is other messages except that the inquiry message;
Particularly, stack equipment obtains the port numbers of two stack ports of storing in this logic port; From two corresponding stack ports of the port numbers of two stack ports obtaining, select a stack port, send message through the stack port of selecting and give neighbours' stack equipment.
Wherein, stack equipment can be selected a stack port according to MAC (Medium Access Control, medium access control) address or the IP address of this message from two stack ports.
For example, when first stack equipment need send message, first stack equipment obtained the port numbers 0 and 1 of the stack port of storing among the logic port C; From the stack port 1 of port numbers 0 corresponding stack port 0 and port numbers 1 correspondence, select a stack port, be assumed to be stack port 0, send this message through the stack port of selecting 0 and give neighbours' stack equipment, i.e. second stack equipment.
Equally, when second stack equipment need send message, second stack equipment obtained the port numbers a and the b of the stack port of storing among the logic port D; From the stack port b of corresponding stack port a of port numbers a and port numbers b correspondence, select a stack port, be assumed to be stack port a, send this message through the stack port a that selects and give neighbours' stack equipment, i.e. first stack equipment.
Further; For any stack equipment in the two-shipper annular pile system; The stack port that this stack equipment can comprise through himself receives the broadcasting packet that its neighbours' stack equipment sends; Confirm the logic port at the stack port place of this broadcasting packet of reception, further determine other logic ports that do not have in self except that the logic port of confirming, stop to send this broadcasting packet then and give neighbours' stack equipment; So on the logic aspect, can avoid two-shipper annular pile system to form loop, and avoid the two-shipper loop system to produce broadcast storm.
For example; The stack port that first stack equipment can comprise through himself receives the broadcasting packet of i.e. second stack equipment transmission of neighbours' stack equipment; The stack port of supposing this broadcasting packet of reception is 1; Confirm the logic port C at stack port 1 place, further determine in self not other logic ports except that logic port C, stopping to send this broadcasting packet then is second stack equipment to neighbours' stack equipment.
Equally; The stack port that second stack equipment can comprise through himself receives the broadcasting packet of i.e. first stack equipment transmission of neighbours' stack equipment; The stack port of supposing this broadcasting packet of reception is a; Confirm the logic port D at stack port a place, further determine in self not other logic ports except that logic port D, stopping to send this broadcasting packet then is first stack equipment to neighbours' stack equipment.
Wherein, Need to prove: after setting up into two-shipper annular pile system; Two stack ports that any stack equipment in the two-shipper annular pile system all periodically comprises through himself are sent the inquiry message and are given its neighbours' stack equipment, and two stack ports that comprise through self receive the inquiry message that its neighbours' stack equipment periodically sends.
Wherein, Need to prove: after setting up into two-shipper annular pile system; Any stack equipment in the two-shipper annular pile system, the current pile system that this stack equipment has write down according to self are that two-shipper annular pile system carries out real-time listening to current pile system.
Particularly; Two stack ports that this stack equipment comprises through himself receive the inquiry message that its neighbours' stack equipment periodically sends; Two inquiry messages to receiving through these two stack ports are judged; If both current pile systems identical and that write down are two-shipper annular pile system; Then monitoring out current pile system still is two-shipper annular pile system, if both current pile systems different and that write down are two-shipper annular pile system, then monitor out current pile system and becomes non-two-shipper annular pile system by two-shipper annular pile system.
Further, become non-two-shipper annular pile system if monitor out current pile system by two-shipper annular pile system, then this stack equipment current pile system that self has been write down is updated to non-two-shipper annular pile system.
Wherein, if pile system became non-two-shipper annular pile system by two-shipper annular pile system before any stack equipment in the two-shipper annular pile system was monitored out, then carry out following steps 204.
Step 204: stack equipment is when monitoring out current pile system and become non-two-shipper loop system by two-shipper annular pile system, and stack equipment is separated binding to recover two stack ports that are bundled on this logic port to logic port.
Particularly; Stack equipment is when monitoring out current pile system and become non-two-shipper loop system by two-shipper annular pile system; Discharge the memory space that the logic port that self comprises takies, so realize logic port is separated binding to recover two stack ports that are bundled on this logic port.
For example; First stack equipment is when monitoring out current pile system and become non-two-shipper loop system by two-shipper annular pile system; Discharge the memory space that the logic port C that self comprises takies, so realize logic port C is separated binding to recover two stack ports 0 and 1 that are bundled on the logic port C; Equally; Second stack equipment is when monitoring out current pile system and become non-two-shipper loop system by two-shipper annular pile system; Discharge the memory space that the logic port D that self comprises takies, so realize logic port D is separated binding to recover two stack port a and the b that is bundled on the logic port D.
Wherein, Need to prove: after current pile system becomes non-two-shipper loop system by two-shipper annular pile system; Any stack equipment in the pile system; Two stack ports that this stack equipment periodically comprises through himself are sent the inquiry message and are given its neighbours' stack equipment, and two stack ports that comprise through self receive the inquiry message that its neighbours' stack equipment periodically sends.
Wherein, Need to prove: after current pile system becomes non-two-shipper loop system by two-shipper annular pile system; Any stack equipment in the non-two-shipper annular pile system, the current pile system that this stack equipment has write down according to self are that non-two-shipper annular pile system carries out real-time listening to current pile system.
Particularly; Two stack ports that this stack equipment comprises through himself receive the inquiry message that its neighbours' stack equipment periodically sends; Two inquiry messages to receiving through these two stack ports are judged; If both current pile systems different and that write down are non-two-shipper annular pile system; Then monitoring out current pile system still is non-two-shipper annular pile system, if both current pile systems identical and that write down are non-two-shipper annular pile system, pile system becomes two-shipper annular pile system by non-two-shipper annular pile system before then monitoring out.
Further, if pile system becomes two-shipper annular pile system by non-two-shipper annular pile system before monitoring out, then this stack equipment current pile system that self has been write down is updated to two-shipper annular pile system.
Wherein, if pile system became two-shipper annular pile system by non-two-shipper annular pile system before any stack equipment in the two-shipper annular pile system was monitored out, then return step 202 and begin to carry out.
In embodiments of the present invention; When setting up into two-shipper annular pile system or monitor out current pile system when becoming two-shipper annular pile system by non-two-shipper annular pile system; Two stack ports that stack equipment comprises self are bound a logic port; Make two-shipper annular pile system can't form loop, when stack equipment need send message, send this message through volume port and give neighbours' stack equipment in the logic aspect.Like this in two-shipper annular pile system, need not piling up at one that connects two stack equipments is provided with the choke point on the link, thereby can in two-shipper annular pile system, use the bandwidth of all piling up link.
As shown in Figure 6, the embodiment of the invention provides a kind of equipment that in two-shipper annular pile system, sends message, is used to realize said method of the present invention, and said equipment comprises:
Binding module 301; Be used for when setting up into two-shipper annular pile system or monitor out current pile system when becoming two-shipper annular pile system by non-two-shipper annular pile system; Two stack ports that stack equipment comprises are bound a logic port, make two-shipper annular pile system can't form loop;
Transmitter 302 is used for when this stack equipment need send message, sends neighbours' stack equipment that this message is given this stack equipment through this logic port, and this message is other messages except that the inquiry message.
Wherein, binding module 301 comprises:
Allocation units are used for the memory allocated space, with the memory space that distributes as logic port;
Memory cell, the port numbers of two stack ports that are used for this stack equipment is comprised is stored in this logic port, binds a logic port with two stack ports that this stack equipment is comprised.
Further, this equipment also comprises:
Receiver; The stack port that is used for comprising through this stack equipment receives the broadcasting packet of neighbours' stack equipment transmission of this stack equipment; Confirm the logic port at the stack port place of this broadcasting packet of reception; Further determine other logic ports that do not have in this stack equipment except that the logic port of confirming, and stop to send neighbours' stack equipment that this broadcasting packet is given this stack equipment.
Wherein, transmitter 302 comprises:
Acquiring unit is used for obtaining the port numbers of two stack ports that this this stack equipment of logic port storage comprises;
Selected cell is used for from corresponding stack port of two stack ports selections of port numbers of two stack ports obtaining;
Transmitting element is used for sending neighbours' stack equipment that this message is given this stack equipment through the stack port of selecting.
Further, this equipment also comprises:
Judge module; Be used for when setting up into pile system; Two stack ports that comprise through this stack equipment receive the inquiry message that neighbours' stack equipment of these stack equipments sends; If two inquiry messages that receive through these two stack ports are identical, the pile system of then judging establishment is a two-shipper annular pile system.
Further, this equipment also comprises:
Logging modle is used for when setting up into two-shipper annular pile system, and writing down current pile system is two-shipper annular pile system.
Further, this equipment also comprises:
Monitor module, be used for current pile system being carried out real-time listening according to the current pile system that has write down.
Wherein, monitoring module comprises:
Receiving element is used for receiving the inquiry message that neighbours' stack equipment of these stack equipments periodically sends through two stack ports;
Judging unit; Be used for two inquiry messages that receive through these two stack ports are judged; If both current pile systems identical and that write down are non-two-shipper annular pile system; Then monitor out current pile system and become two-shipper annular pile system,, then monitor out current pile system and become non-two-shipper annular pile system by two-shipper annular pile system if both current pile systems different and that write down are two-shipper annular pile system by non-two-shipper annular pile system.
Further, this equipment also comprises:
First update module becomes two-shipper annular pile system if be used for monitoring out current pile system by non-two-shipper annular pile system, and the current pile system that then will write down is updated to two-shipper annular pile system;
Second update module becomes non-two-shipper annular pile system if be used for monitoring out current pile system by two-shipper annular pile system, and the current pile system that then will write down is updated to non-two-shipper annular pile system.
Further, this equipment also comprises:
Separate binding module, become non-two-shipper annular pile system, then the logic port in this stack equipment is separated binding to recover two stack ports that are bundled on this logic port if be used for monitoring out two-shipper annular pile system.
Further, separate binding module, specifically be used for discharging memory space that the logic port of this stack equipment takies to recover two stack ports that are bundled on this logic port.
In embodiments of the present invention; When setting up into two-shipper annular pile system or monitor out current pile system when becoming two-shipper annular pile system by non-two-shipper annular pile system; Two stack ports that stack equipment comprises are bound a logic port; Make two-shipper annular pile system can't form loop, when stack equipment need send message, send neighbours' stack equipment that this message is given stack equipment through volume port of binding; Like this in two-shipper annular pile system, need not piling up at one that connects two stack equipments is provided with the choke point on the link, thereby can in two-shipper annular pile system, use the bandwidth of all piling up link.
The all or part of step that one of ordinary skill in the art will appreciate that realization the foregoing description can be accomplished through hardware; Also can instruct relevant hardware to accomplish through program; Described program can be stored in a kind of computer-readable recording medium; The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. one kind is sent method of message in two-shipper annular pile system, it is characterized in that said method comprises:
When setting up into two-shipper annular pile system or monitor out current pile system when becoming two-shipper annular pile system by non-two-shipper annular pile system; Two stack ports that stack equipment comprises are bound a logic port, make said two-shipper annular pile system can't form loop in the logic aspect;
When said stack equipment need send message, send neighbours' stack equipment that said message is given said stack equipment through said logic port, said message is other messages except that the inquiry message.
2. the method for claim 1 is characterized in that, said two stack ports that stack equipment is comprised are bound a logic port, comprising:
The memory allocated space, with the memory space of said distribution as logic port;
The port numbers of two stack ports that said stack equipment is comprised is stored in the said logic port, binds a logic port with two stack ports that said stack equipment is comprised.
3. according to claim 1 or claim 2 method is characterized in that said two stack ports that stack equipment is comprised are bound after the logic port, also comprise:
The stack port that comprises through said stack equipment receives the broadcasting packet that neighbours' stack equipment of said stack equipment sends; Confirm the logic port at the stack port place of the said broadcasting packet of reception; Further determine in the said stack equipment not other logic ports except that said definite logic port, and stop to send neighbours' stack equipment that said broadcasting packet is given said stack equipment.
4. according to claim 1 or claim 2 method is characterized in that, sends neighbours' stack equipment that said message is given said stack equipment through said logic port, comprising:
Obtain the port numbers of two stack ports that the said stack equipment of storage comprises in the said logic port;
From two corresponding stack ports of the port numbers of said two stack ports obtaining, select a stack port;
Send neighbours' stack equipment that said message is given said stack equipment through the stack port of said selection.
5. like any described method among the claim 1-4, it is characterized in that said two stack ports that stack equipment is comprised are bound before the logic port, also comprise:
When setting up into pile system; Two stack ports that comprise through said stack equipment receive the inquiry message that neighbours' stack equipment of said stack equipment sends; If two inquiry messages that receive through said two stack ports are identical, the pile system of then judging said establishment is a two-shipper annular pile system.
6. like the described method of each claim of claim 1-5, it is characterized in that said method also comprises:
According to the current pile system that has write down said current pile system is carried out real-time listening.
7. method as claimed in claim 6 is characterized in that, the current pile system that said basis has write down carries out real-time listening to said current pile system, comprising:
The inquiry message that the neighbours' stack equipment that receives said stack equipment through said two stack ports periodically sends;
Two inquiry messages to receiving through said two stack ports are judged; If both current pile systems identical and that write down are non-two-shipper annular pile system; Then monitor out said current pile system and become two-shipper annular pile system by non-two-shipper annular pile system; If both differences and the said current pile system that has write down are two-shipper annular pile system, then monitor out said current pile system and become non-two-shipper annular pile system by two-shipper annular pile system.
8. method as claimed in claim 7 is characterized in that, said method also comprises:
Become two-shipper annular pile system if monitor out said current pile system by non-two-shipper annular pile system, then the said current pile system that has write down is updated to two-shipper annular pile system;
Become non-two-shipper annular pile system if monitor out said current pile system by two-shipper annular pile system, then the said current pile system that has write down is updated to non-two-shipper annular pile system.
9. method as claimed in claim 6 is characterized in that, said method also comprises:
Become non-two-shipper annular pile system if monitor out said two-shipper annular pile system, then the logic port in the said stack equipment is separated binding to recover two stack ports that are bundled on the said logic port.
10. equipment that in two-shipper annular pile system, sends message is characterized in that said equipment comprises:
Binding module; Be used for when setting up into two-shipper annular pile system or monitor out current pile system when becoming two-shipper annular pile system by non-two-shipper annular pile system; Two stack ports that stack equipment comprises are bound a logic port, make said two-shipper annular pile system can't form loop;
Transmitter is used for when said stack equipment need send message, sends neighbours' stack equipment that said message is given said stack equipment through said logic port, and said message is other messages except that the inquiry message.
11. equipment as claimed in claim 10 is characterized in that, said binding module comprises:
Allocation units are used for the memory allocated space, with the memory space of said distribution as logic port;
Memory cell, the port numbers of two stack ports that are used for said stack equipment is comprised is stored in said logic port, binds a logic port with two stack ports that said stack equipment is comprised.
12., it is characterized in that said equipment also comprises like claim 10 or 11 described equipment:
Receiver; Be used for receiving the broadcasting packet of neighbours' stack equipment transmission of said stack equipment through the stack port that said stack equipment comprises; Confirm the logic port at the stack port place of the said broadcasting packet of reception; Further determine in the said stack equipment not other logic ports except that said definite logic port, and stop to send neighbours' stack equipment that said broadcasting packet is given said stack equipment.
13., it is characterized in that said transmitter comprises like claim 10 or 11 described equipment:
Acquiring unit is used for obtaining the port numbers of two stack ports that the said stack equipment of said logic port storage comprises;
Selected cell is used for selecting a stack port from two corresponding stack ports of the port numbers of said two stack ports obtaining;
Transmitting element is used for sending neighbours' stack equipment that said message is given said stack equipment through the stack port of said selection.
14., it is characterized in that said equipment also comprises like the described equipment of each claim of claim 10-13:
Judge module; Be used for when setting up into pile system; Two stack ports that comprise through said stack equipment receive the inquiry message that neighbours' stack equipment of said stack equipment sends; If two inquiry messages that receive through said two stack ports are identical, the pile system of then judging said establishment is a two-shipper annular pile system.
15., it is characterized in that said equipment also comprises like the described equipment of each claim of claim 10-14:
Monitor module, be used for said current pile system being carried out real-time listening according to the current pile system that has write down.
16. equipment as claimed in claim 15 is characterized in that, said monitoring module comprises:
Receiving element is used for the inquiry message that periodically sends through neighbours' stack equipment that said two stack ports receive said stack equipment;
Judging unit; Be used for two inquiry messages that receive through said two stack ports are judged; If both current pile systems identical and that write down are non-two-shipper annular pile system; Then monitor out said current pile system and become two-shipper annular pile system by non-two-shipper annular pile system; If both differences and the said current pile system that has write down are two-shipper annular pile system, then monitor out said current pile system and become non-two-shipper annular pile system by two-shipper annular pile system.
17. equipment as claimed in claim 16 is characterized in that, said equipment also comprises:
First update module becomes two-shipper annular pile system if be used for monitoring out said current pile system by non-two-shipper annular pile system, then the said current pile system that has write down is updated to two-shipper annular pile system;
Second update module becomes non-two-shipper annular pile system if be used for monitoring out said current pile system by two-shipper annular pile system, then the said current pile system that has write down is updated to non-two-shipper annular pile system.
18. equipment as claimed in claim 15 is characterized in that, said equipment also comprises:
Separate binding module, become non-two-shipper annular pile system, then the logic port in the said stack equipment is separated binding to recover two stack ports that are bundled on the said logic port if be used for monitoring out said two-shipper annular pile system.
CN201110345124.XA 2011-11-04 2011-11-04 Method and device for sending message in dual-machine annular stacking system Active CN102394824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110345124.XA CN102394824B (en) 2011-11-04 2011-11-04 Method and device for sending message in dual-machine annular stacking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110345124.XA CN102394824B (en) 2011-11-04 2011-11-04 Method and device for sending message in dual-machine annular stacking system

Publications (2)

Publication Number Publication Date
CN102394824A true CN102394824A (en) 2012-03-28
CN102394824B CN102394824B (en) 2014-12-17

Family

ID=45862035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110345124.XA Active CN102394824B (en) 2011-11-04 2011-11-04 Method and device for sending message in dual-machine annular stacking system

Country Status (1)

Country Link
CN (1) CN102394824B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220218A (en) * 2013-04-28 2013-07-24 杭州华三通信技术有限公司 Method and device for preventing loops during vertical stacking networking
CN104601461A (en) * 2013-10-30 2015-05-06 杭州华三通信技术有限公司 Message forwarding method and device in vertical intelligent resilient framework system
CN104683130A (en) * 2013-11-28 2015-06-03 华为技术有限公司 Method for configuring stacking port and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5959968A (en) * 1997-07-30 1999-09-28 Cisco Systems, Inc. Port aggregation protocol
US6519231B1 (en) * 1999-01-12 2003-02-11 Nortel Networks Limited Method and apparatus providing a spanning tree protocol for a data communications network having a multi-link trunk
CN1809022A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet device stacking method and its system
CN1878130A (en) * 2005-06-08 2006-12-13 华为技术有限公司 Data forwarding method
CN101572626A (en) * 2009-06-01 2009-11-04 杭州华三通信技术有限公司 Collocation method and member device of stack logic interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5959968A (en) * 1997-07-30 1999-09-28 Cisco Systems, Inc. Port aggregation protocol
US6519231B1 (en) * 1999-01-12 2003-02-11 Nortel Networks Limited Method and apparatus providing a spanning tree protocol for a data communications network having a multi-link trunk
CN1809022A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet device stacking method and its system
CN1878130A (en) * 2005-06-08 2006-12-13 华为技术有限公司 Data forwarding method
CN101572626A (en) * 2009-06-01 2009-11-04 杭州华三通信技术有限公司 Collocation method and member device of stack logic interface

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220218A (en) * 2013-04-28 2013-07-24 杭州华三通信技术有限公司 Method and device for preventing loops during vertical stacking networking
CN103220218B (en) * 2013-04-28 2016-03-30 杭州华三通信技术有限公司 The method and apparatus of anti-loops in vertical stack networking
US9584399B2 (en) 2013-04-28 2017-02-28 Hewlett Packard Enterprise Development Lp Preventing a loop in a vertical stack network
CN104601461A (en) * 2013-10-30 2015-05-06 杭州华三通信技术有限公司 Message forwarding method and device in vertical intelligent resilient framework system
CN104601461B (en) * 2013-10-30 2018-02-09 新华三技术有限公司 Message forwarding method and device in a kind of Longitudinal Intelligence resilient infrastructure system
CN104683130A (en) * 2013-11-28 2015-06-03 华为技术有限公司 Method for configuring stacking port and equipment
CN104683130B (en) * 2013-11-28 2018-05-18 华为技术有限公司 A kind of method and apparatus of configuring stacking port

Also Published As

Publication number Publication date
CN102394824B (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN102726006B (en) Ethernet ring protection switching method, node and system
EP2652905B1 (en) Increased communication opportunities with low-contact nodes in a computer network
US7457256B2 (en) Local area network with one or more virtual groups of core equipments appropriate for layer 2 switching
CN101313523B (en) Method and apparatus implementing end-to-end link detection, routing policy switching
US9712433B2 (en) Maintaining and communicating nodal neighboring information
CN103780480A (en) Message forwarding method and message forwarding equipment
JP5422601B2 (en) Ring manager selection method and node in ring network
CN101409666B (en) Ring network, ring network topology discovering method and node
US20160134539A1 (en) Proactive broadcast capacity adjustment for fast network joins
WO2009039012A1 (en) Method and device for providing an alternative backhaul portal in a mesh network
CN102006184A (en) Management method, device and network device of stack link
CN102238072A (en) Method for dynamically selecting routing and CLOS (Charles Clos) switching network system
EP2984874A2 (en) Two-level routing communication method for a manet network, network node and mobile network implementing this communication method
CN103260150A (en) Wireless access control method, wireless access point and wireless access controller
WO2012085850A1 (en) Component, system and method for controlling communication of data of at least one application of a communications network
CN101483571B (en) RRPP configuring method, system and device
JP2012253510A (en) Gateway device, node device, communication system, and channel change method
CN102394824A (en) Method and device for sending message in dual-machine annular stacking system
CN101808043B (en) Method and device for detecting service message forwarding state of TRUNK members
US20080175193A1 (en) Channel allocation method in wireless mesh network and communication device using the method
CN102710812B (en) A kind of method, subscriber equipment and NNI interface gateway setting up tunnel
CN102035741A (en) Unicast message forwarding method and device in ring topology network
CN102377584A (en) Method for protecting DR (designated router) redundancy in PIM-SM (protocol independent multicast-sparse mode)
CN103190121A (en) Ethernet ring protection switching method, node and system
EP2337383A1 (en) System for distributing broadband wireless signals indoors

Legal Events

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