CN102821033A - Message transmission method and device - Google Patents

Message transmission method and device Download PDF

Info

Publication number
CN102821033A
CN102821033A CN2011101560897A CN201110156089A CN102821033A CN 102821033 A CN102821033 A CN 102821033A CN 2011101560897 A CN2011101560897 A CN 2011101560897A CN 201110156089 A CN201110156089 A CN 201110156089A CN 102821033 A CN102821033 A CN 102821033A
Authority
CN
China
Prior art keywords
microwave link
port numbers
message
bpdu message
bpdu
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
CN2011101560897A
Other languages
Chinese (zh)
Other versions
CN102821033B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110156089.7A priority Critical patent/CN102821033B/en
Priority to PCT/CN2012/073929 priority patent/WO2012167666A1/en
Publication of CN102821033A publication Critical patent/CN102821033A/en
Application granted granted Critical
Publication of CN102821033B publication Critical patent/CN102821033B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update

Landscapes

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

Abstract

The invention discloses a message transmission method and a device to avoid recomputation of network topology through a spanning tree protocol (STP) unit during microwave link switching and to save time for business switching. The message transmission method includes that a protocol message control center receives a bridge protocol data unit (BPDU) message forwarded by a multiplexer (MUX) interface and updates a microwave link port number carried by the BPDU message into a preset virtual port number, wherein the microwave link port number carried by the BPDU message is a mainly used microwave link port number; and the protocol message control center sends the BPDU message carrying the virtual port number to the STP unit to enable the STP unit to determine not to recompute network topology according to the unchanged microwave link port number in the BPDU message.

Description

