CN108880843A - Processing method and computer equipment after stacking splitting - Google Patents

Processing method and computer equipment after stacking splitting Download PDF

Info

Publication number
CN108880843A
CN108880843A CN201710331387.2A CN201710331387A CN108880843A CN 108880843 A CN108880843 A CN 108880843A CN 201710331387 A CN201710331387 A CN 201710331387A CN 108880843 A CN108880843 A CN 108880843A
Authority
CN
China
Prior art keywords
equipment
stacking
packet
stack
duration
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.)
Pending
Application number
CN201710331387.2A
Other languages
Chinese (zh)
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 CN201710331387.2A priority Critical patent/CN108880843A/en
Priority to PCT/CN2018/078387 priority patent/WO2018205728A1/en
Publication of CN108880843A publication Critical patent/CN108880843A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/30Decision processes by autonomous network management units using voting and bidding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

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

Abstract

Processing method and computer equipment after a kind of stacking splitting, the method for one embodiment include:First main equipment encapsulates IP packet when monitoring to occur stacking splitting, and the IP packet carries the first system parameter information for the first stacking system that the first main equipment is currently located;First main equipment sends the IP packet by routing sub-interface to each stack equipment, and the stack equipment includes the first stack equipment that stacking splitting occurs with first stacking system.This embodiment scheme can restore the normal operation of stacking system as early as possible, improve the reliability of stacking system when stacking splitting occurs.

Description

