CN109462639A - Ports-Extending device management method and device - Google Patents

Ports-Extending device management method and device Download PDF

Info

Publication number
CN109462639A
CN109462639A CN201811260266.4A CN201811260266A CN109462639A CN 109462639 A CN109462639 A CN 109462639A CN 201811260266 A CN201811260266 A CN 201811260266A CN 109462639 A CN109462639 A CN 109462639A
Authority
CN
China
Prior art keywords
node
dependence
force
equipment
come
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
CN201811260266.4A
Other languages
Chinese (zh)
Other versions
CN109462639B (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.)
New H3C Technologies Co Ltd Hefei Branch
Original Assignee
New H3C Technologies Co Ltd Hefei Branch
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 New H3C Technologies Co Ltd Hefei Branch filed Critical New H3C Technologies Co Ltd Hefei Branch
Priority to CN201811260266.4A priority Critical patent/CN109462639B/en
Publication of CN109462639A publication Critical patent/CN109462639A/en
Application granted granted Critical
Publication of CN109462639B publication Critical patent/CN109462639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Abstract

The application provides a kind of ports-Extending device management method and device, applied to the control bridge device being connect with multiple ports-Extending equipment, the described method includes: being directed to target port expansion equipment, multiple boards are selected for the target port expansion equipment in the board that can carry out protocol massages processing of the control bridge device, using each board selected as the dependence node of the target port expansion equipment;According to all current load situations for relying on node, the dependence node to come into force, and the protocol massages interacted between the dependence node processing to come into force by this and target port expansion equipment are selected for target port expansion equipment in all dependence nodes.In this way, protocol massages processing pressure is distributed on multiple boards of control bridge device, reduce influence of the performance bottleneck of single board to entire communication system, and the coverage of board faults can be reduced.

Description