A kind of message transmitting method and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of message transmitting method and device.
Background technology
Microwave communication is one of important modern means of communication, compares with other communication modes, have the construction period short, be not subject to artificial destruction, cross over characteristics such as terrain obstruction is more convenient.Therefore, microwave communication plays an important role in each big operator.Accelerated development along with the service network packetizing; The packetizing that transmits net also is trend of the times; Especially (third-generation is 3G) with follow-up evolution (Time Division-Synchronous Code DivisionMultiple Access Long Term Evolution, TD-LTE) fast development of technology of TD-SCDMA (Time Division-Synchronous Code Division Multiple Access) along with 3G (Third Generation) Moblie technology; The bandwidth demand of base station sharply increases; (Internet Protocol IP) changes, the change of packetizing, and this also is next step a developing direction of microwave network also to be faced with procotol as the microwave network that transmits a net part.
Along with the fast development of IP operation in microwave network, realize that manageability and reliability that communication network requires seem increasingly important.At first, on single microwave node,, generally all can adopt the 1+1 protected mode for fear of the fault of software and hardware; Secondly, in network design, adopt ring-network topology that redundant link can be provided, improve the reliability of communication network, the looped network protection agreement of in microwave, using at present mainly is a Spanning-Tree Protocol.The redundant link of Spanning-Tree Protocol in can blocking network to reach the purpose of eliminating the network double-layer loop, possesses the link backup function simultaneously.These two technology lump together use so; Must strengthen the robustness of network, but microwave link, the generation 1+1 protection can cause the variation of network topology when switching; At this moment will cause recomputating of Spanning-Tree Protocol, cause time service disconnection several seconds.
The problems referred to above appear; Mainly be because support on the equipment of a plurality of microwave transmission directions at some, the corresponding microwave link of each port of Ethernet, Spanning-Tree Protocol is BPDU (the Bridge Protocol Data Unit that passes into according to from certain port at present; BPDU) message carries out agreement calculating; Certainly need know the port numbers of transmit port, these port numbers be again with each microwave link one to one, therefore when microwave link is switched; Corresponding ports has also taken place to switch; Spanning-Tree Protocol thinks that then network topology changes so, need recomputate network topology, thereby possibly cause one period long period of service disconnection.
In sum, existing message transmissions is technological, when the microwave link switching takes place, can cause that Spanning-Tree Protocol recomputates network topology, thereby causes the switching time meeting of network concussion and business long.
Summary of the invention
The embodiment of the invention provides a kind of message transmitting method and device, in order to avoid when microwave link taking place switch Spanning-Tree Protocol unit computing network topology again, saves the needed time of switching services.
A kind of message method of reseptance that the embodiment of the invention provides comprises:
Protocol massages control centre receives the BPDU BPDU message that multiplexer MUX interface is transmitted, and the microwave link port numbers of carrying in this BPDU message is updated to preset virtual port number; Wherein, the microwave link port numbers of carrying in this BPDU message is the main microwave link port numbers of using;
The BPDU message that protocol massages control centre will carry virtual port number sends to the Spanning-Tree Protocol unit, so that the Spanning-Tree Protocol unit does not change according to the microwave link port numbers in the BPDU message, confirms to need not to recomputate network topology.
A kind of file transmitting method that the embodiment of the invention provides comprises:
The BPDU BPDU message that the Spanning-Tree Protocol unit will send sends to protocol massages control centre, and wherein, the microwave link port numbers of carrying in this BPDU message is preset virtual port number;
Protocol massages control centre receives the BPDU message that the Spanning-Tree Protocol unit sends, and the virtual port number of carrying in this BPDU message is updated to mainly uses the microwave link port numbers, then this BPDU message is sent to multiplexer MUX interface;
The MUX interface sends said BPDU message through said main master with microwave link port numbers correspondence with microwave link.
A kind of message receiving system that the embodiment of the invention provides comprises:
The MUX interface is used to receive BPDU BPDU message, and the BPDU message is sent to protocol massages control centre;
Protocol massages control centre is used to receive the BPDU message that the MUX interface is transmitted, and the microwave link port numbers of carrying in this BPDU message is updated to preset virtual port number; Wherein, the microwave link port numbers of carrying in this BPDU message is the main microwave link port numbers of using; And, the BPDU message that carries virtual port number is sent to the Spanning-Tree Protocol unit;
The Spanning-Tree Protocol unit; Be used to receive the BPDU message that protocol massages control centre sends; Wherein this BPDU message microwave link port numbers of carrying is a virtual port number, does not change according to the microwave link port numbers in the BPDU message, confirms to need not to recomputate network topology.
A kind of packet transmission device that the embodiment of the invention provides comprises:
The Spanning-Tree Protocol unit is used for the BPDU BPDU message that needs send is sent to protocol massages control centre, and wherein, the microwave link port numbers of carrying in this BPDU message is preset virtual port number;
Protocol massages control centre is used to receive the BPDU message that the Spanning-Tree Protocol unit sends, and the virtual port number of carrying in this BPDU message is updated to mainly uses the microwave link port numbers, and this BPDU message is sent to multiplexer MUX interface;
The MUX interface is used for sending said BPDU message through said main master with microwave link port numbers correspondence with microwave link.
A kind of message transmitting device that the embodiment of the invention provides comprises:
The MUX interface is used to receive BPDU BPDU message, and the BPDU message is sent to protocol massages control centre; And, receive the BPDU message that protocol massages control centre sends, send this BPDU message with the pairing master of microwave link port numbers with microwave link through the master who carries in this BPDU message;
Protocol massages control centre is used to receive the BPDU message that the MUX interface is transmitted, and the microwave link port numbers of carrying in this BPDU message is updated to preset virtual port number; The BPDU message that carries virtual port number is sent to the Spanning-Tree Protocol unit; And, receive the BPDU message that the Spanning-Tree Protocol unit sends, and the virtual port number of carrying in this BPDU message is updated to mainly uses the microwave link port numbers, and this BPDU message is sent to multiplexer MUX interface;
The Spanning-Tree Protocol unit is used to receive the BPDU message that protocol massages control centre sends, and does not change according to the microwave link port numbers in the BPDU message, confirms to need not to recomputate network topology; And the BPDU message that needs are sent sends to protocol massages control centre, and wherein, the microwave link port numbers of carrying in this BPDU message is virtual port number.
The embodiment of the invention, protocol massages control centre receives the BPDU BPDU message that multiplexer MUX interface is transmitted, and the microwave link port numbers of carrying in this BPDU message is updated to preset virtual port number; Wherein, the microwave link port numbers of carrying in this BPDU message is the main microwave link port numbers of using; The BPDU message that protocol massages control centre will carry virtual port number sends to the Spanning-Tree Protocol unit; So that the Spanning-Tree Protocol unit does not change according to the microwave link port numbers in the BPDU message; Confirm to need not to recomputate network topology; It is transparent that thereby microwave link switches for the Spanning-Tree Protocol unit, and the Spanning-Tree Protocol unit uses same virtual port number to carry out the transmission of BPDU message all the time, has avoided when microwave link taking place switch Spanning-Tree Protocol unit computing network topology again; Save professional switching time, improved the reliability of microwave link.
Description of drawings
The structural representation of the message transmitting device that Fig. 1 provides for the embodiment of the invention;
The schematic flow sheet of the message method of reseptance that Fig. 2 provides for the embodiment of the invention;
The schematic flow sheet of the file transmitting method that Fig. 3 provides for the embodiment of the invention;
The port numbers corresponding relation tabulation that Fig. 4 provides for the embodiment of the invention;
Handling process sketch map when the generation microwave link that Fig. 5 provides for the embodiment of the invention switches.
Embodiment
The embodiment of the invention provides a kind of message transmitting method and device, in order to avoid when microwave link taking place switch Spanning-Tree Protocol unit computing network topology again, saves the needed time of switching services.
The embodiment of the invention relates to the looped network protection technology in microwave communication field, to realize the seamless switching of microwave link.
The embodiment of the invention is carried out adaptation processing to the pairing port of microwave link; Assurance gives the pairing port numbers of BPDU message of Spanning-Tree Protocol unit constant from the 1+1 protection link transmission; Thereby guarantee that the Spanning-Tree Protocol unit does not recomputate network topology when microwave link generation 1+1 protection is switched; Therefore time of service interruption can be reduced greatly; Solved prior art when microwave link is switched, Spanning-Tree Protocol will recomputate network topology, causes the business recovery time very slow.
Referring to Fig. 1, a kind of message transmitting device that the embodiment of the invention provides comprises:
Multiplexer (Multiplexer, MUX) interface 101, are used to receive BPDU (BPDU) message, and the BPDU message is sent to protocol massages control centre 12; And, receive the BPDU message that protocol massages control centre 12 sends, send this BPDU message with the pairing master of microwave link port numbers with microwave link through the master who carries in this BPDU message.
Protocol massages control centre 12 is used to receive the BPDU message that MUX interface 11 is transmitted, and the microwave link port numbers of carrying in this BPDU message is updated to preset virtual port number; The BPDU message that carries virtual port number is sent to Spanning-Tree Protocol unit 13; And, receive the BPDU message that Spanning-Tree Protocol unit 13 sends, and the virtual port number of carrying in this BPDU message is updated to mainly uses the microwave link port numbers, and this BPDU message is sent to multiplexer MUX interface 11;
Spanning-Tree Protocol unit 13 is used to receive the BPDU message that protocol massages control centre 12 sends, and does not change according to the microwave link port numbers in the BPDU message, confirms to need not to recomputate network topology; And the BPDU message that needs are sent sends to protocol massages control centre 12, and wherein, the microwave link port numbers of carrying in this BPDU message is virtual port number.
Preferably; Send to the BPDU message of Spanning-Tree Protocol unit 13 for needs; Said protocol massages control centre 12 is through searching preset port numbers corresponding relation tabulation, and that confirms to carry in this BPDU message is main with the pairing virtual port number of microwave link port numbers; With this virtual port number as the microwave link port numbers of carrying in this BPDU message;
Send to the BPDU message of MUX interface 11 for needs, said protocol massages control centre 12 confirms the pairing main microwave link port numbers of using of the virtual port number of carrying in this BPDU message through searching preset port numbers corresponding relation tabulation; With this master with the microwave link port numbers as the microwave link port numbers of carrying in this BPDU message.
Preferably, this device also comprises:
Microwave link is switched agency 14, is used for will leading when switching to standby board with veneer when monitoring needs, to protocol massages control centre 12 transmission masterslave switchover message;
Protocol massages control centre 12; Also be used for according to said masterslave switchover message; Upgrade main in the tabulation of said port numbers corresponding relation, be about to the main value exchange in the tabulation of port numbers corresponding relation with microwave link port numbers and subsequent use microwave link port numbers with microwave link port numbers and subsequent use microwave link port numbers.
That is to say that it is that system provides external interface that MUX interface 11 mainly is responsible at bottom, be responsible for E-Packeting, through calling driving function configuration bottom port status that bottom chip provides etc.
The reception and the transmission of protocol massages control centre 12 control BPDU messages; Report the sign (Identification of the port of the microwave link that is used to receive message when receiving message; ID) (being the microwave link port numbers) given Spanning-Tree Protocol unit 13, specifies the sign of the port of the microwave link that will send when sending message.Wherein, when microwave link switched, then unification became virtual port number with the microwave link port numbers in the message when receiving message, and this virtual port number can be main with less port numbers in microwave link port numbers and the subsequent use microwave link port numbers.When sending message, at first search the tabulation of port numbers corresponding relation, change the microwave link port numbers in the message into the main microwave link port numbers of using then, this message is sent with microwave link from main then.
Said port numbers corresponding relation tabulation comprises main with microwave link port numbers, subsequent use microwave link port numbers and virtual port number.
Microwave link is switched and is acted on behalf of 14, is responsible for monitoring the main with microwave link and subsequent use microwave link of current microwave link in real time, when the master changes with microwave link and subsequent use microwave link, then notifies other module to operate accordingly.
In the embodiment of the invention, for receiving the BPDU message:
MUX interface 11 is used to receive BPDU BPDU message, and the BPDU message is sent to protocol massages control centre 12; Wherein, be used for the BPDU message is sent to the message of protocol massages control centre 12, the embodiment of the invention can be defined as and receive message message.
Protocol massages control centre 12 is used to receive the BPDU message that MUX interface 11 is transmitted, and the microwave link port numbers of carrying in this BPDU message is updated to preset virtual port number; Wherein, the microwave link port numbers of carrying in this BPDU message is the main microwave link port numbers of using; And, the BPDU message that carries virtual port number is sent to Spanning-Tree Protocol unit 13;
Spanning-Tree Protocol unit 13; Be used to receive the BPDU message that protocol massages control centre 12 sends; Wherein this BPDU message microwave link port numbers of carrying is a virtual port number, does not change according to the microwave link port numbers in the BPDU message, confirms to need not to recomputate network topology.
Preferably, said protocol massages control centre 12 is through searching preset port numbers corresponding relation tabulation, and that confirms to carry in this BPDU message is main with the pairing virtual port number of microwave link port numbers; With this virtual port number as the microwave link port numbers of carrying in this BPDU message.
Preferably,
Microwave link is switched agency 14, is used for will leading when switching to standby board with veneer when monitoring needs, to protocol massages control centre 12 transmission masterslave switchover message;
Protocol massages control centre 12 also is used for according to said masterslave switchover message, upgrades leading with microwave link port numbers and subsequent use microwave link port numbers in the said port numbers corresponding relation tabulation.
In the embodiment of the invention, for sending the BPDU message:
Spanning-Tree Protocol unit 13 is used for the BPDU BPDU message that needs send is sent to protocol massages control centre 12, and wherein, the microwave link port numbers of carrying in this BPDU message is preset virtual port number;
Protocol massages control centre 12 is used to receive the BPDU message that Spanning-Tree Protocol unit 13 sends, and the virtual port number of carrying in this BPDU message is updated to mainly uses the microwave link port numbers, and this BPDU message is sent to multiplexer MUX interface 11; Wherein, be used for this BPDU message is sent to the message of multiplexer MUX interface 11, the embodiment of the invention can be defined as sends message message.
MUX interface 11 is used for sending said BPDU message through said main master with microwave link port numbers correspondence with microwave link.
Preferably, said protocol massages control centre 12 confirms the pairing main microwave link port numbers of using of the virtual port number of carrying in this BPDU message through searching preset port numbers corresponding relation tabulation; With this master with the microwave link port numbers as the microwave link port numbers of carrying in this BPDU message.
Preferably,
Microwave link is switched agency 14, is used for will leading when switching to standby board with veneer when monitoring needs, to protocol massages control centre 12 transmission masterslave switchover message;
Protocol massages control centre 12 also is used for according to said masterslave switchover message, upgrades leading with microwave link port numbers and subsequent use microwave link port numbers in the said port numbers corresponding relation tabulation.
To sum up; The microwave link switching when taking place in the embodiment of the invention; Through the port numbers corresponding relation tabulation of protocol massages control centre 12, a virtual port number is presented to Spanning-Tree Protocol unit 13, switch influence thereby eliminate microwave link to Spanning-Tree Protocol unit 13.
Referring to Fig. 2, a kind of message method of reseptance that the embodiment of the invention provides comprises:
Step 101, protocol massages control centre receive the BPDU BPDU message that multiplexer MUX interface is transmitted, and the microwave link port numbers of carrying in this BPDU message is updated to preset virtual port number; Wherein, the microwave link port numbers of carrying in this BPDU message is the main microwave link port numbers of using;
The BPDU message that step 102, protocol massages control centre will carry virtual port number sends to the Spanning-Tree Protocol unit, so that the Spanning-Tree Protocol unit does not change according to the microwave link port numbers in the BPDU message, confirms to need not to recomputate network topology.
Preferably, said protocol massages control centre is updated to preset virtual port number with the microwave link port numbers of carrying in this BPDU message, comprising:
Protocol massages control centre is through searching preset port numbers corresponding relation tabulation, and the master who confirms to carry in this BPDU message is with the pairing virtual port number of microwave link port numbers;
Protocol massages control centre with this virtual port number as the microwave link port numbers of carrying in this BPDU message.
Preferably, this method also comprises:
Microwave link is switched the agency to be needed to lead when switching to standby board with veneer when monitoring, and sends masterslave switchover message to protocol massages control centre;
Protocol massages control centre upgrades leading with microwave link port numbers and subsequent use microwave link port numbers in the said port numbers corresponding relation tabulation according to said masterslave switchover message.
Referring to Fig. 3, a kind of file transmitting method that the embodiment of the invention provides comprises:
The BPDU BPDU message that step 201, Spanning-Tree Protocol unit will send sends to protocol massages control centre, and wherein, the microwave link port numbers of carrying in this BPDU message is preset virtual port number;
Step 202, protocol massages control centre receive the BPDU message that the Spanning-Tree Protocol unit sends, and the virtual port number of carrying in this BPDU message is updated to mainly uses the microwave link port numbers, then this BPDU message are sent to multiplexer MUX interface;
Step 203, MUX interface send said BPDU message through said main master with microwave link port numbers correspondence with microwave link.
Preferably, said protocol massages control centre is updated to the virtual port number of carrying in this BPDU message and mainly uses the microwave link port numbers, comprising:
Said protocol massages control centre confirms the pairing main microwave link port numbers of using of the virtual port number of carrying in this BPDU message through searching preset port numbers corresponding relation tabulation;
Said protocol massages control centre will lead with the microwave link port numbers as the microwave link port numbers of carrying in this BPDU message.
Preferably, this method also comprises:
Microwave link is switched the agency to be needed to lead when switching to standby board with veneer when monitoring, and sends masterslave switchover message to protocol massages control centre;
Protocol massages control centre upgrades leading with microwave link port numbers and subsequent use microwave link port numbers in the said port numbers corresponding relation tabulation according to said masterslave switchover message.
Provide the concrete introduction of the message transmitting method that the embodiment of the invention provides below.
The message transmitting method that the embodiment of the invention provides mainly comprises following two steps:
The first step: configuration Spanning-Tree Protocol unit 13 and the active and standby veneer of using.
Particularly, the parameter of configuration Spanning-Tree Protocol comprises whether bridge priority, hellotime, forwarddelay, Max age, port priority, port link cost and port are edge port.
Dispose primary, spare veneer, comprise current which transmission board is that the master is a standby board with veneer, which transmission board, and primary, spare veneer is configured on concrete which groove position.
This step can also comprise:
Steps A: configuration Spanning-Tree Protocol unit 13 is with active and standby with behind the veneer; Protocol massages control centre 12 begins to generate the tabulation of port numbers corresponding relation, and the tabulation of port numbers corresponding relation comprises main with microwave link ID (the promptly main microwave link port numbers of using), subsequent use microwave link ID (being subsequent use microwave link port numbers) and virtual ID (being virtual port number).Wherein, when initial, the master decides with veneer according to the master of configuration with microwave link ID, and subsequent use microwave link ID decides according to the standby board of configuration.Which groove position the master is configured in veneer is inserted, and can determine the main microwave link ID that uses.In like manner, which groove position standby board is configured in is inserted, and can determine subsequent use microwave link ID.
Virtual ID can confirm that with microwave link ID and subsequent use microwave link ID which ID is little through relatively more main, then adopts which ID as virtual ID.
Certainly, virtual ID also can be set to other any ID.
Step B: the protected mode of configuration microwave link 1+1 for example, can be space diversity (SD; Space Division), frequency diversity (FD; Frequency Division), Hot Spare (HSB, HotStandby), Hot Spare and frequency diversity (HSB+FD, Hot Standby and Frequency Division), perhaps; Hot Spare and space diversity a kind of modes such as (HSB+SD, Hot Standby and Space Division).
Step C: 13 parameters according to the Spanning-Tree Protocol of configuration in Spanning-Tree Protocol unit are carried out agreement calculating, finally form an acyclic tree topology that topology is stable.
Second step: when take place main with microwave link and subsequent use microwave link switch (being the microwave link switching) time, specifically be divided into two kinds of situation, explain respectively below:
Situation one: when microwave link switches specifically is main with digital microwave transceiver (Outdoor Unit; During ODU) with the switching of subsequent use digital microwave transceiver, microwave link is switched agency 14 and is confirmed that through judging digital baseband signal (promptly not passing through modulation) master does not switch with veneer and standby board.Thereby, in fact receive consistently with the baseband path of sending message, do not need notification protocol message control centre 12 to upgrade main in the tabulation of port numbers corresponding relations with microwave link port numbers and subsequent use microwave link port numbers.
Situation two: when microwave link switches specifically is main during with the switching of veneer and standby board; Microwave link is switched agency 14 from obtaining the main state with veneer and standby board after switching in logic; Confirm promptly current which veneer is that the master uses veneer, which veneer to be standby board, and open the timer (to eliminate the main effect of jitter of switching frequent generation with veneer and standby board) that is provided with in advance, timing length can be 0~200 millisecond of (microsecond; Ms); If take place after the timer expiry mainly once more with the switching of veneer and standby board, then to confirm this time to switch and be not to shake, main switching with veneer and standby board taken place in affirmation; Then; Call MUX interface 11 and close subsequent use microwave link port and open the main microwave link port of using, (Media Access Control, MAC) address table copies to main with on the microwave link port the medium access control on the subsequent use microwave link port.Simultaneously; Sending 12 pairs of port numbers corresponding relations tabulations of masterslave switchover message (wherein carrying current master with microwave link ID and current subsequent use microwave link ID) notification protocol message control centre upgrades; Renewal master wherein is with microwave link ID and subsequent use microwave link ID, thereby the master after the assurance conversion is transparent to Spanning-Tree Protocol unit 13 with veneer and standby board.
To sum up; The microwave link seamless switch-over system that the embodiment of the invention provides comprises three modules; Be respectively that protocol massages control centre 12, microwave link are switched agency 14 and MUX interface 11; And the embodiment of the invention has defined three kinds of message, is respectively masterslave switchover message, receives message message and send message message.
Wherein, Microwave link is switched agency 14 and when microwave link generation 1+1 protection is switched, is given protocol massages control centre 12 through sending masterslave switchover message; Wherein when ODU switches; Do not send any message and give protocol massages control centre 12,, therefore need not notify Spanning-Tree Protocol unit 13 to do adaptive work because the path of base band does not change at this moment.
Protocol massages control centre 12 can send and receive message in the process of Spanning-Tree Protocol unit 13 calculating topologys; Need to specify the microwave link port that sends message this moment; The port numbers of this port is exactly the virtual ID in the tabulation of port numbers corresponding relation; Find the main microwave link ID that use through port numbers corresponding relation tabulation then, through MUX interface 11 message lead with microwave link ID for the master send with microwave link.MUX interface 11 receives the message that send on the bottom; Carry the main microwave link ID that uses of inlet in this message; MUX interface 11 is given to protocol massages control centre 12 to message then; Protocol massages control centre 12 finds the microwave link port numbers corresponding virtual ID in this message through port numbers corresponding relation tabulation, passes to Spanning-Tree Protocol unit 13 after being revised as this virtual ID to the microwave link port numbers in the message then.
Fig. 4 is the sketch map of the port numbers corresponding relation tabulation of protocol massages control centre 12 storages.This port numbers corresponding relation tabulation comprises 3, is respectively main with microwave link ID, subsequent use microwave link ID and virtual ID.
Port numbers corresponding relation tabulation described in the embodiment of the invention; The quantity of the corresponding relation that wherein comprises need confirm that how many users disposed to primary, spare veneer according to user's configuration; How many bar records are then just arranged in this table; The pairing virtual ID of different primary, spare microwave link ID is different, and each link all has a unique ID, virtual ID can be set be a minimum ID among the ID of every pair of primary, spare microwave link.
Fig. 5 is the process chart when the microwave link switching takes place; When protection takes place and switches in microwave link, judge that at first whether Switch mode is that ODU switches (promptly whether above-mentioned situation one), if; Then directly withdraw from; Need not do any operation, otherwise notification protocol message control centre 12 upgrades the tabulation of port numbers corresponding relations, call 11 couples of masters of MUX interface then and be provided with the port status and the learning table of microwave link and subsequent use microwave link; Particularly, open main with the microwave link port, close subsequent use microwave link port and copy the Mac address learning list on the subsequent use microwave link port to and lead with on the microwave link port.
To sum up, see that the device that the embodiment of the invention provides can be made up of exchange chip and modem chip from hardware.
See that from software the message transmitting method that the embodiment of the invention provides comprises the steps:
The first step, when just powering in system, protocol massages control centre 12 generates a port numbers corresponding relation tabulation according to user's configuration; To microwave link; If exist the master with microwave link and subsequent use microwave link, then relatively more main ID with microwave link and subsequent use microwave link chooses wherein less link ID and uses as virtual ID; If there is not subsequent use microwave link, then subsequent use microwave link uses invalid value-1; To the line side port, then subsequent use microwave link ID is in invalid value-1 always, and virtual ID remains consistent with the line side port id.Spanning-Tree Protocol unit 13 carries out agreement according to the virtual ID in the tabulation of port numbers corresponding relation and calculates, and all Link States (comprising chain rupture state, connection status and obstruction attitude) obtain from Database Systems.Microwave link is in the chain rupture state when just powering on, and Spanning-Tree Protocol unit 13 is changed to the obstruction attitude with corresponding link.
Wherein, said line side port, i.e. airlink corresponding physical port.
Second step, system power on accomplish after, microwave link is switched current main with microwave link and subsequent use microwave link state of agency 14 monitoring in real time, and when microwave link connection last time, reports Spanning-Tree Protocol unit 13 through database and carry out topology calculating.
The 3rd step; When microwave link generation microwave link switched, microwave link is switched agency 14 can detect the current main microwave link of using, and sends message and give protocol massages control centre 12; Notify it to upgrade the tabulation of port numbers corresponding relation; Call MUX interface 11 main before closing simultaneously and use microwave link, open subsequent use microwave link, and switching Mac address learning list.Can't perceive main variation with microwave link and subsequent use microwave link for Spanning-Tree Protocol unit 13 this moment; All the time use virtual ID to carry out the distribution and the reception of protocol massages; Any finally then control by protocol massages control centre 12 from bar link transmission message; About the transmission of message, adopt same virtual ID all the time in Spanning-Tree Protocol unit 13.
Therefore, the embodiment of the invention has overcome in the prior art when microwave link generation 1+1 protection switches, can cause that Spanning-Tree Protocol unit 13 recomputates network topology, causes the long problem of network concussion and business switching time.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device; Make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computer or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (15)