Processing method and computer equipment after stacking splitting
Technical field
The present invention relates to field of communication technology, more particularly to after a kind of stacking splitting processing method and a kind of computer Equipment.
Background technique
With the fast development of network, the deployment of network becomes increasingly complex, to the business forwarding capacity of the network equipment, port The requirement of density is also higher and higher, produces Stack Technology therewith to meet these demands.Stack Technology passes through more nets Network equipment invents a network equipment and is managed, and on the one hand can greatly improve port density, increase forwarding capacity, another Aspect can reduce the complexity of network.Stack Technology links together the more network equipments shape particular by stacking link At stacking system, stacking system elects a main equipment and several from equipment by role.
When main equipment is with failure is generated from the stacking link of equipment room, these can not be communicated but each other with main equipment Communication it is normal it is several can be elected by role from equipment and therefrom select a new main equipment again, at this time will in network There are two the same main equipments of even more configurations, this process is known as stacking splitting.After stacking splitting, for stacking system Occur the two or more the same equipment of configuration for the network equipment in addition, in network, thus there is network configuration conflict, Cause flow forwarding chaotic.
Summary of the invention
Based on this, the processing method of the embodiment of the present invention being designed to provide after a kind of stacking splitting and a kind of meter Machine equipment is calculated, so that restoring the normal operation of stacking system as early as possible when stacking system division occurs, improving stacking system Reliability.
In order to achieve the above objectives, following technical scheme is used in one embodiment:
A kind of processing method after stacking splitting, including step:
First main equipment encapsulates IP packet when monitoring to occur stacking splitting, and the IP packet carries the first main equipment The first system parameter information for the first stacking system being currently located;
First main equipment sends the IP packet by routing sub-interface to each stack equipment, the stack equipment The first stack equipment including stacking splitting occurs with first stacking system.
A kind of processing method after stacking splitting, including step:
Current stack equipment receives the IP packet that the first main equipment is sent when stacking splitting occurs by routing sub-interface, The IP packet carries the first system parameter information for the first stacking system that the first main equipment is currently located;
The IP packet is analyzed;
When the second stacking system where being current stack equipment in the analysis result to the IP packet needs to keep out of the way, close Close all service ports of current stack equipment.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage Computer program, the processor realize the processing method after stacking splitting as described above when executing described program.
Based on the scheme of embodiment as described above, routing sub-interface is configured in each stack equipment of stacking system, When monitoring to occur stacking splitting, encapsulation carries the first system ginseng for the first stacking system that the first main equipment is currently located After the IP packet of number information, which can be sent to by the routing sub-interface by each stack equipment divided away.And It, can be by dividing the IP packet in the case where the equipment is main equipment for receiving the stack equipment of the IP packet The conclusion whether the second stacking system where obtaining itself needs to keep out of the way is analysed, and when needing to keep out of the way, closes all of itself Service port.To when stacking splitting occurs, the normal operation of stacking system can be restored as early as possible, improve stacking system can By property.
Detailed description of the invention
Fig. 1 is the flow diagram of the processing method after the stacking splitting in one embodiment;
Fig. 2 is the flow diagram of the processing method after the stacking splitting in another embodiment;
Fig. 3 is the topological model schematic diagram of the stacking system in an application example;
Fig. 4 is the schematic illustration that stacking system is communicated after stacking splitting using IP packet in an example.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention, And the scope of protection of the present invention is not limited.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term as used herein " and/or " it include one or more phases Any and all combinations of the listed item of pass.
Fig. 1 shows the flow diagram of the processing method after the stacking splitting in one embodiment, is in the embodiment It is illustrated so that main equipment is for the correlated process for issuing IP packet as an example.
As shown in Figure 1, the method in the embodiment includes:
Step S101:First main equipment encapsulates IP packet when monitoring to occur stacking splitting, and the IP packet carries the The first system parameter information for the first stacking system that one main equipment is currently located;
Step S102:First main equipment sends the IP packet by routing sub-interface to each stack equipment, institute Stating stack equipment includes the first stack equipment that stacking splitting occurs with first stacking system.
Based on the scheme of embodiment as described above, routing sub-interface is configured in each stack equipment of stacking system, When monitoring to occur stacking splitting, encapsulation carries the first system ginseng for the first stacking system that the first main equipment is currently located After the IP packet of number information, which can be sent to by the routing sub-interface by each stack equipment divided away, from And be convenient for after receiving the IP packet, whether oneself can be needed to keep out of the way to analyze based on the IP packet.To send out When raw stacking splitting, the normal operation of stacking system can be restored as early as possible, improve the reliability of stacking system.
Above-mentioned the first system parameter information can be configured in conjunction with actual techniques needs.It, should in a technical application The first system parameter information may include at least one of the first number, the first duration, wherein the first number is described The quantity of stack equipment in first stacking system, the first duration be first main equipment become main equipment it is lasting when Between.
Heap can be had occurred with the first stacking system to above-mentioned in the IP packet by the scheme of the present embodiment, the first main equipment Each first stack equipment of folded division is sent, it is also possible to each stack equipment into the first stacking system where itself It sends.On the other hand, the IP packet can also only be sent to and stacking point has occurred with the first stacking system by the first main equipment Each first stack equipment split, without each stack equipment being sent in the first stacking system where itself, to improve place Rationality energy.
Therefore, in order to IP packet can be simply sent to when stacking splitting occurs each first stack equipment this first The IP address for each first stack equipment that main equipment needs to know.Therefore, in one example, supervised in above-mentioned first main equipment It measures after stacking splitting occurs, before encapsulating IP packet, can also include the following steps:
Obtain the equipment frame number that each first stack equipment of stacking splitting occurs with first stacking system;
From the corresponding table of equipment frame number and IP address, the IP address of each first stack equipment is obtained.
At this point, the IP packet of above-mentioned encapsulation carries the IP address of each first stack equipment.To based in IP packet The IP packet only can will be sent to each first stacking that stacking splitting occurs with the first stacking system and set by the IP address of carrying It is standby.
In an application mode of the embodiment, the first main equipment, can be with before monitoring that stacking splitting occurs Include the following steps:
Configuration routing sub-interface, and configure the IP address of routing sub-interface;
The equipment frame number and IP address of each stack equipment in the third stacking system at place are obtained by stacking link;
According to the equipment frame number and IP address of each stack equipment, generate comprising each stacking in the third stacking system The equipment frame number of equipment and the corresponding table of IP address.
So as to realize the routing function of the first main equipment accordingly, and setting for other each stack equipments can be obtained Standby frame number and IP address, and corresponding table is established accordingly, convenient for that can be based on and the first stacking system when stacking splitting occurs The equipment frame number that the first stack equipment of stacking splitting occurs finds its IP address from corresponding table, to be sent to it encapsulation IP packet.
On the other hand, after configuration routes sub-interface, routing further can also be enabled in the routing sub-interface of configuration Agreement, and be connected to the network by the routing sub-interface of the configuration and intermediate routing device.
On the other hand, in the IP address of above-mentioned configuration routing sub-interface, the VPN that routing sub-interface is added can also be configured (Virtual Private Network, Virtual Private Network) title.It is stacked above by the third stacked where link obtains When the equipment frame number and IP address of each stack equipment in system, the third that place can also be obtained by stacking link is stacked The VPN title that the routing sub-interface of each stack equipment in system is added.At this point, above-mentioned corresponding table can also include the third The VPN title that the routing sub-interface of each stack equipment in stacking system is added.Wherein, each stacking in third stacking system is set The VPN title that standby routing sub-interface is added should be identical.To, when sending IP packet, can be transmitted by VPN, To improve the safety of information transmission.
Correspondingly, the flow diagram of the processing method after the stacking splitting in another embodiment is shown in Fig. 2, It is to be illustrated so that stack equipment receives the correlation procedure of IP packet as an example in the embodiment.
As shown in Fig. 2, the method in the embodiment includes:
Step S201:Current stack equipment receives the first main equipment by routing sub-interface and sends when stacking splitting occurs IP packet, the IP packet carries the first system parameter information for the first stacking system that the first main equipment is currently located;
Step S202:The IP packet is analyzed;
Step S203:The second stacking system where being current stack equipment in the analysis result to the IP packet needs When keeping out of the way, all service ports of current stack equipment are closed.
Based on the scheme of embodiment as described above, routing sub-interface is configured in each stack equipment of stacking system, When stack equipment may be received in generation stacking splitting, carry what the first main equipment was currently located by what the first main equipment was sent The IP packet of the first system parameter information of first stacking system, and by being carried out where analysis obtains itself to the IP packet The conclusion whether the second stacking system needs to keep out of the way, and when needing to keep out of the way, close all service ports of itself.To send out When raw stacking splitting, the normal operation of stacking system can be restored as early as possible, improve the reliability of stacking system.
In one example, it is above-mentioned IP packet is analyzed before, can also include step:Current stack is obtained to set The second system parameter information of second stacking system at standby place.
At this point, when analyzing the IP packet, it can be according to the first system parameter information and described second Whether system parameter message, the second stacking system where determining current stack equipment need to keep out of the way.
Above-mentioned the first system parameter information and second system parameter information can be configured in conjunction with actual techniques needs, Wherein, the type and quantity that the first system parameter information and second system parameter information are included generally should be identical.For example, In the example of one technical application, the first system parameter information may include the first number, in the first duration at least It is a kind of.Wherein, the first number is the quantity of the stack equipment in first stacking system, and the first duration was described first Main equipment becomes the duration of main equipment.Correspondingly, second system parameter information may include that the second number and second are held At least one of continuous time.Wherein, the stack equipment in the second stacking system of second number where current stack equipment Quantity, the second duration be current stack equipment become main equipment duration.
In the case, not based on the information for specifically including in the first system parameter information and second system parameter information Together, the IP packet is analyzed in above-mentioned steps S202, determines the second stacking system where current stack equipment Whether when needing to keep out of the way, corresponding analysis mode also has certain otherness.
For example, including the first number in the first system parameter information, second system parameter information includes in one example When the second number, it can determine that the second stacking system needs are kept out of the way when the second number is less than the first number.
It in another example, include the first duration, second system parameter information packet in the first system parameter information When including for the second duration, it can determine that the second stacking system needs move back when the second duration is less than the first duration It keeps away.
It in another example, include the first number and the first duration, second system in the first system parameter information When parameter information includes the second number and the second duration, can when the second number is equal to first number, if the Two duration less than the first duration, determined that the second stacking system needs were kept out of the way.For example, can be first to the first number and the Two numbers are compared, if the second number can directly determine the second stacking system needs and keep out of the way, such as less than the first number The first number of fruit is identical as the second number, then further compares the first duration and the second duration.
Treatment process in the present embodiment as described above, each stack equipment in the second stacking system can be held Row.In a technical application of the present embodiment, after receiving IP packet, only executed by the main equipment in the second stack equipment Subsequent process, and others do not execute subsequent treatment process from equipment.I.e. in above-mentioned steps S202, set in current stacking It is standby when being main equipment, it just carries out subsequent IP packet being carried out the process such as to analyze.
It in the case, is after the second stacking system needs are kept out of the way in the above-mentioned analysis result to IP packet, closing is worked as Before all service ports of preceding stack equipment, it can also include the following steps:
Each stack equipment into second stacking system sends the broadcast message for closing all service ports.
To, main equipment in second stacking system control in systems other from all business of device relationships Port and then all service ports for closing itself, after avoiding main equipment from first closing all service ports, the second stacking system Other in system not yet close service port from equipment, may re-elect out a possibility that new main equipment, with into one Step improves the reliability of stacking system.
Based on each embodiment as described above, below in conjunction with specifically using example progress illustrated in greater detail.
The quantity for the stack equipment for including in stacking system be it is indefinite, can be the simple stacking of only two stack equipments System is also possible to the complicated stacking system for having more stack equipments, as indicated at 3 in be a kind of stacking for having four stack equipments System.In the scheme of the embodiment of the present invention, in order to which meet flow forwarding capacity after stacking splitting maximum keeps and existing Business requirement unbroken as far as possible can be with the number of devices of the stacking system newly formed on the avoidance mechanism after stacking splitting Amount and the duration as main equipment are as the foundation kept out of the way.It will be understood by those skilled in the art that in other embodiments In, it can also be using other avoidance mechanisms.
Stacking system in shown in Fig. 3 is the original stacking system not yet occurred before stacking splitting, in order to stacking System after division is mutually distinguished, and is referred to as third stacking system in various embodiments of the present invention.As shown in figure 3, the third heap Stack equipment in folded system includes:Equipment 0, equipment 1, equipment 2, equipment 3, wherein equipment 0 is main equipment, and equipment 1,2,3 is From equipment.
Firstly the need of the configuration routing sub-interface on each stack equipment of the third stacking system, and in routing sub-interface Upper configuration IP address.The VPN title that routing sub-interface is added can also be configured simultaneously.
Then, each stack equipment in third stacking system obtains the third stacking system at place by stacking link In each stack equipment equipment frame number and IP address, that is, need by stack link obtain setting for every other member device Standby frame number and IP address.Third stacking in the case where routing sub-interface addition VPN, where also being obtained by stacking link The VPN title that the routing sub-interface of each stack equipment in system is added.Taking what is shown in fig. 3 as an example, equipment 0 is needed by stacking chain Road obtains equipment 1, equipment 2, the equipment frame number of 3 these three equipment of equipment, IP address and the VPN of addition title, and equipment 1 needs Equipment 0, equipment 2, the equipment frame number of 3 these three equipment of equipment, IP address and the VPN of addition are obtained by stacking link Title, equipment 2 need to obtain equipment 0, equipment 1, the equipment frame number of 3 these three equipment of equipment, IP address by stacking link And the VPN title being added, equipment 3 need to obtain equipment 0, equipment 1, the equipment of 2 these three equipment of equipment by stacking link Frame number, IP address and the VPN of addition title.By way of stacking link and obtaining information, the present embodiment does not do specific limit It is fixed.
Each stack equipment is after obtaining the equipment frame number of every other stack equipment, IP address and VPN title, i.e., Equipment frame number, the IP address, VPN title of all stack equipments in the third stacking system can be generated based on the information of acquisition Correspondence table.That is, can all be generated such a in each stack equipment (including equipment 0, equipment 1, equipment 2, equipment 3) Corresponding table.It is understood that not including VPN title in the correspondence table in the case where VPN is not added in routing sub-interface.
Then, the routing sub-interface of each stack equipment (including equipment 0, equipment 1, equipment 2, equipment 3) is set with centre routing Standby or go-between connects and enables three layer protocols (also referred to as Routing Protocol), and Routing Protocol here can be based on technology It is different selected using doing, including but not limited to OSPF (Open Shortest Path Fitst, Open Shortest Path First association View), RIP (Routing Information Protocol, routing information protocol), ISIS (one classification linking status road By agreement), EBGP (External Border Gateway Protocol, External BGP).Therefore, because using Routing sub-interface, so the new stacking system after dividing, which there will be no, to be divided out after certain stack equipment divides away The information of the routing sub-interface for the equipment gone, but due to enabling three-layer routing agreement, can pass through three between each equipment Layer Routing Protocol is reachable each other, and therefore, after dividing, the equipment which goes out with division can also lead to It is reachable to cross three-layer routing.
By taking equipment 0 and equipment 1 in Fig. 3 as an example, it is assumed that the routing sub-interface of equipment 0, equipment 1 is ordered respectively Entitled 0/1/0/1.1 and 1/1/0/2.1.The VPN needs that the two routing sub-interfaces are added are identical, but the IP address of its configuration It does not need in same network segment, such as the IP address of routing sub-interface 0/1/0/1.1 is configured to 10.18.1.1/24, routing connects The IP address of mouth 1/1/0/2.1 is configured to 10.18.2.1/24, and is associated in VPN1.Figure 4, it is seen that equipment 0 and After equipment 1 distinguishes synchronizer frame number, IP address and VPN title, there are two list items in corresponding table:0,10.18.1.1/ 24, VPN1;1,10.18.2.1/24, VPN1.Intermediate equipment two routing sub-interfaces (such as Fig. 4 shown in be 0/1/ respectively 0/1.1,0/1/0/2.1, IP address is 10.18.1.2/24,10.18.2.2/24 respectively, is associated in VPN1) respectively with setting Standby 0 is connected with the routing sub-interface of equipment 1.Three-layer routing is enabled on the routing sub-interface of equipment 0, equipment 1 and intermediate equipment Agreement, such as ospf protocol.After ospf protocol behaves stabilization, two can be seen in stacking system and in intermediate equipment Ospf neighbor.
When have in the stacking system stack link and break down when, it will stacking splitting occurs, shown in Fig. 3 in, it is assumed that set Standby 1, equipment 2 is split off away, to originally include equipment 0, equipment 1, equipment 2, equipment 3 due to the generation of stacking splitting First stacking system becomes only comprising equipment 0, the stacking system of equipment 3, it is assumed that is denoted as stacking system A.What is be split off away sets Standby 1, equipment 2 selects a new main equipment by role, it is assumed that be equipment 1, thus formed one newly include equipment 1, the stacking system of equipment 2, it is assumed that be denoted as stacking system B.As shown in connection with fig. 4, after equipment 0 and equipment 1 become main equipment, And have the ospf neighbor of one with intermediate equipment, so equipment 0 can be reachable by intermediate equipment with equipment 1.
When monitoring to occur stacking splitting, the main equipment in stacking system A, stacking system B can start stacking point Testing mechanism after splitting.Specifically to the detection of stacking splitting, can carry out in any possible manner, for example, monitor and certain The stacking link of a stack equipment breaks down, i.e., it is believed that stacking splitting has occurred.Certainly, in other embodiments, may be used It is detected in a manner of using others.
Then, the main equipment in stacking system A, B after stacking splitting (i.e. the first main equipment) obtains where with itself The equipment frame number of each first stack equipment of stacking splitting occurs for stacking system;And the equipment frame number and IP stored from itself The correspondence table of address obtains the IP address of each first stack equipment.It is understood that being in the main equipment (the first main equipment) When equipment 0, the first stacking system is stacking system A, and corresponding first stack equipment includes equipment 1, equipment 2.In the main equipment When (the first main equipment) is equipment 1, the first stacking system is stacking system B, and corresponding first stack equipment includes equipment 0, sets Standby 3.For purposes of illustration only, be illustrated by taking main equipment 0 as an example in following examples.
Then, which encapsulates IP packet, which carries the of the stacking system A that the main equipment 0 is currently located One system parameter message, including the stack equipment in the stacking system quantity (i.e. the first number, in this example for 2), with And the main equipment 0 becomes the first duration of main equipment, goes back the IP address of Portable device 1, equipment 2.Include in corresponding table When VPN title, which can also carry VPN title.In the scheme of the present embodiment, not to the type of the IP packet of encapsulation It is specifically limited, including but not limited to PING message, UDP (User Datagram Protocol, User Datagram Protocol) report Text, BFD (Bidirectional Forwarding Detection, two-way converting detection) message etc..
The IP packet of encapsulation then passes through the routing sub-interface of main equipment 0 and sends to equipment 1, equipment 2, which can be with Equipment 1, equipment 2, the IP packet of equipment 0 as shown in Figure 4 are sent to via intermediate routing device (alternatively referred to as intermediate equipment) Equipment 1 can be sent to via intermediate equipment.In an application example, which can be sent by socket, to reach To the purpose communicated with other equipment.For example, the equipment 1 that will acquire, the corresponding IP address of equipment 2 and VPN title, as The purpose IP address and VPN information that socket gives out a contract for a project, and the source IP address that the IP address of equipment 0 itself is given out a contract for a project as socket. As shown in figure 4, when equipment 0 sends IP packet by socket to equipment 1, by the IP address of the routing sub-interface of oneself 10.18.1.1 it is used as source IP address, 10.18.2.1 and VPN VPN1 of IP address of the routing sub-interface of equipment 1 are as socket The purpose IP address and VPN information given out a contract for a project.In the scheme of the embodiment of the present invention, which is not limited specifically It is fixed, as long as routing sub-interface and three-layer routing agreement can be configured, three-layer routing agreement include but is not limited to OSPF, RIP、ISIS、EBGP。
Due to Portable device 1 in IP packet, the IP address of equipment 2, equipment 1, equipment 2 can all receive IP report Text.After receiving the IP packet, equipment 2 is not handled the IP packet due to not being main equipment.Equipment 1 is Main equipment executes subsequent treatment process.
Equipment 1 obtains the second system parameter information of the second stacking system (i.e. above-mentioned stacking system B) where itself, packet Include the stack equipment in second stacking system quantity (i.e. the second number, in this example for 2) and the main equipment 1 at For the second duration of main equipment.
Then, equipment 1 is based on the first system parameter information and second system parameter is analyzed, and determines point where oneself Whether the stacking system after splitting needs to keep out of the way.Here all service ports for keeping out of the way stacking system where finger closes oneself.
Equipment 1 be the first number can be compared with the second number first, if the second number less than the first number, It can be determined that the stacking system needs where oneself are kept out of the way, to meet the maximum need kept of flow forwarding capacity after stacking splitting It asks.If the first number is identical as the second number, further the first duration was compared with the second duration, such as Second duration of fruit, the stacking system needs where then can be determined that oneself were kept out of the way, less than the first duration to meet There is business requirement unbroken as far as possible.In actual techniques application, can based on to existing business demand unbroken as far as possible and First the first number is compared with the second number for the significance level of the maximum demand kept of flow forwarding capacity, selection, also It is that first the first duration was compared with the second duration.
In the example of above-mentioned combination Fig. 3, Fig. 4, due to the equipment 0 when equipment 0 and equipment 1 are in the same stacking system It has been just main equipment, so the duration that equipment 0 becomes main equipment is longer, therefore, according to rule is kept out of the way, equipment 1 should Keep out of the way, all service ports of oneself will be closed;Equipment 0 is without keeping out of the way, without closing oneself service port.
Equipment 1 is when determining that the stacking system where itself needs to keep out of the way, first into the second stacking system where oneself Each stack equipment send the message for closing all service ports, which can be is sent in the form of broadcast message.Fig. 3 institute It is to send the message to equipment 2 in showing.After equipment 2 receives the message, all service ports of oneself can be closed.Specifically The mode for sending the message can be based on link progress is stacked, can also be carried out based on IP address.
After having sent broadcast message, equipment 1 closes oneself all service ports, thus the where realizing oneself Two stacking systems are kept out of the way.
It is after being sent to equipment 1, equipment 2 with the encapsulation of main equipment 0 IP packet, equipment 2 does not handle IP report in above-mentioned example Text, equipment 1 carry out analysis to the IP packet and are illustrated for execution backoff procedure when needing to keep out of the way.For equipment 1 Speech, since it is the main equipment after dividing in existing stacking system B, can execute similarly processed with equipment 0 Journey is sent to equipment 0, equipment 3 after the IP packet for encapsulating oneself, and equipment 3 is not main equipment, therefore will not after reception It is handled, and equipment 0 is main equipment, therefore will do it analysis after receiving, and above-mentioned backoff procedure is executed when needing to keep out of the way. That is, their own can encapsulate IP packet and be sent to each stack equipment divided away, while also can for each main equipment Receive the IP packet that sends over of other main equipments after division, and to the stacking system where oneself whether need to keep out of the way into Row judgement.
Based on example as described above, a kind of computer equipment is also provided in one embodiment, the computer equipment packet The computer program that includes memory, processor and storage on a memory and can run on a processor, wherein processor executes It realizes when described program such as the processing method after any one stacking splitting in the various embodiments described above.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, it is non-volatile computer-readable that the program can be stored in one It takes in storage medium, in the embodiment of the present invention, which be can be stored in the storage medium of computer system, and by the calculating At least one processor in machine system executes, and includes the process such as the embodiment of above-mentioned each method with realization.Wherein, described Storage medium can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. the processing method after a kind of stacking splitting, which is characterized in that including step:
First main equipment encapsulates IP packet, it is current that the IP packet carries the first main equipment when monitoring to occur stacking splitting The first system parameter information of first stacking system at place;
First main equipment sends the IP packet by routing sub-interface to each stack equipment, and the stack equipment includes The first stack equipment of stacking splitting occurs with first stacking system.
2. the processing method after stacking splitting according to claim 1, it is characterised in that:
First main equipment further includes step before encapsulating IP packet after monitoring that stacking splitting occurs:It obtains and described the The equipment frame number of each first stack equipment of stacking splitting occurs for one stacking system;From equipment frame number and IP address Corresponding table, obtains the IP address of each first stack equipment;
The IP packet carries the IP address of each first stack equipment.
3. the processing method after stacking splitting according to claim 2, which is characterized in that the first main equipment is monitoring to send out It further include step before raw stacking splitting:
Configuration routing sub-interface, and configure the IP address of routing sub-interface;
The equipment frame number and IP address of each stack equipment in the third stacking system at place are obtained by stacking link;
According to the equipment frame number and IP address of each stack equipment, generate comprising each stack equipment in the third stacking system Equipment frame number and IP address the corresponding table.
4. the processing method after stacking splitting according to claim 3, which is characterized in that including in following two at least One:
First item:In the IP address of configuration routing sub-interface, the VPN title that routing sub-interface is added is also configured;
When the equipment frame number and IP address of each stack equipment in the third stacking system where being obtained by stacking link, The VPN title that the routing sub-interface of each stack equipment in the third stacking system at place is added also is obtained by stacking link;
The corresponding table further includes the VPN title that the routing sub-interface of each stack equipment in the third stacking system is added;
Section 2:It further include step before monitoring that stacking splitting occurs after configuration routes sub-interface:
Routing Protocol is enabled in the routing sub-interface of configuration, and passes through the routing sub-interface of the configuration and intermediate routing device network Connection.
5. the processing method after stacking splitting according to any one of claims 1 to 4, which is characterized in that described first System parameter message includes at least one of the first number, the first duration, and first number is first stacking The quantity of stack equipment in system, first duration are the duration that first main equipment becomes main equipment.
6. the processing method after a kind of stacking splitting, which is characterized in that including step:
Current stack equipment receives the IP packet that the first main equipment is sent when stacking splitting occurs by routing sub-interface, described IP packet carries the first system parameter information for the first stacking system that the first main equipment is currently located;
The IP packet is analyzed;
When the second stacking system where being current stack equipment in the analysis result to the IP packet needs to keep out of the way, closing is worked as All service ports of preceding stack equipment.
7. the processing method after stacking splitting according to claim 6, it is characterised in that:
When the current stack equipment is main equipment, the IP packet is analyzed;
It is after the second stacking system needs are kept out of the way, to close all of current stack equipment in the analysis result to the IP packet It further include step before service port:
Each stack equipment into second stacking system sends the broadcast message for closing all service ports.
8. the processing method after stacking splitting according to claim 6 or 7, which is characterized in that
It further include step before analyzing the IP packet:Obtain the second stacking system where current stack equipment Second system parameter information;
When analyzing the IP packet, according to the first system parameter information and the second system parameter information, really Whether the second stacking system where settled preceding stack equipment needs to keep out of the way.
9. the processing method after stacking splitting according to claim 8, which is characterized in that any in including following items One:
The first system parameter information includes the first number, and the second system parameter information includes the second number, described When second number is less than first number, determine that the second stacking system needs are kept out of the way;
The first system parameter information included the first duration, when the second system parameter information includes second lasting Between, when second duration being less than first duration, determine that the second stacking system needs are kept out of the way;
The first system parameter information includes the first number and the first duration, and the second system parameter information includes the Two numbers and the second duration, when second number is equal to first number, if second duration is less than First duration determines that the second stacking system needs are kept out of the way;
Wherein:
First number is the quantity of the stack equipment in the first stacking system that first main equipment is currently located;
The quantity of stack equipment of second number in the second stacking system where current stack equipment;
First duration is the duration that first main equipment becomes main equipment;
Second duration is the duration that current stack equipment becomes main equipment.
10. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor is realized as claimed in any one of claims 1 to 9 when executing described program Processing method after stacking splitting.
CN201710331387.2A 2017-05-11 2017-05-11 Processing method and computer equipment after stacking splitting Pending CN108880843A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710331387.2A CN108880843A (en) 2017-05-11 2017-05-11 Processing method and computer equipment after stacking splitting
PCT/CN2018/078387 WO2018205728A1 (en) 2017-05-11 2018-03-08 Method for processing stack split, computer device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710331387.2A CN108880843A (en) 2017-05-11 2017-05-11 Processing method and computer equipment after stacking splitting