Ports-Extending device management method and device
Technical field
This application involves network communication technology fields, in particular to a kind of ports-Extending device management method and dress It sets.
Background technique
Intelligent elastic framework (Intelligent Resilient Framework, abbreviation IRF) technology is a kind of establishes Technology on 802.1BR standard agreement can virtually turn to multiple ports-Extending equipment (Port Extender, abbreviation PEX) The teleaction service plate of control bridge (Controlling Bridge, abbreviation CB) equipment, and by control bridge device by expanding with port Protocol massages interaction between exhibition equipment is uniformly controlled ports-Extending equipment.
For a port expansion equipment multiple dependence node (Rely Nodes of can be configured in control bridge device PEX, abbreviation RNs), using one of node that relies on as dependence node (Active Rely Node of PEX, the letter to come into force Claim A-RN), it is interacted for handling with the protocol massages between the ports-Extending equipment, other non-dependence nodes to come into force are receiving After the protocol massages sent to the ports-Extending equipment, protocol massages can be sent by controlling the internal communication connection of bridge device It is handled to the dependence node to come into force.
It in the prior art, is all that will control all master control borads of bridge device as dependence for all of the port expansion equipment Node, and be all using the main control board in all master control borads as the dependence section to come into force for all of the port expansion equipment Point, other slave control board or interface board after the protocol massages for receiving ports-Extending equipment, be transmitted to main control board into Row processing.This makes main control board need to bear huge data processing, is easy the single-point performance bottle because of main control board Neck influences whole system working performance, and when main control board breaks down, will affect current all of the port expansion equipment Normal work.
Summary of the invention
In a first aspect, the application provides a kind of ports-Extending device management method, it is applied to and multiple ports-Extending equipment The control bridge device of connection, which comprises
For target port expansion equipment, it is somebody's turn to do in the board that can carry out protocol massages processing of the control bridge device Target port expansion equipment selects multiple boards, using each board selected as the dependence section of the target port expansion equipment Point;
According to all current load situations for relying on node, selected in all dependence nodes for the target port expansion equipment The agreement interacted between the dependence node processing selecting the dependence node to come into force, and being come into force by this and the target port expansion equipment Message.
Optionally, in the above-mentioned methods, the board of the control bridge device includes master control borad and interface board;
It is selected in the board that can carry out protocol massages processing of the control bridge device for the target port expansion equipment The step of multiple boards, comprising:
By the member port institute of multiple master control borads of control bridge device aggregation port corresponding with the target port expansion equipment Interface board be selected as the dependence node of the target port expansion equipment.
Optionally, in the above-mentioned methods, according to all current load situations for relying on node, it is in all dependence nodes The target port expansion equipment selects the step of dependence node to come into force, comprising:
According to each current load situation for relying on node, alternative dependence node is screened in all dependence nodes;
The alternative node that relies on is chosen as the dependence to come into force according to the communication performance of the alternative dependence node filtered out Node.
Optionally, in the above-mentioned methods, each current load situation for relying on node includes having come into force for the dependence node The quantity of ports-Extending equipment, the quantity of each ports-Extending equipment that come into force for relying on node are using the dependence node as life The quantity of the ports-Extending equipment of the dependence node of effect;
According to each current load situation for relying on node, the alternative step for relying on node of screening in all dependence nodes Suddenly, comprising:
Obtain the quantity of each ports-Extending equipment that come into force for relying on node;
Dependence by the quantity for the ports-Extending equipment that come into force no more than the corresponding maximum controllable device quantity for relying on node Node alternately relies on node, wherein the maximum controllable device quantity is pre-set according to the performance for relying on node The maximum quantity for ports-Extending equipment that the dependence node can control come into force.
Optionally, in the above-mentioned methods, according to the communication performance of the alternative dependence node filtered out choose one alternatively according to Rely the step of node is as the dependence node to come into force, comprising:
Obtain each alternative total bandwidth for relying on the member port of the corresponding aggregation port of target port expansion equipment on node;
Using the total bandwidth maximum one alternative node that relies on as the dependence node of the target port expansion equipment to come into force.
Optionally, in the above-mentioned methods, the method also includes:
When detecting that the dependence node to come into force is pulled out or breaks down, re-execute according to all dependence nodes Current load situation is the step of target port expansion equipment selects the dependence node to come into force in all dependence nodes;Or Person
When detecting that the member port of the corresponding aggregation port of ports-Extending equipment changes, re-execute in the control The step of selecting multiple boards in the board that can carry out protocol massages processing of bridge device for the target port expansion equipment.
Optionally, in the above-mentioned methods, the method also includes:
After selecting to rely on node for the target port expansion equipment, by the target port expansion equipment and the target port The corresponding relationship of the dependence node of expansion equipment is advertised to each master control borad and each interface board;
After the dependence node to come into force for target port expansion equipment selection, by the target port expansion equipment and the life The corresponding relationship of the dependence node of effect is advertised to each master control borad and each interface board.
Second aspect, the application provide a kind of ports-Extending equipment management device, are applied to and multiple ports-Extending equipment The control bridge device of connection, described device include:
Node determining module can carry out agreement report in the control bridge device for being directed to target port expansion equipment Multiple boards are selected for the target port expansion equipment in the board of text processing, using each board selected as the target side The dependence node of mouth expansion equipment;
Node elects module, for being somebody's turn to do in all dependence nodes according to all current load situations for relying on node Target port expansion equipment selects the dependence node to come into force, and is extended by the dependence node processing to come into force and the target port The protocol massages of interaction between equipment.
Optionally, the board of the control bridge device includes master control borad and interface board;The node determining module is specifically used for It will be in connecing where the member port of multiple master control borads of control bridge device aggregation port corresponding with the target port expansion equipment Oralia is selected as the dependence node of the target port expansion equipment.
Optionally, the node election module is specifically used for according to each current load situation for relying on node, all Rely on the alternative dependence node of screening in node;And according to the communication performance of the alternative dependence node filtered out choose one alternatively according to Rely node as the dependence node to come into force.
Optionally, each current load situation for relying on node includes the ports-Extending equipment that come into force of the dependence node Quantity, the quantity of each ports-Extending equipment that come into force for relying on node are using the dependence node as the dependence node to come into force The quantity of ports-Extending equipment;
The node election module is specifically used for obtaining the quantity of each ports-Extending equipment that come into force for relying on node;And Using the quantity for the ports-Extending equipment that come into force no more than the corresponding maximum controllable device quantity for relying on node dependence node as It is alternative to rely on node, wherein the maximum controllable device quantity is according to the pre-set dependence section of performance for relying on node The maximum quantity for the ports-Extending equipment that come into force that point can control.
Optionally, the node election module is specifically used for obtaining the target port expansion equipment on each alternative dependence node The total bandwidth of the member port of corresponding aggregation port;And using the total bandwidth maximum one alternative node that relies on as target port expansion Open up the dependence node of equipment to come into force.
Optionally, described device further include:
Detection module, for triggering the node when detecting that the dependence node to come into force is pulled out or breaks down Election module re-executes: being the target port in all dependence nodes according to all current load situations for relying on node Expansion equipment selects the dependence node to come into force;Alternatively,
When detecting that the member port of the corresponding aggregation port of ports-Extending equipment changes, triggers the node and determine Module re-executes: being the target port expansion equipment in the board that can carry out protocol massages processing of the control bridge device The step of selecting multiple boards.
Optionally, described device further include:
Announcement module, for after selecting to rely on node for the target port expansion equipment, target port extension to be set The standby corresponding relationship with the dependence node of the target port expansion equipment is advertised to each master control borad and each interface board;
After the dependence node to come into force for target port expansion equipment selection, by the target port expansion equipment and the life The corresponding relationship of the dependence node of effect is advertised to each master control borad and each interface board.
In terms of existing technologies, the application has the advantages that
Ports-Extending device management method and device provided by the present application, by for each ports-Extending equipment individually into The election for the dependence node that row comes into force, allows the corresponding dependence node to come into force of different ports-Extending equipment to be distributed in control On the different board of bridge device processed.In this way, protocol massages processing pressure is distributed on multiple boards of control bridge device, reduce Influence of the performance bottleneck of single board to entire communication system, and can reduce the coverage of board faults.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the application scenarios schematic diagram of control bridge device provided by the embodiments of the present application;
Fig. 2 is the structural schematic diagram of control bridge device provided by the embodiments of the present application;
Fig. 3 is the flow diagram of ports-Extending device management method provided by the embodiments of the present application;
Fig. 4 is the functional block diagram of ports-Extending equipment management device provided by the embodiments of the present application.
Icon: 10- controls bridge device;100- master control borad;200- interface board;300- network board;110- ports-Extending is set Standby managing device;111- node determining module;112- node elects module;20- ports-Extending equipment;30- host;Outside 40- Network.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model of the application protection It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
In the description of the present application, it is also necessary to which explanation is unless specifically defined or limited otherwise, term " setting ", " installation ", " connected ", " connection " shall be understood in a broad sense, for example, it may be fixedly connected, may be a detachable connection or one Connect to body;It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, it can also be indirect by intermediary It is connected, can be the connection inside two elements.For the ordinary skill in the art, on being understood with concrete condition State the concrete meaning of term in this application.
Fig. 1 is please referred to, Fig. 1 is the application scenarios schematic diagram of control bridge device 10 provided in this embodiment, controls bridge device 10 can connect with multiple ports-Extending equipment 20, and ports-Extending equipment 20 is carrying out necessary can virtually turning to control with postponing The teleaction service plate of bridge device 10 processed.Ports-Extending equipment 20 can be connect with user side host 30,20 He of ports-Extending equipment Control bridge device 10 realizes communication between user side host 30 or user side host 30 and outer together as access layer equipment Communication between portion's network 40.
Referring to figure 2., control bridge device 10 includes multiple boards, these boards may include multiple master control borads 100 (including Main control board and slave control board) and multiple interface boards 200, switching network can be passed through between master control borad 100 or interface board 200 300 groups of plate are in communication with each other connection.One master control borad 100 or an interface board 200 may include multiple for setting with ports-Extending The port of standby 20 connection.The processing list for being handled protocol massages can be set on master control borad 100 or interface board 200 First (such as CPU).
Ports-Extending equipment 20 can be connect by aggregation port with control bridge device 10, and a port expansion equipment 20 is corresponding The member port of aggregation port be likely distributed on different master control borad 100 or interface board 200.
The present embodiment provides a kind of applied to 20 management method of ports-Extending equipment for controlling bridge device 10 shown in Fig. 2, should Method carries out the dependence node for relying on the selection of node and coming into force by being directed to different ports-Extending equipment 20 relatively independently Selection, make different ports-Extending equipment 20 that can will control the different board of bridge device 10 as the dependence node to come into force, from And the processing job sharing of protocol massages in bridge device 10 will be controlled to different boards.Referring to figure 2., below to this method Each step is described in detail.
Step S110 can carry out protocol massages processing in the control bridge device 10 for target port expansion equipment Board in for the target port expansion equipment select multiple boards, extended each board selected as the target port The dependence node of equipment.
Step S120 is the target port in all dependence nodes according to all current load situations for relying on node Expansion equipment selects the dependence node to come into force, and by between the dependence node processing to come into force and the target port expansion equipment Interactive protocol massages.
It in the present embodiment, can be the selection of target port expansion equipment by the current main control board of control bridge device 10 Dependence node of multiple boards that can carry out protocol massages processing as the target port expansion equipment, and select according to Rely in node and selects the dependence node to come into force for target port expansion equipment.
In the step s 120, the dependence node of target port expansion equipment to come into force receive the target port extension set When standby protocol massages, directly protocol massages can be handled;Other non-dependence nodes to come into force are receiving target side When the protocol massages of mouth expansion equipment, protocol massages can be transmitted to the mesh by controlling the internal communication connection of bridge device 10 The dependence node of mark ports-Extending equipment to come into force is handled.
Optionally, since master control borad 100 usually can be transferred through each interface board 200 or by expanding on master control borad 100 with port The port that exhibition equipment 20 is directly connected to carries out protocol massages with ports-Extending equipment 20 and interacts, therefore one kind in the present embodiment is specific In embodiment, all master control borads 100 can be selected as to the dependence node of target port expansion equipment in step s 110.
Then one is selected for target port expansion equipment according to all loading conditions for relying on node in the step s 120 The dependence node to come into force.In this way, being directed to different ports-Extending equipment 20, the processing of protocol massages no longer concentrates on current master With master control borad plate, but it is distributed to main control board and each slave control board, has reduced the data of current main control board Processing pressure, and when current main control board breaks down, it is possible to reduce fault incidence.
Optionally, through inventor the study found that in the prior art, interface board 200 is receiving ports-Extending equipment 20 When the protocol massages of transmission, protocol massages can be transmitted to by the internal communication connection between control 10 board of bridge device primary Master control borad, this mode will increase Forwarding Latency and occupy forwarding bandwidth resource, and interface board 200 can have centainly in itself Protocol massages processing capacity.It, in step s 110, can will be with target side therefore in the another embodiment of the present embodiment Interface board 200 where the member port of the corresponding aggregation port of mouth expansion equipment is selected as the dependence section of the target port expansion equipment Point.
Then one is selected for target port expansion equipment according to all loading conditions for relying on node in the step s 120 The dependence node to come into force.In this way, for target port expansion equipment selection the dependence node to come into force must be can directly with the mesh Mark the interface board 200 that ports-Extending equipment carries out protocol massages interaction, it is possible to reduce being directed between control 10 board of bridge device should The protocol massages transfer amount of target port expansion equipment, while also sharing the processing pressure of protocol massages to each interface board 200, reduce the data processing pressure and fault incidence of current main control board.
Optionally, due between the interface board 200 of control bridge device 10 or between interface board 200 and master control borad 100 To be communicated by 300 groups of network board, and master control borad 100 also can have and directly connect with ports-Extending equipment 20 Communication port.Therefore in another specific embodiment of the present embodiment, bridge device 10 can will be being controlled in step s 110 Multiple master control borads 100 and aggregation port corresponding with target port expansion equipment member port where interface board 200 be selected as Multiple dependence nodes of target port expansion equipment.
Then one is selected for target port expansion equipment according to all loading conditions for relying on node in the step s 120 The dependence node to come into force.In this way, the processing pressure of protocol massages has been assigned to all master control borads 100 and interface board 200, reduce The data processing pressure and fault incidence of current main control board.
Optionally, each board to allow control bridge device 10 knows the dependence node configuration of target port expansion equipment Situation or each board of control bridge device 10 can when to make the member port of the corresponding polymerization of target port expansion equipment change To perform corresponding processing in time, in the present embodiment, control bridge device 10 can for target port expansion equipment select according to After relying node, the corresponding relationship of target port expansion equipment and the dependence node of the target port expansion equipment is advertised to each master Control plate 100 and each interface board 200.
Optionally, it in a kind of specific embodiment of the present embodiment, can be saved in the step s 120 according to all dependences Each current load situation for relying on node, is selected as target port expansion equipment for the most light dependence node of present load in point The dependence node to come into force.
For example, the available each current CPU usage for relying on node of control bridge device 10, the smallest by CPU usage Rely on the dependence node to come into force that node is selected as target port expansion equipment.In this way, can be set for different ports-Extendings Standby 20 relatively accurately balancedly can choose the dependence node to come into force in the board of control bridge device 10.
It optionally, in the step s 120 can be according to each dependence in another specific embodiment of the present embodiment The current load situation of node screens alternative dependence node, then according to the alternative dependence filtered out in all dependence nodes The communication performance of node chooses the alternative node that relies on as the dependence node to come into force.
For example, the current load situation for relying on node may include the number for relying on the ports-Extending equipment that come into force of node Amount, the quantity for relying on the ports-Extending equipment that come into force of node are to expand the dependence node as the port of the dependence node to come into force Open up the quantity of equipment 20.When one rely on node the ports-Extending data that come into force quantity it is bigger, indicate the dependence node need Want processing protocol message more, then the load of the dependence node is bigger.Rely on the quantity of the ports-Extending equipment that come into force of node It is one and is relatively easy to the parameter for recording and obtaining, can be realized by relatively simple processing logic and loading condition is quantified.
The quantity for controlling the available each ports-Extending equipment that come into force for relying on node of bridge device 10, then will give birth to Imitate the quantity of ports-Extending equipment no more than the corresponding maximum controllable device quantity for relying on node dependence node alternately according to Rely node, wherein maximum controllable device quantity is that can control according to the pre-set dependence node of performance for relying on node The ports-Extending equipment that come into force maximum quantity.In this manner it is ensured that the alternative dependence node filtered out is to have the ability to new The dependence node that is managed of ports-Extending equipment 20.
Then, the corresponding aggregation port of target port expansion equipment on the available each alternative dependence node of bridge device 10 is controlled Member port total bandwidth, using the maximum alternative node that relies on of total bandwidth as the dependence section of the target port expansion equipment to come into force Point.
The alternative total bandwidth for relying on the member port of the corresponding aggregation port of target port expansion equipment on node is bigger, then agreement It is bigger that message is sent to the alternative probability for relying on node after selecting by Hash, that is to say, that this alternatively relies on node can It can receive the protocol massages that more target port expansion equipments are sent.Therefore, target port expansion equipment is corresponding total The maximum alternative dependence node to come into force for relying on node as the target port expansion equipment of bandwidth, it is possible to reduce control bridge is set Protocol massages forwarding on standby 10 between board, saves the data forwarding bandwidth resources inside control bridge device 10.
Optionally, in the present embodiment, control bridge device 10 is selecting the dependence section to come into force for target port expansion equipment After point, the quantity of the ports-Extending equipment that come into force of the dependence node to come into force is added 1.
Optionally, for enable each non-dependence node to come into force of target port expansion equipment by the protocol massages received turn The dependence node to come into force is issued, in the present embodiment, control bridge device 10 can come into force for the selection of target port expansion equipment After relying on node, target port expansion equipment is advertised to the corresponding relationship of dependences node to come into force to each master control borad 100 and respectively Interface board 200.
Optionally, it breaks down if some relies on node, using the dependence node as the port of the dependence node to come into force Expansion equipment 20 is likely to occur communication abnormality caused by can not handling because of protocol massages.Therefore in the present embodiment, control bridge is set Standby 10 can re-execute when detecting that the dependence node to come into force is pulled out or breaks down and rely on working as node according to all Preceding loading condition is the step of target port expansion equipment selects the dependence node to come into force in all dependence nodes.Also To say, when detecting dependence node that is failure or being pulled out, control bridge device 10 can for by the failure or The dependence node being pulled out re-execute the steps S120 as the ports-Extending equipment 20 of the dependence node to come into force.
Optionally, it (e.g., increases newly or deletes if the member port of some corresponding aggregation port of ports-Extending equipment 20 changes Member port) when, it may influence whether protocol massages that the ports-Extending equipment 20 is sent in control bridge device 10 on each board Reception distribution situation, and then influence control each board of bridge device 10 loading condition.Therefore in the present embodiment, bridge device is controlled 10 can re-execute the steps when detecting that the member port of the corresponding aggregation port of ports-Extending equipment 20 changes S110 and step S120 is to redefine the dependence node to come into force for the ports-Extending equipment.
Referring to figure 4., the present embodiment also provides a kind of ports-Extending equipment management device 110, sets with multiple ports-Extendings The control bridge device 10 of standby 20 connection, the device include node determining module 111 and node election module 112.
Node determining module 111 is used to be directed to target port expansion equipment, in being assisted for the control bridge device 10 It discusses in the board of Message processing and selects multiple boards for the target port expansion equipment, using each board selected as the mesh Mark the dependence node of port device.
In the present embodiment, node determining module 111 can be used for executing step S110 shown in Fig. 3, determine mould about node The specific descriptions of block 111 can join the description to step S110.
Node elects module 112, for being in all dependence nodes according to all current load situations for relying on node The target port expansion equipment selects the dependence node to come into force, and is expanded by the dependence node processing to come into force and the target port Open up the protocol massages of interaction between equipment.
In the present embodiment, node election module 112 can be used for executing step S120 shown in Fig. 3, elect mould about node The specific descriptions of block 112 can join the description to step S120.
Optionally, in the present embodiment, the board for controlling bridge device 10 includes master control borad 100 and interface board 200;Node is true Cover half block 111 is specifically used for will be corresponding with the target port expansion equipment in multiple master control borads 100 of the control bridge device 10 Interface board 200 where the member port of aggregation port is selected as the dependence node of the target port expansion equipment.
Optionally, in the present embodiment, node election module 112 is specifically used for according to each present load for relying on node Situation screens alternative dependence node in all dependence nodes;And it is selected according to the communication performance of the alternative dependence node filtered out Take the alternative node that relies on as the dependence node to come into force.
Optionally, in the present embodiment, the current load situation for relying on node includes the port of having come into force of the dependence node The quantity of expansion equipment, the quantity for relying on the ports-Extending equipment that come into force of node is using the dependence node as the dependence to come into force The quantity of the ports-Extending equipment 20 of node.
Node elects module 112 to be specifically used for obtaining the quantity of each ports-Extending equipment that come into force for relying on node;And Using the quantity for the ports-Extending equipment that come into force no more than the corresponding maximum controllable device quantity for relying on node dependence node as It is alternative to rely on node, wherein maximum controllable device quantity is that can be controlled according to the preset dependence node of performance for relying on node The maximum quantity of the ports-Extending equipment that come into force of system.
Optionally, in the present embodiment, node election module 112 is specifically used for obtaining the target on each alternative dependence node The total bandwidth of the member port of the corresponding aggregation port of ports-Extending equipment;And using maximum one of total bandwidth it is alternative rely on node as The dependence node of the target port expansion equipment to come into force.
Optionally, described device further include:
Detection module (Fig. 4 is not shown), for touching when detecting that the dependence node to come into force is pulled out or breaks down Sending out node described, election module re-executes: according to all current load situations for relying on nodes, being in all dependence nodes The target port expansion equipment selects the dependence node to come into force;Alternatively,
When detecting that the member port of the corresponding aggregation port of ports-Extending equipment changes, triggers the node and determine Module re-executes: being the target port expansion equipment in the board that can carry out protocol massages processing of the control bridge device The step of selecting multiple boards.
Optionally, described device further include:
Announcement module (Fig. 4 is not shown) is used for after selecting to rely on node for the target port expansion equipment, by the target The corresponding relationship of the dependence node of ports-Extending equipment and the target port expansion equipment is advertised to each master control borad and each interface board;
After the dependence node to come into force for target port expansion equipment selection, by the target port expansion equipment and the life The corresponding relationship of the dependence node of effect is advertised to each master control borad and each interface board.
In conclusion ports-Extending device management method provided by the present application and device, by being set for each ports-Extending The election of the standby dependence node individually to come into force, so that the corresponding dependence node to come into force of different ports-Extending equipment can To be distributed on the different board of control bridge device.In this way, protocol massages processing pressure is distributed to the multiple of control bridge device On board, reduce influence of the performance bottleneck of single board to entire communication system, and the shadow of board faults can be reduced Ring range.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown According to device, the architectural framework in the cards of method and computer program product, function of multiple embodiments of the application And operation.In this regard, each box in flowchart or block diagram can represent one of a module, section or code Point, a part of the module, section or code includes one or more for implementing the specified logical function executable Instruction.It should also be noted that function marked in the box can also be attached to be different from some implementations as replacement The sequence marked in figure occurs.For example, two continuous boxes can actually be basically executed in parallel, they sometimes may be used To execute in the opposite order, this depends on the function involved.It is also noted that each of block diagram and or flow chart The combination of box in box and block diagram and or flow chart can be based on the defined function of execution or the dedicated of movement The system of hardware is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.