1. a message method of reseptance is characterized in that, this method comprises:
Protocol massages control centre receives the BPDU BPDU message that multiplexer MUX interface is transmitted, and the microwave link port numbers of carrying in this BPDU message is updated to preset virtual port number; Wherein, the microwave link port numbers of carrying in this BPDU message is the main microwave link port numbers of using;
The BPDU message that protocol massages control centre will carry virtual port number sends to the Spanning-Tree Protocol unit, so that the Spanning-Tree Protocol unit does not change according to the microwave link port numbers in the BPDU message, confirms to need not to recomputate network topology.
2. method according to claim 1 is characterized in that, said protocol massages control centre is updated to preset virtual port number with the microwave link port numbers of carrying in this BPDU message, comprising:
Protocol massages control centre is through searching preset port numbers corresponding relation tabulation, and the master who confirms to carry in this BPDU message is with the pairing virtual port number of microwave link port numbers;
Protocol massages control centre with this virtual port number as the microwave link port numbers of carrying in this BPDU message.
3. method according to claim 2 is characterized in that, this method also comprises:
Microwave link is switched the agency to be needed to lead when switching to standby board with veneer when monitoring, and sends masterslave switchover message to protocol massages control centre;
Protocol massages control centre upgrades leading with microwave link port numbers and subsequent use microwave link port numbers in the said port numbers corresponding relation tabulation according to said masterslave switchover message.
4. a file transmitting method is characterized in that, this method comprises:
The BPDU BPDU message that the Spanning-Tree Protocol unit will send sends to protocol massages control centre, and wherein, the microwave link port numbers of carrying in this BPDU message is preset virtual port number;
Protocol massages control centre receives the BPDU message that the Spanning-Tree Protocol unit sends, and the virtual port number of carrying in this BPDU message is updated to mainly uses the microwave link port numbers, then this BPDU message is sent to multiplexer MUX interface;
The MUX interface sends said BPDU message through said main master with microwave link port numbers correspondence with microwave link.
5. method according to claim 4 is characterized in that, said protocol massages control centre is updated to the virtual port number of carrying in this BPDU message and mainly uses the microwave link port numbers, comprising:
Said protocol massages control centre confirms the pairing main microwave link port numbers of using of the virtual port number of carrying in this BPDU message through searching preset port numbers corresponding relation tabulation;
Said protocol massages control centre will lead with the microwave link port numbers as the microwave link port numbers of carrying in this BPDU message.
6. method according to claim 5 is characterized in that, this method also comprises:
Microwave link is switched the agency to be needed to lead when switching to standby board with veneer when monitoring, and sends masterslave switchover message to protocol massages control centre;
Protocol massages control centre upgrades leading with microwave link port numbers and subsequent use microwave link port numbers in the said port numbers corresponding relation tabulation according to said masterslave switchover message.
7. a message receiving system is characterized in that, this device comprises:
The MUX interface is used to receive BPDU BPDU message, and the BPDU message is sent to protocol massages control centre;
Protocol massages control centre is used to receive the BPDU message that the MUX interface is transmitted, and the microwave link port numbers of carrying in this BPDU message is updated to preset virtual port number; Wherein, the microwave link port numbers of carrying in this BPDU message is the main microwave link port numbers of using; And, the BPDU message that carries virtual port number is sent to the Spanning-Tree Protocol unit;
The Spanning-Tree Protocol unit; Be used to receive the BPDU message that protocol massages control centre sends; Wherein this BPDU message microwave link port numbers of carrying is a virtual port number, does not change according to the microwave link port numbers in the BPDU message, confirms to need not to recomputate network topology.
8. device according to claim 7 is characterized in that, said protocol massages control centre is through searching preset port numbers corresponding relation tabulation, and that confirms to carry in this BPDU message is main with the pairing virtual port number of microwave link port numbers; With this virtual port number as the microwave link port numbers of carrying in this BPDU message.
9. device according to claim 8 is characterized in that, this device also comprises:
Microwave link is switched the agency, is used for will leading when switching to standby board with veneer when monitoring needs, sends masterslave switchover message to protocol massages control centre;
Protocol massages control centre also is used for according to said masterslave switchover message, upgrades leading with microwave link port numbers and subsequent use microwave link port numbers in the said port numbers corresponding relation tabulation.
10. a packet transmission device is characterized in that, this device comprises:
The Spanning-Tree Protocol unit is used for the BPDU BPDU message that needs send is sent to protocol massages control centre, and wherein, the microwave link port numbers of carrying in this BPDU message is preset virtual port number;
Protocol massages control centre is used to receive the BPDU message that the Spanning-Tree Protocol unit sends, and the virtual port number of carrying in this BPDU message is updated to mainly uses the microwave link port numbers, and this BPDU message is sent to multiplexer MUX interface;
The MUX interface is used for sending said BPDU message through said main master with microwave link port numbers correspondence with microwave link.
11. device according to claim 10 is characterized in that, said protocol massages control centre confirms the pairing main microwave link port numbers of using of the virtual port number of carrying in this BPDU message through searching preset port numbers corresponding relation tabulation; With this master with the microwave link port numbers as the microwave link port numbers of carrying in this BPDU message.
12. device according to claim 11 is characterized in that, this device also comprises:
Microwave link is switched the agency, is used for will leading when switching to standby board with veneer when monitoring needs, sends masterslave switchover message to protocol massages control centre;
Protocol massages control centre also is used for according to said masterslave switchover message, upgrades leading with microwave link port numbers and subsequent use microwave link port numbers in the said port numbers corresponding relation tabulation.
13. a message transmitting device is characterized in that, this device comprises:
The MUX interface is used to receive BPDU BPDU message, and the BPDU message is sent to protocol massages control centre; And, receive the BPDU message that protocol massages control centre sends, send this BPDU message with the pairing master of microwave link port numbers with microwave link through the master who carries in this BPDU message;
Protocol massages control centre is used to receive the BPDU message that the MUX interface is transmitted, and the microwave link port numbers of carrying in this BPDU message is updated to preset virtual port number; The BPDU message that carries virtual port number is sent to the Spanning-Tree Protocol unit; And, receive the BPDU message that the Spanning-Tree Protocol unit sends, and the virtual port number of carrying in this BPDU message is updated to mainly uses the microwave link port numbers, and this BPDU message is sent to multiplexer MUX interface;
The Spanning-Tree Protocol unit is used to receive the BPDU message that protocol massages control centre sends, and does not change according to the microwave link port numbers in the BPDU message, confirms to need not to recomputate network topology; And the BPDU message that needs are sent sends to protocol massages control centre, and wherein, the microwave link port numbers of carrying in this BPDU message is virtual port number.
14. device according to claim 13; It is characterized in that; Send to the BPDU message of Spanning-Tree Protocol unit for needs; Said protocol massages control centre is through searching preset port numbers corresponding relation tabulation, and that confirms to carry in this BPDU message is main with the pairing virtual port number of microwave link port numbers; With this virtual port number as the microwave link port numbers of carrying in this BPDU message;
Send to the BPDU message of MUX interface for needs, said protocol massages control centre confirms the pairing main microwave link port numbers of using of the virtual port number of carrying in this BPDU message through searching preset port numbers corresponding relation tabulation; With this master with the microwave link port numbers as the microwave link port numbers of carrying in this BPDU message.
15. device according to claim 14 is characterized in that, this device also comprises:
Microwave link is switched the agency, is used for will leading when switching to standby board with veneer when monitoring needs, sends masterslave switchover message to protocol massages control centre;
Protocol massages control centre also is used for according to said masterslave switchover message, upgrades leading with microwave link port numbers and subsequent use microwave link port numbers in the said port numbers corresponding relation tabulation.
CN201110156089.7A 2011-06-10 2011-06-10 Message transmission method and device Expired - Fee Related CN102821033B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110156089.7A CN102821033B (en) 2011-06-10 2011-06-10 Message transmission method and device
PCT/CN2012/073929 WO2012167666A1 (en) 2011-06-10 2012-04-12 Message transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110156089.7A CN102821033B (en) 2011-06-10 2011-06-10 Message transmission method and device