Publications (1)

Publication Number Publication Date
CN108880843A true CN108880843A (en) 2018-11-23

Family

ID=64104239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710331387.2A Pending CN108880843A (en) 2017-05-11 2017-05-11 Processing method and computer equipment after stacking splitting

Country Status (2)

Country Link
CN (1) CN108880843A (en)
WO (1) WO2018205728A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217658B (en) * 2019-07-11 2024-03-19 华为技术有限公司 Stacking and splitting processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404172A (en) * 2011-12-21 2012-04-04 迈普通信技术股份有限公司 Multi-activity detection method and device
CN102916857A (en) * 2012-11-09 2013-02-06 迈普通信技术股份有限公司 Stacking and splitting quick detection method and device
US20150323940A1 (en) * 2014-05-12 2015-11-12 Dell Products L.P. System and method for temperature management of information handling systems
CN105656645A (en) * 2014-11-12 2016-06-08 杭州华三通信技术有限公司 Decision making method and device for fault processing of stacking system
CN105763462A (en) * 2016-01-20 2016-07-13 杭州华三通信技术有限公司 Stack splitting processing method and switch

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355366B (en) * 2011-08-24 2014-12-10 杭州华三通信技术有限公司 Member-stacking device and method for managing member-stacking device at split stacking moment
CN106060190B (en) * 2016-07-25 2021-04-30 新华三技术有限公司 Method and device for processing IP address conflict

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404172A (en) * 2011-12-21 2012-04-04 迈普通信技术股份有限公司 Multi-activity detection method and device
CN102916857A (en) * 2012-11-09 2013-02-06 迈普通信技术股份有限公司 Stacking and splitting quick detection method and device
US20150323940A1 (en) * 2014-05-12 2015-11-12 Dell Products L.P. System and method for temperature management of information handling systems
CN105656645A (en) * 2014-11-12 2016-06-08 杭州华三通信技术有限公司 Decision making method and device for fault processing of stacking system
CN105763462A (en) * 2016-01-20 2016-07-13 杭州华三通信技术有限公司 Stack splitting processing method and switch