Claims (14)

1. a kind of ports-Extending device management method, which is characterized in that applied to the control being connect with multiple ports-Extending equipment Bridge device, which comprises
It is the target in the board that can carry out protocol massages processing of the control bridge device for target port expansion equipment Ports-Extending equipment selects multiple boards, using each board selected as the dependence node of the target port expansion equipment;
It is target port expansion equipment selection life in all dependence nodes according to all current load situations for relying on node The dependence node of effect, and the agreement report interacted between the dependence node processing to be come into force by this and the target port expansion equipment Text.
2. the method according to claim 1, wherein the board of the control bridge device includes master control borad and interface Plate;
It is multiple for target port expansion equipment selection in the board that can carry out protocol massages processing of the control bridge device The step of board, comprising:
It will be where the member port of multiple master control borads of control bridge device aggregation port corresponding with the target port expansion equipment Interface board is selected as the dependence node of the target port expansion equipment.
3. method according to claim 1 or 2, which is characterized in that according to it is all rely on nodes current load situations, The step of selecting the dependence node to come into force in all dependence nodes for the target port expansion equipment, comprising:
According to each current load situation for relying on node, alternative dependence node is screened in all dependence nodes;
The alternative node that relies on is chosen as the dependence node to come into force according to the communication performance of the alternative dependence node filtered out.
4. according to the method described in claim 3, it is characterized in that, each current load situation for relying on node includes the dependence The quantity of the ports-Extending equipment that come into force of node, the quantity of each ports-Extending equipment that come into force for relying on node is should be according to Rely node as the quantity of the ports-Extending equipment of the dependence node to come into force;
According to each current load situation for relying on node, alternative the step of relying on node, packet are screened in all dependence nodes It includes:
Obtain the quantity of each ports-Extending equipment that come into force for relying on node;
Dependence node by the quantity for the ports-Extending equipment that come into force no more than the corresponding maximum controllable device quantity for relying on node Alternately rely on node, wherein the maximum controllable device quantity be according to the performance for relying on node is pre-set should be according to The maximum quantity for ports-Extending equipment that bad node can control come into force.
5. according to the method described in claim 3, it is characterized in that, being selected according to the communication performance of the alternative dependence node filtered out Take a step of alternative dependence node is as the dependence node to come into force, comprising:
Obtain each alternative total bandwidth for relying on the member port of the corresponding aggregation port of target port expansion equipment on node;
Using the total bandwidth maximum one alternative node that relies on as the dependence node of the target port expansion equipment to come into force.
6. the method according to claim 1, wherein the method also includes:
When detecting that the dependence node to come into force is pulled out or breaks down, re-executes and rely on the current of node according to all Loading condition is the step of target port expansion equipment selects the dependence node to come into force in all dependence nodes;Alternatively,
When detecting that the member port of the corresponding aggregation port of ports-Extending equipment changes, re-executes and set in the control bridge The step of selecting multiple boards in the standby board that can carry out protocol massages processing for the target port expansion equipment.
7. according to the method described in claim 2, it is characterized in that, the method also includes:
After selecting to rely on node for the target port expansion equipment, the target port expansion equipment and the target port are extended The corresponding relationship of the dependence node of equipment is advertised to each master control borad and each interface board;
After for the dependence node that comes into force of target port expansion equipment selection, which is come into force with this The corresponding relationship for relying on node is advertised to each master control borad and each interface board.
8. a kind of ports-Extending equipment management device, which is characterized in that applied to the control being connect with multiple ports-Extending equipment Bridge device, described device include:
Node determining module, for being directed to target port expansion equipment, in can carrying out at protocol massages for the control bridge device Multiple boards are selected for the target port expansion equipment in the board of reason, are expanded each board selected as the target port Open up the dependence node of equipment;
Node elects module, for being the target in all dependence nodes according to all current load situations for relying on node Ports-Extending equipment determines the dependence node to come into force, and passes through the dependence node processing to come into force and the target port expansion equipment Between interaction protocol massages.
9. device according to claim 8, which is characterized in that the board of the control bridge device includes master control borad and interface Plate;
The node determining module is specifically used for will be in multiple master control borads of the control bridge device and the target port expansion equipment Interface board where the member port of corresponding aggregation port is selected as the dependence node of the target port expansion equipment.
10. device according to claim 8 or claim 9, which is characterized in that the node election module is specifically used for according to each The current load situation for relying on node filters out alternative dependence node in all dependence nodes;And it is alternative according to what is filtered out The communication performance for relying on node chooses the alternative node that relies on as the dependence node to come into force.
11. device according to claim 10, which is characterized in that each current load situation for relying on node includes should be according to Rely the quantity of the ports-Extending equipment that come into force of node, the quantity of each ports-Extending equipment that come into force for relying on node is should Rely on quantity of the node as the ports-Extending equipment of the dependence node to come into force;
The node election module is specifically used for obtaining the quantity of each ports-Extending equipment that come into force for relying on node;And it will The quantity for the ports-Extending equipment that comes into force is not more than the dependence node of the corresponding maximum controllable device quantity for relying on node alternately Rely on node, wherein the maximum controllable device quantity is can according to the pre-set dependence node of performance for relying on node With the maximum quantity of the ports-Extending equipment that come into force of control.
12. device according to claim 10, which is characterized in that the node election module is specifically used for obtaining each alternative Rely on the total bandwidth of the member port of the corresponding aggregation port of target port expansion equipment on node;And by total bandwidth maximum one The alternative dependence node to come into force for relying on node as the target port expansion equipment.
13. device according to claim 8, which is characterized in that described device further include:
Detection module, for when detecting that the dependence node to come into force is pulled out or breaks down, triggering the node election Module re-executes: according to all current load situations for relying on node, extending in all dependence nodes for the target port Equipment selects the dependence node to come into force;Alternatively,
When detecting that the member port of the corresponding aggregation port of ports-Extending equipment changes, the node determining module is triggered It re-executes: being selected in the board that can carry out protocol massages processing of the control bridge device for the target port expansion equipment The step of multiple boards.
14. device according to claim 9, which is characterized in that described device further include:
Announcement module, for after relying on node for target port expansion equipment selection, by the target port expansion equipment and The corresponding relationship of the dependence node of the target port expansion equipment is advertised to each master control borad and each interface board;
After for the dependence node that comes into force of target port expansion equipment selection, which is come into force with this The corresponding relationship for relying on node is advertised to each master control borad and each interface board.
CN201811260266.4A 2018-10-26 2018-10-26 Port expansion equipment management method and device Active CN109462639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811260266.4A CN109462639B (en) 2018-10-26 2018-10-26 Port expansion equipment management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811260266.4A CN109462639B (en) 2018-10-26 2018-10-26 Port expansion equipment management method and device