Publications (2)

Publication Number Publication Date
CN102821033A true CN102821033A (en) 2012-12-12
CN102821033B CN102821033B (en) 2017-04-12

Family

ID=47295458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110156089.7A Expired - Fee Related CN102821033B (en) 2011-06-10 2011-06-10 Message transmission method and device

Country Status (2)

Country Link
CN (1) CN102821033B (en)
WO (1) WO2012167666A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152260A (en) * 2013-02-21 2013-06-12 中兴通讯股份有限公司 Message forwarding system, method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113193994B (en) * 2021-04-22 2023-06-13 大连市共进科技有限公司 Topology discovery method, device, terminal equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909555A (en) * 2006-08-25 2007-02-07 华为技术有限公司 Method for realizing generation of tree protocol local calculation and commutative ring net system
CN102013969A (en) * 2010-12-02 2011-04-13 中兴通讯股份有限公司 Method and device for realizing time synchronization

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8462668B2 (en) * 2002-10-01 2013-06-11 Foundry Networks, Llc System and method for implementation of layer 2 redundancy protocols across multiple networks
CN101902399B (en) * 2010-07-09 2012-08-15 北京星网锐捷网络技术有限公司 Wireless network communication method, system and device based on spanning tree protocol (STP)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909555A (en) * 2006-08-25 2007-02-07 华为技术有限公司 Method for realizing generation of tree protocol local calculation and commutative ring net system
CN102013969A (en) * 2010-12-02 2011-04-13 中兴通讯股份有限公司 Method and device for realizing time synchronization

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152260A (en) * 2013-02-21 2013-06-12 中兴通讯股份有限公司 Message forwarding system, method and device
US9998366B2 (en) 2013-02-21 2018-06-12 Zte Corporation System, method and device for forwarding packet
CN103152260B (en) * 2013-02-21 2019-02-15 中兴通讯股份有限公司 Message forwarding system, method and device