Also Published As

Publication number Publication date
WO2018205728A1 (en) 2018-11-15

Similar Documents

Publication Publication Date Title
CN111886833B (en) Method for redirecting control channel messages and device for implementing the method
CN106656801B (en) Reorientation method, device and the Business Stream repeater system of the forward-path of Business Stream
US9225624B2 (en) Systems and methods for topology discovery and application in a border gateway protocol based data center
US11968082B2 (en) Robust node failure detection mechanism for SDN controller cluster
CN104796298B (en) A kind of method and device of SDN network accident analysis
WO2017089933A1 (en) A method and apparatus for autonomously relaying statistics to a network controller in a software-defined networking network
CN108604997B (en) Method and apparatus for a control plane to configure monitoring of Differentiated Services Coding Points (DSCPs) and Explicit Congestion Notifications (ECNs)
US10178017B2 (en) Method and control node for handling data packets
CN106105114B (en) The more preferable replacement path of more ownership IS-IS prefixes
US10623278B2 (en) Reactive mechanism for in-situ operation, administration, and maintenance traffic
KR102066978B1 (en) Method and apparatus for data plane for monitoring differentiated service code point (DSCP) and explicit congestion notification (ECN)
JP6443864B2 (en) Method, apparatus and system for implementing packet loss detection
WO2015026809A1 (en) Network management layer - configuration management
CN111245715A (en) Message transmission method and system
CN105515816B (en) Processing method and device for detecting hierarchical information
Callegati et al. Implementing dynamic chaining of Virtual Network Functions in OpenStack platform
US20230216786A1 (en) Method for forwarding service packet, method for sending sr policy, device, and system
CN103188171B (en) A kind of method for dispatching message and equipment
Lee et al. Overload and failure management in service function chaining
CN114598626A (en) Message processing method and gateway equipment
CN102158422B (en) Message forwarding method and equipment for layer 2 ring network
CN112910704B (en) Local area network system, method and device supporting dynamic self-adaptive network configuration
CN108880843A (en) Processing method and computer equipment after stacking splitting
Nedyalkov et al. Modeling of the convergence time of an IP-based network with different traffic loads
CN105812274B (en) Service data processing method and related equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181123

RJ01 Rejection of invention patent application after publication