Publications (2)

Publication Number Publication Date
CN109462639A true CN109462639A (en) 2019-03-12
CN109462639B CN109462639B (en) 2021-09-07

Family

ID=65608597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811260266.4A Active CN109462639B (en) 2018-10-26 2018-10-26 Port expansion equipment management method and device

Country Status (1)

Country Link
CN (1) CN109462639B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113506397A (en) * 2021-07-12 2021-10-15 合肥优恩物联网科技有限公司 5G network entrance guard's machine equipment based on high in clouds operation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532869A (en) * 2012-07-03 2014-01-22 杭州华三通信技术有限公司 Data flow sharing method and equipment
US20140301401A1 (en) * 2013-04-07 2014-10-09 Hangzhou H3C Technologies Co., Ltd. Providing aggregation link groups in logical network device
CN104780067A (en) * 2015-04-02 2015-07-15 杭州华三通信技术有限公司 Method and device for rebooting PE (port extender)
CN106209633A (en) * 2016-07-27 2016-12-07 杭州华三通信技术有限公司 A kind of message forwarding method and device
CN108696460A (en) * 2018-05-29 2018-10-23 新华三技术有限公司 A kind of message forwarding method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532869A (en) * 2012-07-03 2014-01-22 杭州华三通信技术有限公司 Data flow sharing method and equipment
US20140301401A1 (en) * 2013-04-07 2014-10-09 Hangzhou H3C Technologies Co., Ltd. Providing aggregation link groups in logical network device
CN104780067A (en) * 2015-04-02 2015-07-15 杭州华三通信技术有限公司 Method and device for rebooting PE (port extender)
CN106209633A (en) * 2016-07-27 2016-12-07 杭州华三通信技术有限公司 A kind of message forwarding method and device
CN108696460A (en) * 2018-05-29 2018-10-23 新华三技术有限公司 A kind of message forwarding method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘刀桂,祁正林: "VCF纵向虚拟化技术架构", 《H3C》 *
张弘驰: "网络设备纵向融合架构系统的设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113506397A (en) * 2021-07-12 2021-10-15 合肥优恩物联网科技有限公司 5G network entrance guard's machine equipment based on high in clouds operation