Also Published As

Publication number Publication date
WO2012167666A1 (en) 2012-12-13
CN102821033B (en) 2017-04-12

Similar Documents

Publication Publication Date Title
CN100417094C (en) Network failure recovery method with redundancy port
US8971295B2 (en) Soft handoffs in networks
CN101800676A (en) Link detection method, device and system
US20160036625A1 (en) Method and device for protecting service reliability and network virtualization system
CN103001799B (en) Method and node for achieving redundancy on basis of chain network
CN103001887A (en) Link keeping alive method, controller and switchboard
EP3242446B1 (en) Failure protection method, device and system for ring protection link
CN101511042B (en) Data synchronization method and device
CN102025562A (en) Path detection method and device
US9288075B2 (en) Method and system for auto-configuration, and network node
CN103595626A (en) Method for achieving dynamic path planning in ring network
CN103200109B (en) A kind of ospf neighbor relationship management method and equipment
CN103227725A (en) Method and device for dual-server backup of firewall
CN102255757A (en) Link switching method and device
CN101989953A (en) Method and equipment for sending bidirectional forwarding detection message
CN101827035B (en) Method for ensuring graceful restarting and dual master control network device
CN111130910A (en) SDN controller applied to Internet of things platform
CN102821033A (en) Message transmission method and device
CN102281158A (en) Line fault processing method and device
CN101217405B (en) SGSN backup method and communication system, communication device
CN104767720A (en) OpenFlow message tracking and filtering method in software defined network
CN113261249A (en) Data transmission method, related equipment and computer storage medium
CN101645840B (en) Method, system and routing equipment for retransmitting message
CN101686199A (en) Method, device and system for processing control message in Ethernet protection system
CN103618630A (en) Data safe transmission method and device based on double up links

Legal Events

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

Granted publication date: 20170412

Termination date: 20190610