Also Published As

Publication number Publication date
CN109462639B (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN106664216B (en) VNF switching method and device
CN106059791B (en) Link switching method of service in storage system and storage device
CN104170323A (en) Fault handling method, device and system based on network function virtualization
JP2018509838A (en) Network management
WO2022127504A1 (en) Network element management method and apparatus, and storage medium
CN101304340A (en) Method and apparatus for monitoring resource condition as well as communication network
CN103618621A (en) Method, device and system for automatic configuration of SDN
WO2012083669A1 (en) Method and apparatus for switching between primary-standby devices based on access gateway
CN104158707A (en) Method and device of detecting and processing brain split in cluster
CN112416969B (en) Parallel task scheduling system in distributed database
CN106464516B (en) Event handling in a network management system
CN110391940A (en) Response method, device, system, equipment and the storage medium of address of service
WO2016082078A1 (en) Path management system, device and method
CN105429799A (en) Server backup method and device
CN106230622B (en) Cluster implementation method and device
CN101959270B (en) Core network node switching method, equipment and system for user equipment (UE)
CN106909197B (en) Virtualization host time management method and virtualization host system
CN106576260A (en) Policy coordination method and apparatus in NFV system
CN103220189A (en) Multi-active detection (MAD) backup method and equipment
CN108712783B (en) CAPWAP tunnel establishment method and device
CN107547301A (en) A kind of master/slave device switching method and device
CN107534575B (en) Monitoring method and monitoring device in network virtualization environment and network node
CN109462639A (en) Ports-Extending device management method and device
CN103200124A (en) Service strategy adjustment method and service strategy adjustment device
CN108604996A (en) A kind of strategy transmission method and apparatus in NFV systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant