CN106998299A - The recognition methods of the network equipment, apparatus and system in data center network - Google Patents
The recognition methods of the network equipment, apparatus and system in data center network Download PDFInfo
- Publication number
- CN106998299A CN106998299A CN201610046155.8A CN201610046155A CN106998299A CN 106998299 A CN106998299 A CN 106998299A CN 201610046155 A CN201610046155 A CN 201610046155A CN 106998299 A CN106998299 A CN 106998299A
- Authority
- CN
- China
- Prior art keywords
- network equipment
- network
- control device
- level type
- topology information
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 116
- 239000010410 layer Substances 0.000 claims description 49
- 239000012792 core layer Substances 0.000 claims description 32
- 230000008569 process Effects 0.000 claims description 30
- 230000008859 change Effects 0.000 claims description 9
- 238000004891 communication Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 4
- 230000003247 decreasing effect Effects 0.000 description 3
- 238000012163 sequencing technique Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000009975 flexible effect Effects 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/15—Interconnection of switching modules
- H04L49/1553—Interconnection of ATM switching modules, e.g. ATM switching fabrics
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses the recognition methods of the network equipment, apparatus and system in a kind of data center network, belong to network technique field.The control device that methods described is used in data center network, methods described includes:The connection message that first network equipment is sent in the data center network is received, the connection message includes the hierarchical identification of the first network equipment;According to the hierarchical identification, the level type of the first network equipment is recognized;According to the level type of the topology information that each network equipment being connected is set up with the control device obtained in advance, and the first network equipment, the level type that each network equipment being connected is set up with the control device is recognized.Present invention reduces the computation complexity when network equipment in data center network is identified, the problem of recognizer complexity in correlation technique is higher is solved.The network equipment that the present invention is used in identification data central site network.
Description
Technical field
The present invention relates to network technique field, the identification of the network equipment in more particularly to a kind of data center network
Method, apparatus and system.
Background technology
Data center network is the network being applied in data center, and data center network passes through interchanger and road
A number of server is connected by network equipments such as devices, composition with high bandwidth, high reliability with
And the server network of load balancing, the service such as calculating and storage can be externally provided.In data center network
In network equipment after the completion of, each network equipment needs the control device foundation with data center to be connected,
So as to control device, to this, each network equipment is controlled and managed.Afterwards, control device can be by opening up
Discovery procedure is flutterred, the topology information of each network equipment is obtained, and according to the topology information got, identification
The topological structure of data center network, and each level type of the network equipment, such as frame topcross,
Converge layer switch and core layer switch etc..Finally, control device can be according to the result of identification, to not
The network equipment with level type issues corresponding configuration file, so as to realize that network is set in data center network
Standby automatic configuration.
In correlation technique, SIGCOMM meeting papers " PortLand in 2009:A Scalable
Described in Fault-Tolerant Layer 2Data Center Network Fabric " a kind of to data center network
In the network equipment put the scheme of identification according to the grading line position of topological layer.In this scenario, control device can be with
The topology information of the current network equipment for being connected to control device is obtained and analyzes, the topology information includes often
The connection state of the individual network equipment and other network equipments, if the port number of some network equipment is K, and should
There is no more than K/2 port to be connected with other network equipments in K port of the network equipment, then control device
Can be frame topcross by the level type identification of the network equipment;Further, control device can be by
The level type identification for the network equipment being connected with the frame topcross is convergence layer switch, and by all ends
The level type identification that mouth is connected to the network equipment of convergence layer switch is core layer switch.
But, the above-mentioned network equipment finds scheme, when recognizing frame topcross, it is necessary to be set to all-network
Standby connection state is analyzed, and the computation complexity of the program is higher, the identification flexibility of the network equipment compared with
It is low.
The content of the invention
In order to solve to carry out the network equipment in correlation technique the problem of computation complexity is higher during the identification of position,
The embodiments of the invention provide the recognition methods of the network equipment, apparatus and system in a kind of data center network.
The technical scheme is as follows:
First aspect is there is provided a kind of recognition methods of the network equipment in data center network, in data
Control device in heart network, this method includes:
The connection message that first network equipment is sent in the data center network is received, the connection message includes should
The hierarchical identification of first network equipment;
According to the hierarchical identification, the level type of the first network equipment is recognized;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of the first network equipment, recognizes the layer that each network equipment being connected is set up with the control device
Level type.
Optionally, the topology that each network equipment being connected is set up with the control device that the basis is obtained in advance
Information, and the first network equipment level type, identification and each net for being connected of control device foundation
The level type of network equipment, including:
The network equipment that level type is determined is divided into and has recognized the network equipment, this determines level type
The network equipment include the first network equipment;
Judge to set up to whether there is in each network equipment being connected with the control device to have recognized that network is set with this
Standby connection and the unrecognized network equipment to be identified;
When being set up with the control device in each network equipment being connected in the presence of the network equipment to be identified, root
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and this has been known
The level type of the other network equipment, recognizes the level type of the network equipment to be identified;
Repeat the above steps, be not present and this until being set up with the control device in each network equipment being connected
Network equipment connection and the unrecognized network equipment to be identified are recognized.
Optionally, when the first network equipment level type for virtual switch, core layer switch or
During SoftSwitch, the topology that each network equipment being connected is set up with the control device that the basis is obtained in advance
Information, and the first network equipment level type, identification and each net for being connected of control device foundation
The level type of network equipment, including:
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of the first network equipment, recognizes the layer for second network equipment being connected with the first network equipment
Level type;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of second network equipment, identification is connected and the 3rd unrecognized net with second network equipment
The level type of network equipment;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of 3rd network equipment, identification is connected and the 4th unrecognized net with the 3rd network equipment
The level type of network equipment.
Optionally, opening up for each network equipment being connected is set up with the control device what the basis was obtained in advance
Flutter information, and the 3rd network equipment level type, identification be connected with the 3rd network equipment and not by
After the level type of 4th network equipment of identification, this method also includes:
The number of the network equipment unrecognized in each network equipment being connected is set up in judgement with the control device
Whether first predetermined threshold value is more than, and whether the number of the 4th network equipment is more than the second predetermined threshold value;
When this sets up the number of the network equipment unrecognized in each network equipment being connected with the control device
When number more than the first predetermined threshold value, or the 4th network equipment is more than the second predetermined threshold value, identification is performed
Corrigendum process, identification corrigendum process includes:
Determine the number n of the network equipment of identified the 3rd;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, judge
Whether the number m of the 3rd network equipment is more than or equal in the network equipment that 4th network equipment is connected
When the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected is more than or waits
InWhen, the level type of the 4th network equipment is corrected as and second network equipment identical level
Type.
Optionally, when the first network equipment level type for virtual switch, core layer switch or
During SoftSwitch, the topology that each network equipment being connected is set up with the control device that the basis is obtained in advance
Information, and the first network equipment level type, identification and each net for being connected of control device foundation
The level type of network equipment, including:
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of the first network equipment, recognizes the layer for second network equipment being connected with the first network equipment
Level type;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of second network equipment, identification is connected and the 3rd unrecognized net with second network equipment
The level type of network equipment;
Determine the number n of the network equipment of identified the 3rd;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, judge
Whether the number m of the 3rd network equipment is more than or equal in the network equipment that 4th network equipment is connected4th network equipment is to set up to be connected and the unrecognized network equipment with the 3rd network;
When the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected is more than or waits
InWhen, it is and second network equipment identical level by the level type identification of the 4th network equipment
Type;
When the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected is less thanWhen, according to the topology information that each network equipment being connected is set up with the control device obtained in advance,
And the 3rd the network equipment level type, recognize the level type of the 4th network equipment.
Optionally, each network equipment being connected is set up with the control device what the basis was obtained in advance
Topology information, and the first network equipment level type, identification with the control device foundation be connected it is each
After the level type of the individual network equipment, this method also includes:
When being connected in the presence of the newly-increased network equipment and the control device foundation, the newly-increased network equipment is obtained
Topology information;
Each network being connected is set up according to the topology information of the newly-increased network equipment, with the control device to set
Standby topology information and the level type for each network equipment being connected with control device foundation, identification should
The level type of the newly-increased network equipment;
According to the topology information of the newly-increased network equipment, update and set up each net being connected with the control device
The topology information of network equipment;
Set up what is be connected with the control device according to after the level type of the newly-increased network equipment and the renewal
The topology information of each network equipment, re-recognizes the level type of each network equipment.
Optionally, the level type of the first network equipment is virtual switch or SoftSwitch, second net
The level type of network equipment is frame topcross, and the level type of the 3rd network equipment is convergence layer switch,
The level type of 4th network equipment is core layer switch.
Optionally, the connection message include the first network equipment sent to the control device handshake information,
Heartbeat message or attribute reporting message.
Second aspect is there is provided a kind of recognition methods of the network equipment in data center network, for data center
First network equipment in network, this method includes:
Control device into the data center network sends connection message, and the connection message includes first net
The hierarchical identification of network equipment, in order to which the control device is according to the hierarchical identification, recognizes the first network equipment
Level type.
The third aspect is located at number there is provided a kind of identifying device of the network equipment in data center network, the device
According in the control device in central site network, the device includes:
Receiving unit, should for receiving the connection message that first network equipment is sent in the data center network
Connection message includes the hierarchical identification of the first network equipment;
First recognition unit, for according to the hierarchical identification, recognizing the level type of the first network equipment;
Second recognition unit, for being set according to each network being connected with control device foundation obtained in advance
Standby topology information, and the first network equipment level type, identification with the control device foundation be connected
Each network equipment level type.
Optionally, second recognition unit, is additionally operable to:
The network equipment that level type is determined is divided into and has recognized the network equipment, this determines level type
The network equipment include the first network equipment;
Judge to set up to whether there is in each network equipment being connected with the control device to have recognized that network is set with this
Standby connection and the unrecognized network equipment to be identified;
When being set up with the control device in each network equipment being connected in the presence of the network equipment to be identified, root
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and this has been known
The level type of the other network equipment, recognizes the level type of the network equipment to be identified;
Repeat the above steps, be not present and this until being set up with the control device in each network equipment being connected
Network equipment connection and the unrecognized network equipment to be identified are recognized.
Optionally, when the first network equipment level type for virtual switch, core layer switch or
During SoftSwitch, second recognition unit, including:
First identification module, for being set according to each network being connected with control device foundation obtained in advance
Standby topology information, and the first network equipment level type, identification be connected with the first network equipment
Second network equipment level type;
Second identification module, for being set according to each network being connected with control device foundation obtained in advance
Standby topology information, and second network equipment level type, identification be connected with second network equipment
And the level type of the 3rd unrecognized network equipment;
3rd identification module, for being set according to each network being connected with control device foundation obtained in advance
Standby topology information, and the 3rd network equipment level type, identification be connected with the 3rd network equipment
And the level type of the 4th unrecognized network equipment.
Optionally, second recognition unit, in addition to:
First judge module, is not known for judging to set up in each network equipment being connected with the control device
The number of other network equipment whether be more than the first predetermined threshold value, and the 4th network equipment number whether
More than the second predetermined threshold value;
Module is corrected, for setting up unrecognized in each network equipment being connected when this and the control device
The number of the network equipment is more than the first predetermined threshold value, or the number of the 4th network equipment is more than the second default threshold
During value, identification corrigendum process is performed, identification corrigendum process includes:
Determine the number n of the network equipment of identified the 3rd;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, judge
Whether the number m of the 3rd network equipment is more than or equal in the network equipment that 4th network equipment is connected
When the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected is more than or waits
InWhen, the level type of the 4th network equipment is corrected as and second network equipment identical level
Type.
Optionally, when the first network equipment level type for virtual switch, core layer switch or
During SoftSwitch, second recognition unit, in addition to:
4th identification module, for being set according to each network being connected with control device foundation obtained in advance
Standby topology information, and the first network equipment level type, identification be connected with the first network equipment
Second network equipment level type;
5th identification module, for being set according to each network being connected with control device foundation obtained in advance
Standby topology information, and second network equipment level type, identification be connected with second network equipment
And the level type of the 3rd unrecognized network equipment;
Determining module, the number n for determining the network equipment of identified the 3rd;
Second judge module, for being set according to each network being connected with control device foundation obtained in advance
Standby topology information, judges the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected
Whether it is more than or equal to4th network equipment is to set up to be connected and unrecognized with the 3rd network
The network equipment;
6th identification module, for when in the network equipment that the 4th network equipment is connected the 3rd network set
Standby number m is more than or equal toWhen, by the level type identification of the 4th network equipment be with this second
Network equipment identical level type;
7th identification module, for when in the network equipment that the 4th network equipment is connected the 3rd network set
Standby number m is less thanWhen, set according to each network being connected with control device foundation obtained in advance
Standby topology information, and the 3rd network equipment level type, recognize the level of the 4th network equipment
Type.
Optionally, the device also includes:
Acquiring unit, for when being connected in the presence of the newly-increased network equipment and the control device foundation, obtaining should
The topology information of the newly-increased network equipment;
3rd recognition unit, builds for the topology information according to the newly-increased network equipment, with the control device
The topology information of each network equipment of vertical connection and each network equipment being connected with control device foundation
Level type, recognize the level type of the newly-increased network equipment;
Updating block, for the topology information according to the newly-increased network equipment, renewal is built with the control device
The topology information of each network equipment of vertical connection;
4th recognition unit, for after the level type according to the newly-increased network equipment and the renewal with this
Control device sets up the topology information of each network equipment of connection, re-recognizes the layer of each network equipment
Level type.
Optionally, the level type of the first network equipment is virtual switch or SoftSwitch, second net
The level type of network equipment is frame topcross, and the level type of the 3rd network equipment is convergence layer switch,
The level type of 4th network equipment is core layer switch.
Optionally, the connection message include the first network equipment sent to the control device handshake information,
Heartbeat message or attribute reporting message.
Fourth aspect is located at number there is provided a kind of identifying device of the network equipment in data center network, the device
According in the first network equipment in central site network, the device includes:
Transmitting element, connection message, the connection report are sent for the control device into the data center network
Text includes the hierarchical identification of the first network equipment, in order to which the control device is according to the hierarchical identification, identification
The level type of the first network equipment.
5th aspect is located at number there is provided a kind of identifying device of the network equipment in data center network, the device
According in the control device in central site network, the device includes:Processor, memory and bus;The bus is used
In connecting the processor and the memory, the processor is used to perform the program stored in the memory, the journey
Sequence includes any described method of first aspect.
6th aspect is located at number there is provided a kind of identifying device of the network equipment in data center network, the device
According in the first network equipment in central site network, the device includes:Processor, memory and bus;This is total
Line is used to connect the processor and the memory, and the processor is used to perform the program stored in the memory,
The program includes the method described in second aspect.
7th aspect includes control there is provided a kind of identifying system of the network equipment in data center network, the system
Control equipment and first network equipment, the control device are included in any described data center network of the third aspect
The identifying device of the network equipment;The first network equipment includes net in the data center network described in fourth aspect
The identifying device of network equipment.
Eighth aspect includes control there is provided a kind of identifying system of the network equipment in data center network, the system
Control equipment and first network equipment, the control device include network in the data center network described in the 5th aspect
The identifying device of equipment;The first network equipment is set including network in the data center network described in the 6th aspect
Standby identifying device.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
The embodiments of the invention provide the recognition methods of the network equipment, device in a kind of data center network and it is
System, this method is used in the control device in data center network, and this method includes:Receive the data center
The connection message that first network equipment is sent in network, the connection message includes the level of the first network equipment
Mark;According to the hierarchical identification, the level type of the first network equipment is recognized;According to obtain in advance with
The control device set up connection each network equipment topology information, and the first network equipment level
Type, recognizes the level type that each network equipment being connected is set up with the control device, therefore the present invention is real
Apply and taken in the connection message that the recognition methods of the network equipment of example offer can be sent according to first network equipment
The hierarchical identification of band, recognizes the level type of the first network equipment, without the company to the first network equipment
The situation of connecing is analyzed, therefore is reduced multiple to the calculating when network equipment is identified in data center network
Miscellaneous degree, the identification flexibility of the network equipment is higher.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to embodiment
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the topological structure schematic diagram of data center network in correlation technique;
Fig. 2-1 is a kind of system architecture diagram of data center network provided in an embodiment of the present invention;
Fig. 2-2 is the recognition methods of the network equipment in a kind of data center network provided in an embodiment of the present invention
Flow chart;
Fig. 3-1 is the recognition methods of the network equipment in another data center network provided in an embodiment of the present invention
Flow chart;
Fig. 3-2 is the partial-topology knot of the network equipment in a kind of data center network provided in an embodiment of the present invention
Structure schematic diagram;
Fig. 3-3 is the partial-topology of the network equipment in another data center network provided in an embodiment of the present invention
Structural representation;
Fig. 3-4 is the partial-topology of the network equipment in another data center network provided in an embodiment of the present invention
Structural representation;
Fig. 4-1 is the recognition methods of the network equipment in another data center network provided in an embodiment of the present invention
Flow chart;
Fig. 4-2 is the partial-topology of the network equipment in another data center network provided in an embodiment of the present invention
Structural representation;
Fig. 4-3 is a kind of method flow diagram for recognizing corrigendum process provided in an embodiment of the present invention;
Fig. 5 is the recognition methods of the network equipment in another data center network provided in an embodiment of the present invention
Flow chart;
Fig. 6-1 is the identifying device of the network equipment in a kind of data center network provided in an embodiment of the present invention
Structural representation;
Fig. 6-2 is the identifying device of the network equipment in another data center network provided in an embodiment of the present invention
Structural representation;
Fig. 6-3 is a kind of structural representation of second recognition unit provided in an embodiment of the present invention;
Fig. 6-4 is the structural representation of another second recognition unit provided in an embodiment of the present invention;
Fig. 7 is the identifying device of the network equipment in another data center network provided in an embodiment of the present invention
Structural representation;
Fig. 8 is the identifying device of the network equipment in another data center network provided in an embodiment of the present invention
Structural representation;
Fig. 9 is the identifying device of the network equipment in another data center network provided in an embodiment of the present invention
Structural representation.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Embodiment is described in further detail.
Fig. 1 is the topological structure schematic diagram of data center network in correlation technique, as shown in figure 1, with data
The topological structure of central site network is exemplified by tree structure, the tree structure can include multiple services of the bottom
Device 01, the access-layer switch being connected with the server 01, also referred to as frame topcross (English:Top OfRack;
Referred to as:TOR the convergence layer switch (English) 02, being connected with the frame topcross 02:End OfRow;
Referred to as:EOR) 03, and the core layer switch 04 being connected with the convergence layer switch 03, the different layers
The interchanger interconnection of level gets up to provide communication channel for the communication between server 01.When in data center network
Each network equipment (including server and interchanger of different levels) according to default topological structure dispose
After the completion of, each network equipment, which needs to set up with the control plane of data center network, to be connected, so as to the control
Plane processed each network equipment can be managed and control to this, for example, being transported to under each network equipment
File is put, the automatic configuration etc. of the network equipment is realized.
Fig. 2-1 is a kind of system architecture diagram of data center network provided in an embodiment of the present invention, such as Fig. 2-1 institutes
Show, the data center network can be divided into control plane and datum plane, and wherein control plane is by one
Or multiple compositions of control devices 10, datum plane then includes multiple network equipments 00, wherein, the plurality of net
Network equipment 00 can be divided into different levels according to the difference of data center network topology structure.Example,
If the topological structure of the data center network is two layers of tree structure, the plurality of network equipment can be divided
For the network equipment of two kinds of level types, for example:Access-layer switch and convergence layer switch;If the data
The topological structure of central site network is three layers fat tree (Fat-Tree) structure, then the plurality of network equipment can be drawn
It is divided into the network equipment of three kinds of different levels types, for example:Access-layer switch, convergence layer switch and core
Central layer interchanger;If the topological structure of data center network is three layers of Fat-Tree structures, and data center's net
Virtual switch or SoftSwitch are mounted with the server of network, then can be by the virtual switch or soft
Interchanger extends as the 4th layer of the data center network topology structure, now net in the data center network
The level type of network equipment can include four kinds:Virtual switch or SoftSwitch, access-layer switch,
Converge layer switch and core layer switch.In the network equipment 00 and control plane of the different levels type
Control device 10 is set up after connection, and control device 10 can enter to the level type of the heterogeneous networks equipment 00
Row identification, so that the network equipment to different levels type issues different configuration files, so as to realize data
The automatic configuration of the network equipment in central site network, for example in Figure 2-1, the network equipment in elliptical region
Establish and be connected with control device 10, then control device 10 can be set to the network in the elliptical region
The standby identification for carrying out level type.
Fig. 2-2 is the recognition methods of the network equipment in a kind of data center network provided in an embodiment of the present invention
Flow chart, this method can apply in the control device 10 shown in Fig. 2-1, as shown in Fig. 2-2, the party
Method includes:
Step 201, the connection message for receiving first network equipment transmission in the data center network, the connection report
Text includes the hierarchical identification of the first network equipment.
Step 202, according to the hierarchical identification, recognize the level type of the first network equipment.
Step 203, the topology letter according to each network equipment being connected with control device foundation obtained in advance
Breath, and the first network equipment level type, identification and each network for being connected of control device foundation
The level type of equipment.
In summary, the embodiment of the present invention provides a kind of recognition methods of the network equipment in data center network,
The hierarchical identification that the connection message that control device can be sent according to the first network equipment received includes,
The level type of the first network equipment is quickly recognized, and then further according to the topology information of each network equipment,
And the level type of the first network equipment, recognize and set up each network equipment being connected with the control device
Level type, this method recognize first network equipment level type when, without being set to the first network
Standby connection state is analyzed, therefore is reduced to when the network equipment is identified in data center network
Computation complexity, the identification flexibility of the network equipment is higher.
The embodiment of the present invention provides the recognition methods of the network equipment in another data center network, and this method can
So that applied in the first network equipment in data center network, the first network equipment can be in Fig. 2-1
One network equipment, this method includes:
Control device into data center network sends connection message, and the connection message includes the first network
The hierarchical identification of equipment, in order to which the control device is according to the hierarchical identification, recognizes the first network equipment
Level type.
In embodiments of the present invention, the first network equipment can be any level type in data center network
The network equipment, example, it is assumed that the level type of the first network equipment is virtual switch, the then number
When being connected according to each virtual switch in central site network and control device foundation, each virtual switch institute
All include the hierarchical identification of the virtual switch in the connection message of transmission.Control device and each network equipment
During setting up connection, the level type of first network equipment, then root can be first recognized according to hierarchical identification
According to the topology information and the level type of first network equipment of each network equipment, other networks are recognized one by one
The level type of equipment.
In summary, the embodiment of the present invention provides a kind of recognition methods of the network equipment in data center network,
It can include the level mark of the first network equipment in the connection message that first network equipment is sent to control device
Know, therefore control device can be according to the hierarchical identification, the level type of quick identification first network equipment,
And then further according to the topology information of each network equipment, and the first network equipment level type, identification
The level type of each network equipment be connected is set up with the control device, therefore, control device is recognizing the
During the level type of one network equipment, analyzed without the connection state to the first network equipment, therefore
Reduce to computation complexity when each network equipment is identified in data center network, the knowledge of the network equipment
Other flexibility is higher.
Fig. 3-1 is the recognition methods of the network equipment in another data center network provided in an embodiment of the present invention
Flow chart, this method can apply in the control device 10 shown in Fig. 2-1, as shown in figure 3-1, should
Method includes:
Step 301, the connection message for receiving first network equipment transmission in data center network, the connection message
Include the hierarchical identification of the first network equipment.
In embodiments of the present invention, should after the completion of each network equipment in data center network is disposed
Each network equipment, which needs to set up with the control plane in the data center network, to be connected, and is setting up the mistake of connection
Cheng Zhong, the first network equipment connection message that control device is sent into control plane can include first net
The hierarchical identification of network equipment, the hierarchical identification is used to indicate the level type of the first network equipment, i.e., this
One network equipment level residing in the topological structure of data center network, therefore control device passes through the layer
Level mark may recognize that the level type of the first network equipment, it is possible to determine the first network equipment with
The relative position relation of other network equipments.Wherein, the first network equipment can be any layer level type
The network equipment, for example, can be the network equipment of virtual switch, SoftSwitch or other same types,
Can also be core layer switch or the network equipment of other same types, the connection message can be first
The connection request message that the network equipment is sent to control device, or on connection response message or attribute
Message etc. is reported, the embodiment of the present invention is not limited this.
It should be noted that control device and the network equipment are set up when be connected, can be control device active to
The network equipment sends control passage connection request or the network equipment actively sends to control device and controlled
Passage connection request, the embodiment of the present invention is not construed as limiting to this.The control device is set up with the network equipment and is connected
Process may be referred to correlation technique, the embodiment of the present invention is not repeated this.
Step 302, according to the hierarchical identification, recognize the level type of the first network equipment.
Control device is received after the connection message of first network equipment transmission, can be according in the connection message
The hierarchical identification of carrying, recognizes the level type of the first network equipment.Example, if the first network is set
Standby is virtual switch, then the connection message that the virtual switch in data center network is sent to control device
In can include the hierarchical identification of virtual switch, the company that control device can be sent according to first network equipment
Hierarchical identification included by being informed of a case in text, is virtual switch by the level type identification of the first network equipment.
Step 303, the network equipment that level type is determined is divided into the network equipment is recognized, this is determined
The network equipment of level type includes the first network equipment.
Because the topological structure of data center network is generally regular texture, therefore, control device has recognized
After the level type of one network equipment, can according to the level type of first network equipment, successively identification with should
The level type of other network equipments of first network equipment connection.Each network equipment is recognized in control device
During level type, in order to judge whether to continue executing with recognizer, control device will can have determined that
The network equipment of level type, which is divided into, has recognized the network equipment.Example, Fig. 3-2 is the embodiment of the present invention
The partial-topology structural representation of the network equipment in a kind of data center network provided, it is as shown in figure 3-2, false
If the network equipment being connected is set up with control device 10 includes SW1 to SW6, and wherein first network equipment
The connection message sent for SW1, control device according to SW1, it is void to identify the level type of the SW1
Intend after interchanger, control device is confirmable to have recognized that the network equipment includes:SW1.
Step 304, judgement set up to whether there is in each network equipment being connected with the control device have been known with this
Other network equipment connection and the unrecognized network equipment to be identified.
When being set up with the control device in each network equipment being connected in the presence of the network equipment to be identified, hold
Row step 305, sets when being set up with the control device in each network equipment being connected in the absence of the network to be identified
When standby, step 306 is performed.In embodiments of the present invention, sentencing when judging the network equipment to be identified to improve
Disconnected efficiency, control device can only judge to whether there is the network equipment with recognizing recently in each network equipment
Connection and the unrecognized network equipment to be identified.Example, it is assumed that in Fig. 3-2, control device according to
The level type that the connection message that SW1 is sent identifies first network equipment SW1 is SoftSwitch, then
According to the level type of the SW1, the level type for the SW2 being connected with the SW1, now, SW2 are identified
Level type can be frame topcross, then now control device divide the network equipment of identification can wrap
Include:SW1 and SW2, is the network equipment recognized recently due to wherein SW2, then control device is judging
During with the presence or absence of the network equipment to be identified, it can only judge whether to be connected with the SW2 and unrecognized
The network equipment to be identified, because in Fig. 3-2, SW3 is connected with SW2, and the not controlled equipment of SW3
Identification, then control device can determine there is the network equipment to be identified:SW3.
Step 305, the topology letter according to each network equipment being connected with control device foundation obtained in advance
Cease, and this has recognized the level type of the network equipment, recognizes the level type of the network equipment to be identified.
In embodiments of the present invention, after control device is connected with network equipment foundation, control device can pass through
Topology Discovery process, obtains the topology information that each network equipment being connected is set up with the control device, wherein,
During the Topology Discovery, control device can set up each network equipment being connected to the control device
Transmission link layer finds agreement (English:Link Layer Discovery Protocol;Referred to as:LLDP) report
Text, the message then fed back further according to each network equipment, obtains the topology information of each network equipment,
And the topology information of each network equipment is stored in the memory in data center network, wherein, should
The topology information of each network equipment includes the annexation between each network equipment.Example, such as Fig. 3-2
Shown, it is assumed that in data center network, setting up the network equipment being connected with control device 10 includes:SW1 is extremely
SW6, then control device is by Topology Discovery process, the network equipment SW1 to SW6 got topology
Information can be as shown in table 1, and the annexation between each network equipment, example are have recorded in the topology information
Such as, SW1 is connected by No. 0 port and SW2 No. 0 port, and SW2 passes through No. 1 port and SW3
No. 0 port connection, SW3 passes through No. 2 ports and the connection of SW3 No. 1 port etc..
Table 1
SW1:Port0-------SW2:Port0 |
SW2:Port1-------SW3:Port0 |
SW3:Port2-------SW4:Port1 |
...... |
For the network equipment to be identified:SW3, control device can according to the topology information shown in table 1, with
And recognized the level type of the network equipment:SW1 is virtual switch, and SW2 is frame topcross, identification
The level type of the network equipment SW3 to be identified is convergence layer switch.
Afterwards, control device can repeat above-mentioned steps 303 to step 305, until with the control device
Set up in each network equipment of connection to be not present and recognized that the network equipment is connected and unrecognized waits to know with this
The other network equipment, therefore the recognition methods of the network equipment provided in an embodiment of the present invention, its identification process not by
The limitation of network topology structure, can flexibly recognize the network topology with different levels structure, improve net
The flexibility of network equipment identification.
It should be noted that control device has often recognized the level type of a network equipment, can be in topology
The level type of the network equipment is marked in information, for example, for the topological structure shown in Fig. 3-2,
After control device is completed to network equipment SW1 to SW6 identification, each net marked in topology information
The level type of network equipment can be as shown in table 2, for example, SW1 is labeled as into virtual switch, by SW4
Labeled as core layer switch.
Table 2
Step 306, when there is the newly-increased network equipment and be connected with control device foundation, obtain this newly-increased
The topology information of the network equipment.
In embodiments of the present invention, due to each network equipment in data center network and control device foundation company
The process connect is not synchronous execution, therefore each to what is be connected with control device foundation in control device
During the individual network equipment is identified, occurs the newly-increased network equipment again and be connected with control device foundation
When, control device can be by the topology information of the Topology Discovery Procedure Acquisition newly-increased network equipment.Example
, it is assumed that the partial-topology structure of data center network is as shown in Fig. 3-3, and control device has been completed to net
Network equipment SW31 to SW35 identification, wherein, SW31 and SW32 are first network equipment, its level
Type is SoftSwitch, and SW33 and SW34 level type are frame topcross, SW35 level type
For convergence layer switch.When being connected in the presence of newly-increased network equipment SW36 with control device foundation, control
Control equipment can obtain the topology information of the SW36, and SW35 and SW36 can be included in the topology information
Annexation.
Step 307, the topology information according to the newly-increased network equipment, with the control device set up be connected it is each
The topology information of the individual network equipment and the level type that each network equipment being connected is set up with the control device,
Recognize the level type of the newly-increased network equipment.
Control device is got after the topology information of the newly-increased network equipment, can according to have determined each
The level type of the network equipment, recognizes the level type of the newly-increased network equipment.Example, such as Fig. 3-3
Shown, because network equipment SW36 topology information is connected including SW36 with SW35, and network is set
Standby SW35 level type is convergence layer switch, then control device can determine the newly-increased network equipment
SW36 is core layer switch.
If it should be noted that the level type of the level type of the newly-increased interchanger and first network equipment
Identical, then the newly-increased network equipment with control device foundation when being connected, the connection sent to control device
The hierarchical identification of the newly-increased network equipment can be included in message, now, control device can direct basis
The hierarchical identification recognizes the level type of the newly-increased network equipment.
Step 308, the topology information according to the newly-increased network equipment, update and are connected with control device foundation
Each network equipment topology information.
After the newly-increased network equipment is connected with control device foundation, control device can be according to being somebody's turn to do for getting
The topology information of the newly-increased network equipment, real-time update sets up each network equipment being connected with the control device
Topology information.
Being built with the control device after step 309, the level type according to the newly-increased network equipment and the renewal
The topology information of each network equipment of vertical connection, re-recognizes the level type of each network equipment.
After the newly-increased network equipment and control device, which are set up, to be connected, the connection between each network equipment
Willing to change, the level type of each network equipment recognized based on the topology information before renewal can
Can there can be a mistake, therefore level type that control device can be according to the newly-increased network equipment and the renewal
The topology information that each network equipment being connected is set up with the control device afterwards, re-recognizes each network
The level type of equipment.The process re-recognized may be referred to above-mentioned steps 303 to step 305, the present invention
Embodiment is repeated no more.
Example, it is assumed that as shown in Figure 3-4, the newly-increased network equipment is SW32, in network equipment SW32
Set up with control device before being connected, control device has been completed to network equipment SW31 and the network equipment
SW33 to SW36 identification, its specific recognition result is:SW31 level type is SoftSwitch, SW33
Level type be frame topcross, SW35 level type is convergence layer switch, SW34 and SW36
Level type be core layer switch.After SW32 is set up with control device to be connected, control device is known can
With the hierarchical identification according to entrained by the connection message that the SW32 is sent, network equipment SW32 is recognized
For SoftSwitch, and the topology information of the newly-increased network equipment SW32, the SW32 can be got
Topology information can include:SW32 is connected with SW34.Further, control device can be newly-increased according to this
Network equipment SW32 level type:SoftSwitch, and the newly-increased network equipment SW32 are opened up
Information is flutterred, network equipment SW34 level type is re-recognized as frame topcross.
In actual applications, control device can periodic pair of each network being connected with the control device set
Standby level type is identified, the topology information not being completely cured according to the newly-increased network equipment, re-recognizes simultaneously
The network equipment of misrecognition is corrected, control device is improved and each network equipment in data center network is recognized
When recognition accuracy.
It should be noted that in data center network provided in an embodiment of the present invention the network equipment recognition methods
The step of sequencing can suitably be adjusted, step according to circumstances can also accordingly be increased and decreased, appoint
What those familiar with the art the invention discloses technical scope in, change can be readily occurred in
Method, should all be included within the scope of the present invention, therefore repeat no more.
In summary, the embodiment of the present invention provides a kind of recognition methods of the network equipment in data center network,
The hierarchical identification that the connection message that control device can be sent according to the first network equipment received includes,
The level type of the first network equipment is quickly recognized, and then further according to the topology information of each network equipment,
And the level type of the first network equipment, recognize and set up each network equipment being connected with the control device
Level type, this method recognize first network equipment level type when, without being set to the first network
Standby connection state is analyzed, therefore is reduced to when the network equipment is identified in data center network
Computation complexity, the identification flexibility of the network equipment is higher, and the network equipment provided in an embodiment of the present invention
Recognition methods, during the network equipment in data center network is identified, do not opened up by network
The limitation of structure is flutterred, the network equipment under different topology structure can be flexibly recognized;In addition, in correlation technique
The network equipment find that the network equipment under complete state topological structure can only be identified for scheme, but in data
Heart network is gradually improved to complete state topology, i.e., in data by the non-fully state topology originated in networking
Heart Network morals include longer non-fully state topological cycle, network provided in an embodiment of the present invention
Not only the network equipment under complete state topological structure can be identified for the recognition methods of equipment, additionally it is possible to right
The network equipment non-fully under state topological structure is identified.
In embodiments of the present invention, when the level type of first network equipment is virtual switch, core layer friendship
Change planes or during SoftSwitch, then the topological structure of the data center network potentially includes four etale topologies, it is assumed that
The level type of first network equipment is SoftSwitch, now, each in control device identification data central site network
The process of the level type of the individual network equipment can be as shown in Fig. 4-1, and this method includes:
Step 401, the connection message for receiving first network equipment transmission in the data center network, the connection report
Text includes the hierarchical identification of the first network equipment.
Example, it is assumed that the topological structure of data center network is Fat-tree structures as shown in the Fig. 4-2, and
First network equipment is SoftSwitch SW41, is set in each network equipment SW41 to SW410 with control
It is standby set up connection during, can be with the connection message that first network equipment SW41 is sent to control device
Hierarchical identification including SW41:SoftSwitch.
Step 402, according to the hierarchical identification, recognize the level type of the first network equipment.
Control device receives the connection message of each network equipment transmission, and according to transmitted by first network equipment
Connection message in the hierarchical identification that carries, determine first network equipment SW41 level type:It is soft to hand over
Change planes.
Step 403, the topology letter according to each network equipment being connected with control device foundation obtained in advance
Breath, and the first network equipment level type, recognize the second network for being connected with the first network equipment
The level type of equipment.
Example, control device, can be by opening up after being connected with network equipment SW41 to SW410 foundation
Discovery procedure is flutterred, network equipment SW41 to SW410 topology information is obtained, a bag in the topology information
The annexation of each network equipment SW41 to SW410 is included, afterwards, control device can be opened up according to this
Flutter information and identified first network equipment SW41 level type:SoftSwitch, identification with this
Second network equipment of one network equipment SW41 connections:SW42 level type, second network equipment
SW42 level type can be frame topcross.
Step 404, the topology letter according to each network equipment being connected with control device foundation obtained in advance
Breath, and second network equipment level type, identification be connected and unrecognized with second network equipment
The 3rd network equipment level type.
Further, control device can be according to the second network equipment SW42 level type:Frame top is exchanged
Machine, identification is connected and the 3rd unrecognized network equipment with second network equipment SW42:SW46 is extremely
SW49 level type, the 3rd network equipment SW46 to SW49 level type can be handed over for convergence-level
Change planes.
Step 405, the topology letter according to each network equipment being connected with control device foundation obtained in advance
Breath, and the 3rd network equipment level type, identification be connected and unrecognized with the 3rd network equipment
The 4th network equipment level type.
Control device is according to fixed 3rd network equipment SW46 to SW49 level type, Ke Yijin
One step recognize with the 3rd network equipment SW46 any network equipments into SW49 have annexation and not by
The level type of 4th network equipment of identification, example, the 4th network equipment can include SW43 extremely
SW45 and SW410, the 4th network equipment SW43 to SW45 and SW410 of control device identification
Level type can be core layer interchanger.
Step 406, judgement are set up network unrecognized in each network equipment being connected with the control device and set
Whether whether standby number pre- more than second more than the first predetermined threshold value, and the number of the 4th network equipment
If threshold value.
When the number that the network equipment unrecognized in each network equipment being connected is set up with the control device is big
When the number of the first predetermined threshold value, or the 4th network equipment is more than the second predetermined threshold value, control device can
To determine to have recognized the situation that there may be misrecognition in the network equipment, and perform step 407;When with the control
The number that equipment sets up the network equipment unrecognized in each network equipment connected is not more than the first default threshold
Value, and the 4th network equipment number be more than the second predetermined threshold value when, then control device can determine to have known
The recognition result of the other network equipment is errorless, terminates identification process.
Example, it is assumed that first predetermined threshold value and the second predetermined threshold value are 2, then in opening up shown in Fig. 4-2
Flutter in structure, due to setting up the network equipment unrecognized in each network equipment being connected with the control device
Number be 0, less than first predetermined threshold value, but the number of the 4th network equipment is 4, second pre- more than this
If threshold value:2, therefore control device can determine to there may be the net of misrecognition in the identified network equipment
Network equipment, and perform step 407 and corrected.
Step 407, execution identification corrigendum process.
When the number that the network equipment unrecognized in each network equipment being connected is set up with the control device is big
In the first predetermined threshold value, or the number of the 4th network equipment is when being more than the second predetermined threshold value, then control device
The network equipment of misrecognition is there may be in the network equipment that level type can be determined to have determined that, and is performed
Corrigendum process is recognized, as shown in Fig. 4-3, identification corrigendum process includes:
Step 4071, the number n for determining the network equipment of identified the 3rd.
Wherein, the number n of the network equipment of identified the 3rd refers to be connected to same second network equipment
The 3rd network equipment number.Example, in the topological structure shown in Fig. 4-2, because the 3rd network is set
Standby SW46 to SW49 is connected to the second network equipment SW42, therefore control device can determine to have recognized
The number of the 3rd network equipment be:N=4.
Step 4072, the topology according to each network equipment being connected with control device foundation obtained in advance
Information, judge the 3rd network equipment in the network equipment that the 4th network equipment is connected number m whether
It is more than or equal to
Wherein,Expression rounds up, when the 3rd net in the network equipment that the 4th network equipment is connected
The number m of network equipment is more than or equal toWhen, perform step 4073;When the 4th network equipment connects
The number m of the 3rd network equipment is less than in the network equipment connectWhen, terminate identification corrigendum process.
If it should be noted that the number of the 4th network equipment is above-mentioned more than 1 in the identified network equipment
, it is necessary to which the network equipment connected to each 4th network equipment is analyzed and counted in step 4072.Show
Example, for the 4th network equipment SW43, being set up with the control device for being obtained in advance according to control device connects
The topology information of each network equipment connect is understood, in the network equipment being connected with the 4th network equipment SW43,
The number m=4 of 3rd network equipment, because m is more thanThen control device can perform step 4073;
For the 4th network equipment SW410, because the SW410 is only connected with SW46, i.e. the 4th network equipment
The number m=1 for the 3rd network equipment that SW410 is connected, is less thanNow, control device can be true
The fixed recognition result to the 4th network equipment SW410 level type is correct, and terminates identification corrigendum
Process.
Step 4073, the level type of the 4th network equipment is corrected as and second network equipment identical
Level type.
When the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected is more than or waits
InWhen, control device can determine that the recognition result of the level type to the 4th network equipment is wrong,
And be corrected as the level type of the 4th network equipment and second network equipment identical level type.Show
Example, control device can be by the 4th network equipment:SW43 to SW45 level type be corrected as with this
Two network equipment SW42 identical types, i.e., by the 4th network equipment SW43 to SW45 level type
It is corrected as frame topcross.
It should be noted that in data center network provided in an embodiment of the present invention the network equipment recognition methods
The step of sequencing can suitably be adjusted, step according to circumstances can also accordingly be increased and decreased, appoint
What those familiar with the art the invention discloses technical scope in, change can be readily occurred in
Method, should all be included within the scope of the present invention, therefore repeat no more.
In summary, the embodiment of the present invention provides a kind of recognition methods of the network equipment in data center network,
The hierarchical identification that the connection message that control device can be sent according to the first network equipment received includes,
The level type of the first network equipment is quickly recognized, and then further according to the topology information of each network equipment,
And the level type of the first network equipment, recognize and set up each network equipment being connected with the control device
Level type, this method recognize first network equipment level type when, without being set to the first network
Standby connection state is analyzed, therefore is reduced to when the network equipment is identified in data center network
Computation complexity, the identification flexibility of the network equipment is higher.
In embodiments of the present invention, when the level type of first network equipment is virtual switch, core layer friendship
Change planes or during SoftSwitch, then illustrate that the topological structure of the data center network potentially includes four etale topologies,
Assuming that the level type of first network equipment is SoftSwitch, and now, control device identification data central site network
In the process of level type of each network equipment can be with as shown in figure 5, this method includes:
Step 501, the connection message for receiving first network equipment transmission in the data center network, the connection report
Text includes the hierarchical identification of the first network equipment.
Step 502, according to the hierarchical identification, recognize the level type of the first network equipment;
Step 503, the topology letter according to each network equipment being connected with control device foundation obtained in advance
Breath, and the first network equipment level type, recognize the second network for being connected with the first network equipment
The level type of equipment.
Step 504, the topology letter according to each network equipment being connected with control device foundation obtained in advance
Breath, and second network equipment level type, identification be connected and unrecognized with second network equipment
The 3rd network equipment level type.
The process that implements of above-mentioned steps 501 to step 504 may be referred to step 401 to step 404, sheet
Inventive embodiments are repeated no more.
Step 505, the number n for determining the network equipment of identified the 3rd.
Control device is recognized after the level type of the 3rd network equipment, can first determine the network of identified the 3rd
The number n of equipment, wherein, the number n of the network equipment of identified the 3rd refers to be connected to same second
The number of 3rd network equipment of the network equipment..Example, it is assumed that in the topological structure shown in Fig. 4-2,
The network equipment of control device identified the 3rd is SW46 to SW49, then control device can determine the 3rd net
The number n=4 of network equipment.
Step 506, the topology letter according to each network equipment being connected with control device foundation obtained in advance
Breath, judges whether the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected is more than
Or be equal to
Wherein, the 4th network equipment is to set up to be connected and the unrecognized network equipment with the 3rd network,
If the number of the 4th network equipment is more than 1, control device needs to judge each 4th network equipment institute respectively
Whether the number m of the 3rd network equipment is more than or equal in the network equipment of connectionSet when the 4th
The number m of the 3rd network equipment is more than or equal in the standby network equipment connectedWhen, perform step
507;When the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected is less thanWhen, perform step 508.
Example, as shown in the Fig. 4-2, set up and be connected and unrecognized with the 3rd network SW46 to SW49
The network equipment includes network equipment SW43 to SW45 and SW410, then control device can determine the 4th net
Network equipment is SW43 to SW45 and SW410.For the 4th network equipment SW43 to SW45, due to
The SW43 to SW45 sets up with m=4 the 3rd network equipments be connected respectively, therefore control device can be with
Perform step 507;For the 4th network equipment SW410, in the network equipment connected by the SW410
Only include m=1 the 3rd network equipment SW46, then control device can perform step 508.
Step 507, by the level type identification of the 4th network equipment it is and second network equipment identical layer
Level type.
Example, control device can be by the 4th network equipment:SW43 to SW45 level type identification is
With second network equipment:SW42 identical types, i.e., by the 4th network equipment SW43 to SW45 level
Type identification is frame topcross.
Step 508, the topology letter according to each network equipment being connected with control device foundation obtained in advance
Breath, and the 3rd network equipment level type, recognize the level type of the 4th network equipment.
When the number m of the 3rd network equipment in the network equipment that the 4th equipment is connected is more than or equal toWhen, control device can set up each network equipment being connected according to what is obtained in advance with the control device
Topology information, and the 3rd network equipment level type, recognize the level class of the 4th network equipment
Type.Example, for SW410, control device can be according to topological structure as shown in the Fig. 4-2 and
Three network equipment SW46 level type:Layer switch is converged, recognizes the 4th network equipment SW410's
Level type is core layer switch.
It should be noted that because Fat-tree structures can include multiple Pod, each Pod includes necessarily
Second network equipment and the 3rd network equipment of quantity, wherein, each 3rd network equipment connected second
The network equipment is second network equipment being located at the 3rd network equipment in same Pod.If each Pod
The quantity of the 3rd network equipment included is unequal, then in above-mentioned steps 505, control device is determined
The number n of the network equipment of identified the 3rd is also differed, i.e., each Pod can correspond to one and recognize
The 3rd network equipment number n, therefore recognize the 4th network equipment level type when, it is necessary to according to every
The Pod that the 3rd network equipment that individual 4th network equipment is connected is located at, determines the knowledge corresponding to the Pod
The number n of other 3rd network equipment.
It should also be noted that, in data center network provided in an embodiment of the present invention the network equipment identification side
The sequencing of the step of method can be adjusted suitably, and step according to circumstances can also accordingly be increased and decreased,
Any one skilled in the art the invention discloses technical scope in, change can be readily occurred in
Method, should all be included within the scope of the present invention, therefore repeat no more.
In summary, the embodiment of the present invention provides a kind of recognition methods of the network equipment in data center network,
The hierarchical identification that the connection message that control device can be sent according to the first network equipment received includes,
The level type of the first network equipment is quickly recognized, and then further according to the topology information of each network equipment,
And the level type of the first network equipment, recognize and set up each network equipment being connected with the control device
Level type, this method recognize first network equipment level type when, without being set to the first network
Standby connection state is analyzed, therefore is reduced to when the network equipment is identified in data center network
Computation complexity, the identification flexibility of the network equipment is higher.
It should be noted that in actual applications, operating personnel can take according to each in data center network
The configuring condition of business device, configures corresponding network equipment recognizer in control device.Example, work as number
During according to being provided with virtual switch or SoftSwitch in each server in central site network, control device can
To be set using the recognition methods based on the network equipment shown in Fig. 4-1 to each network in data center network
Standby level type is identified;Virtual switch is provided with when only having in data center network in part server
When machine or SoftSwitch, control device can use the recognition methods logarithm based on the network equipment shown in Fig. 5
It is identified according to the level type of each network equipment in central site network.
It should also be noted that, in each embodiment that the present invention is provided, the level class of the first network equipment
When type is virtual switch or SoftSwitch, the level type of second network equipment can be frame topcross,
The level type of 3rd network equipment can be convergence-level interchanger, the level type of the 4th network equipment
It can be core layer interchanger;When the level type of the first network equipment is core layer switch, this
The level type of two network equipments can be convergence-level interchanger, and the level type of the 3rd network equipment can be with
For frame topcross, the level type of the 4th network equipment can be virtual switch or SoftSwitch.
It should also be noted that, in each embodiment that the present invention is provided, the first network equipment is set to control
The connection message that preparation is sent can include handshake information, the heart that the first network equipment is sent to the control device
Message or attribute reporting message are jumped, wherein, the handshake information can be the hello based on OpenFlow agreements
Message, attribute reporting message can be for Response Property request message (such as, feature_request or class
Like message) property response message (such as, feature_reply or similar message), the attribute reporting message
Can also be other message similar to the property response type of message, the embodiment of the present invention is not limited this;
In addition, in each embodiment that the present invention is provided, the level type of first network equipment.
Fig. 6-1 is the identifying device of the network equipment in a kind of data center network provided in an embodiment of the present invention
Structural representation, the device is located in the control device in data center network, as in Figure 6-1, the device
Including:
Receiving unit 601, for receiving the connection message that first network equipment is sent in the data center network,
The connection message includes the hierarchical identification of the first network equipment.
First recognition unit 602, for according to the hierarchical identification, recognizing the level type of the first network equipment.
Second recognition unit 603, for setting up each network being connected with the control device according to what is obtained in advance
The topology information of equipment, and the first network equipment level type, identification with the control device set up connect
The level type of each network equipment connect.
In summary, the embodiment of the present invention provides a kind of identifying device of the network equipment in data center network,
The device is located in the control device in data center network, and control device can be according to the first net received
The hierarchical identification that the connection message that network equipment is sent includes, quickly recognizes the level class of the first network equipment
Type, and then further according to the topology information of each network equipment, and the first network equipment level type,
The level type that each network equipment being connected is set up with the control device is recognized, this method is recognizing the first net
During the level type of network equipment, analyzed without the connection state to the first network equipment, therefore reduction
The computation complexity when network equipment in data center network is identified, the identification of the network equipment is flexible
Property is higher.
Fig. 6-2 is the identifying device of the network equipment in another data center network provided in an embodiment of the present invention
Structural representation, the device be located at data center network in control device in, as in fig. 6-2, the dress
Put including:
Receiving unit 601, for receiving the connection message that first network equipment is sent in the data center network,
The connection message includes the hierarchical identification of the first network equipment.
First recognition unit 602, for according to the hierarchical identification, recognizing the level type of the first network equipment.
Second recognition unit 603, for setting up each network being connected with the control device according to what is obtained in advance
The topology information of equipment, and the first network equipment level type, identification with the control device set up connect
The level type of each network equipment connect.
Acquiring unit 604, for when being connected in the presence of the newly-increased network equipment and the control device foundation, obtaining
The topology information of the newly-increased network equipment.
3rd recognition unit 605, for the topology information according to the newly-increased network equipment and the control device
Set up the topology information of each network equipment of connection and set up each network being connected with the control device and set
Standby level type, recognizes the level type of the newly-increased network equipment.
Updating block 606, for the topology information according to the newly-increased network equipment, updates and the control device
Set up the topology information of each network equipment of connection.
4th recognition unit 607, for after the level type according to the newly-increased network equipment and the renewal with
The control device sets up the topology information of each network equipment of connection, re-recognizes each network equipment
Level type.
Optionally, second recognition unit 603, is additionally operable to:
The network equipment that level type is determined is divided into and has recognized the network equipment, this determines level type
The network equipment include the first network equipment;
Judge to set up to whether there is in each network equipment being connected with the control device to have recognized that network is set with this
Standby connection and the unrecognized network equipment to be identified;
When being set up with the control device in each network equipment being connected in the presence of the network equipment to be identified, root
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and this has been known
The level type of the other network equipment, recognizes the level type of the network equipment to be identified;
Repeat the above steps, be not present and this until being set up with the control device in each network equipment being connected
Network equipment connection and the unrecognized network equipment to be identified are recognized.
Optionally, when the first network equipment level type for virtual switch, core layer switch or
During SoftSwitch, as shown in Fig. 6-3, second recognition unit 603, including:
First identification module 6031, for setting up each net being connected with the control device according to what is obtained in advance
The topology information of network equipment, and the first network equipment level type, identification with the first network equipment
The level type of second network equipment of connection.
Second identification module 6032, for setting up each net being connected with the control device according to what is obtained in advance
The topology information of network equipment, and second network equipment level type, identification with second network equipment
Connection and the level type of the 3rd unrecognized network equipment.
3rd identification module 6033, for setting up each net being connected with the control device according to what is obtained in advance
The topology information of network equipment, and the 3rd network equipment level type, identification with the 3rd network equipment
Connection and the level type of the 4th unrecognized network equipment.
Optionally, as shown in Fig. 6-3, second recognition unit can also include:
First judge module 6034, for judging to set up in each network equipment being connected not with the control device
The number of the identified network equipment whether be more than the first predetermined threshold value, and the 4th network equipment number
Whether the second predetermined threshold value is more than.
Module 6035 is corrected, for not known when this is set up in each network equipment being connected with the control device
The number of other network equipment is pre- more than second more than the first predetermined threshold value, or the number of the 4th network equipment
If during threshold value, performing identification corrigendum process, identification corrigendum process includes:
Determine the number n of the network equipment of identified the 3rd;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, judge
Whether the number m of the 3rd network equipment is more than or equal in the network equipment that 4th network equipment is connected
When the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected is more than or waits
InWhen, the level type of the 4th network equipment is corrected as and second network equipment identical level
Type.
Optionally, when the first network equipment level type for virtual switch, core layer switch or
During SoftSwitch, Fig. 6-4 is the structural representation of another second recognition unit 603 provided in an embodiment of the present invention
Figure, as shown in Fig. 6-4, second recognition unit 603 includes:
4th identification module 6036, for setting up each net being connected with the control device according to what is obtained in advance
The topology information of network equipment, and the first network equipment level type, identification with the first network equipment
The level type of second network equipment of connection.
5th identification module 6037, for setting up each net being connected with the control device according to what is obtained in advance
The topology information of network equipment, and second network equipment level type, identification with second network equipment
Connection and the level type of the 3rd unrecognized network equipment;
Determining module 6038, the number n for determining the network equipment of identified the 3rd.
Second judge module 6039, for setting up each net being connected with the control device according to what is obtained in advance
The topology information of network equipment, judges the 3rd network equipment in the network equipment that the 4th network equipment is connected
Whether number m is more than or equal to4th network equipment be with the 3rd network set up be connected and not by
The network equipment of identification.
6th identification module 6040, for when the 3rd net in the network equipment that the 4th network equipment is connected
The number m of network equipment is more than or equal toWhen, it is and this by the level type identification of the 4th network equipment
Second network equipment identical level type.
7th identification module 6041, for when the 3rd net in the network equipment that the 4th network equipment is connected
The number m of network equipment is less thanWhen, set up each net being connected with the control device according to what is obtained in advance
The topology information of network equipment, and the 3rd network equipment level type, recognize the 4th network equipment
Level type.
Optionally, the level type of the first network equipment is virtual switch or SoftSwitch, second net
The level type of network equipment is frame topcross, and the level type of the 3rd network equipment is convergence layer switch,
The level type of 4th network equipment is core layer switch.
Optionally, the connection message include the first network equipment sent to the control device handshake information,
Heartbeat message or attribute reporting message.
In summary, the embodiment of the present invention provides a kind of identifying device of the network equipment in data center network,
The device is located in the control device in data center network, and control device can be according to the first net received
The hierarchical identification that the connection message that network equipment is sent includes, quickly recognizes the level class of the first network equipment
Type, and then further according to the topology information of each network equipment, and the first network equipment level type,
The level type that each network equipment being connected is set up with the control device is recognized, this method is recognizing the first net
During the level type of network equipment, analyzed without the connection state to the first network equipment, therefore reduction
The computation complexity when network equipment in data center network is identified, the identification of the network equipment is flexible
Property is higher.
Fig. 7 is the identifying device of the network equipment in another data center network provided in an embodiment of the present invention
Structural representation, the device is located in the first network equipment in data center network, as shown in fig. 7, should
Device includes:
Transmitting element 701, connection message, the connection are sent for the control device into the data center network
Message includes the hierarchical identification of the first network equipment, in order to which the control device is according to the hierarchical identification, knows
The not other level type of the first network equipment.
Fig. 8 is the identifying device of the network equipment in another data center network provided in an embodiment of the present invention
Structural representation, the device is located in the control device in data center network, as shown in figure 8, the device
Including:Including at least one processor 801 (such as CPU), at least one network interface 802 or its
His communication interface, memory 803, and at least one communication bus 804, for realizing between these devices
Connection communication.Processor 801 is used to perform the executable module stored in memory 803, such as computer
Program.Memory 803 may include high-speed random access memory (RAM:Random Access Memory),
Non-labile memory (non-volatile memory) may also also be included, for example, at least one disk is deposited
Reservoir.The data center network is realized by least one network interface 802 (can be wired or wireless)
Communication connection between the identifying device of the middle network equipment and at least one other network element, can use internet,
Wide area network, LAN, Metropolitan Area Network (MAN) etc..
In some embodiments, memory 803 stores program 8031, and program 8031 can be by processor
801 perform, and this program 8031 includes:
The connection message that first network equipment is sent in the data center network is received, the connection message includes should
The hierarchical identification of first network equipment;
According to the hierarchical identification, the level type of the first network equipment is recognized;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of the first network equipment, recognizes the layer that each network equipment being connected is set up with the control device
Level type.
Optionally, the topology that each network equipment being connected is set up with the control device that the basis is obtained in advance
Information, and the first network equipment level type, identification and each net for being connected of control device foundation
The level type of network equipment, including:
The network equipment that level type is determined is divided into and has recognized the network equipment, this determines level type
The network equipment include the first network equipment;
Judge to set up to whether there is in each network equipment being connected with the control device to have recognized that network is set with this
Standby connection and the unrecognized network equipment to be identified;
When being set up with the control device in each network equipment being connected in the presence of the network equipment to be identified, root
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and this has been known
The level type of the other network equipment, recognizes the level type of the network equipment to be identified;
Repeat the above steps, be not present and this until being set up with the control device in each network equipment being connected
Network equipment connection and the unrecognized network equipment to be identified are recognized.
Optionally, when the first network equipment level type for virtual switch, core layer switch or
During SoftSwitch, the topology that each network equipment being connected is set up with the control device that the basis is obtained in advance
Information, and the first network equipment level type, identification and each net for being connected of control device foundation
The level type of network equipment, including:
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of the first network equipment, recognizes the layer for second network equipment being connected with the first network equipment
Level type;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of second network equipment, identification is connected and the 3rd unrecognized net with second network equipment
The level type of network equipment;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of 3rd network equipment, identification is connected and the 4th unrecognized net with the 3rd network equipment
The level type of network equipment.
Optionally, opening up for each network equipment being connected is set up with the control device what the basis was obtained in advance
Flutter information, and the 3rd network equipment level type, identification be connected with the 3rd network equipment and not by
After the level type of 4th network equipment of identification, this method also includes:
The number of the network equipment unrecognized in each network equipment being connected is set up in judgement with the control device
Whether first predetermined threshold value is more than, and whether the number of the 4th network equipment is more than the second predetermined threshold value;
When this sets up the number of the network equipment unrecognized in each network equipment being connected with the control device
When number more than the first predetermined threshold value, or the 4th network equipment is more than the second predetermined threshold value, identification is performed
Corrigendum process, identification corrigendum process includes:
Determine the number n of the network equipment of identified the 3rd;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, judge
Whether the number m of the 3rd network equipment is more than or equal in the network equipment that 4th network equipment is connected
When the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected is more than or waits
InWhen, the level type of the 4th network equipment is corrected as and second network equipment identical level
Type.
Optionally, when the first network equipment level type for virtual switch, core layer switch or
During SoftSwitch, the topology that each network equipment being connected is set up with the control device that the basis is obtained in advance
Information, and the first network equipment level type, identification and each net for being connected of control device foundation
The level type of network equipment, including:
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of the first network equipment, recognizes the layer for second network equipment being connected with the first network equipment
Level type;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, and
The level type of second network equipment, identification is connected and the 3rd unrecognized net with second network equipment
The level type of network equipment;
Determine the number n of the network equipment of identified the 3rd;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, judge
Whether the number m of the 3rd network equipment is more than or equal in the network equipment that 4th network equipment is connected4th network equipment is to set up to be connected and the unrecognized network equipment with the 3rd network;
When the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected is more than or waits
InWhen, it is and second network equipment identical level by the level type identification of the 4th network equipment
Type;
When the number m of the 3rd network equipment in the network equipment that the 4th network equipment is connected is less thanWhen, according to the topology information that each network equipment being connected is set up with the control device obtained in advance,
And the 3rd the network equipment level type, recognize the level type of the 4th network equipment.
Optionally, each network equipment being connected is set up with the control device what the basis was obtained in advance
Topology information, and the first network equipment level type, identification with the control device foundation be connected it is each
After the level type of the individual network equipment, this method also includes:
When being connected in the presence of the newly-increased network equipment and the control device foundation, the newly-increased network equipment is obtained
Topology information;
Each network being connected is set up according to the topology information of the newly-increased network equipment, with the control device to set
Standby topology information and the level type for each network equipment being connected with control device foundation, identification should
The level type of the newly-increased network equipment;
According to the topology information of the newly-increased network equipment, update and set up each net being connected with the control device
The topology information of network equipment;
Set up what is be connected with the control device according to after the level type of the newly-increased network equipment and the renewal
The topology information of each network equipment, re-recognizes the level type of each network equipment.
Optionally, the level type of the first network equipment is virtual switch or SoftSwitch, second net
The level type of network equipment is frame topcross, and the level type of the 3rd network equipment is convergence layer switch,
The level type of 4th network equipment is core layer switch.
Optionally, the connection message include the first network equipment sent to the control device handshake information,
Heartbeat message or attribute reporting message.
In summary, the embodiment of the present invention provides a kind of identifying device of the network equipment in data center network,
The hierarchical identification that the connection message that control device can be sent according to the first network equipment received includes,
The level type of the first network equipment is quickly recognized, and then further according to the topology information of each network equipment,
And the level type of the first network equipment, recognize and set up each network equipment being connected with the control device
Level type, this method recognize first network equipment level type when, without being set to the first network
Standby connection state is analyzed, therefore is reduced to when the network equipment is identified in data center network
Computation complexity, the identification flexibility of the network equipment is higher.
Fig. 9 is the identifying device of the network equipment in another data center network provided in an embodiment of the present invention
Structural representation, the device is located in the control device in data center network, as shown in figure 9, the device
Including:The device includes:Including at least one processor 901 (such as CPU), at least one network connects
Mouth 902 or other communication interfaces, memory 903, and at least one communication bus 904, for realizing this
Connection communication between a little devices.Processor 901 is used to perform the executable module stored in memory 903,
Such as computer program.Memory 903 may include high-speed random access memory (RAM:Random
Access Memory), it is also possible to also including non-labile memory (non-volatile memory),
For example, at least one magnetic disk storage.Pass through at least one network interface 902 (can be wired or wireless)
Realize the communication link between the identifying device of the network equipment and at least one other network element in the data center network
Connect, internet, wide area network, LAN, Metropolitan Area Network (MAN) etc. can be used.
In some embodiments, memory 903 stores program 9031, and program 9031 can be by processor
901 perform, and this program 9031 includes:
Control device into the data center network sends connection message, and the connection message includes first net
The hierarchical identification of network equipment, in order to which the control device is according to the hierarchical identification, recognizes the first network equipment
Level type.
The embodiment of the present invention provides a kind of identifying system of the network equipment in data center network, and the system includes
Control device and first network equipment;
The control device includes that network in the data center network as shown in Fig. 6-1 to Fig. 6-4 is any can be included
The identifying device of equipment;
The first network equipment can include the identification dress of the network equipment in data center network as shown in Figure 7
Put.
The embodiment of the present invention provides the identifying system of the network equipment in another data center network, the system bag
Include control device and first network equipment;
The control device can include the identifying device of the network equipment in the data center network shown in Fig. 8;Should
First network equipment can include the identifying device of the network equipment in the data center network shown in Fig. 9.
It is apparent to those skilled in the art that, for convenience and simplicity of description, foregoing description
Device and unit specific work process, may be referred to the corresponding process in preceding method embodiment, herein
Repeat no more.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all the present invention's
Within spirit and principle, any modification, equivalent substitution and improvements made etc. should be included in the present invention's
Within protection domain.
Claims (19)
1. the recognition methods of the network equipment in a kind of data center network, it is characterised in that for data center
Control device in network, methods described includes:
Receive the connection message that first network equipment is sent in the data center network, the connection message bag
Include the hierarchical identification of the first network equipment;
According to the hierarchical identification, the level type of the first network equipment is recognized;
The topology information that each network equipment being connected is set up with the control device according to obtaining in advance, with
And the level type of the first network equipment, recognize that setting up each network being connected with the control device sets
Standby level type.
2. according to the method described in claim 1, it is characterised in that the basis obtain in advance with it is described
Control device set up connection each network equipment topology information, and the first network equipment level
Type, recognizes the level type that each network equipment being connected is set up with the control device, including:
The network equipment that level type is determined is divided into and has recognized the network equipment, it is described that level class is determined
The network equipment of type includes the first network equipment;
Judge to set up to whether there is in each network equipment being connected with the control device to have recognized net with described
Network equipment is connected and the unrecognized network equipment to be identified;
When there is the network equipment to be identified in each network equipment being connected with control device foundation,
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, Yi Jisuo
The level type for having recognized the network equipment is stated, the level type of the network equipment to be identified is recognized;
Repeat the above steps, until with the control device set up in each network equipment for be connected in the absence of with
It is described to have recognized network equipment connection and the unrecognized network equipment to be identified.
3. according to the method described in claim 1, it is characterised in that when the level of the first network equipment
Type is virtual switch, core layer switch or during SoftSwitch, the basis obtain in advance with institute
State control device set up connection each network equipment topology information, and the first network equipment layer
Level type, recognizes the level type that each network equipment being connected is set up with the control device, including:
The topology information that each network equipment being connected is set up with the control device according to obtaining in advance, with
And the level type of the first network equipment, recognize that the second network being connected with the first network equipment is set
Standby level type;
The topology information that each network equipment being connected is set up with the control device according to obtaining in advance, with
And the level type of second network equipment, recognize and be connected and unrecognized with second network equipment
The level type of 3rd network equipment;
The topology information that each network equipment being connected is set up with the control device according to obtaining in advance, with
And the level type of the 3rd network equipment, recognize and be connected and unrecognized with the 3rd network equipment
The level type of 4th network equipment.
4. method according to claim 3, it is characterised in that the basis obtain in advance with institute
State control device set up connection each network equipment topology information, and the 3rd network equipment layer
Level type, identification be connected with the 3rd network equipment and the 4th unrecognized network equipment level type
Afterwards, methods described also includes:
Judge to set up the individual of the network equipment unrecognized in each network equipment being connected with the control device
Whether number is more than the first predetermined threshold value, and whether the number of the 4th network equipment is more than the second default threshold
Value;
When the network equipment unrecognized in described each network equipment being connected with control device foundation
Number be more than the first predetermined threshold value, or the 4th network equipment number be more than the second predetermined threshold value when, hold
Row identification corrigendum process, the identification corrigendum process includes:
Determine the number n of the 3rd network equipment described in identified;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, sentence
Whether the number m of the 3rd network equipment is more than described in the network equipment that the 4th network equipment that breaks is connected
Or be equal toWherein,Expression rounds up;
The number m of the 3rd network equipment described in the network equipment that the 4th network equipment is connected is more than
Or be equal toWhen, the level type of the 4th network equipment is corrected as and second network equipment phase
Same level type.
5. according to the method described in claim 1, it is characterised in that when the level of the first network equipment
Type is virtual switch, core layer switch or during SoftSwitch, the basis obtain in advance with institute
State control device set up connection each network equipment topology information, and the first network equipment layer
Level type, recognizes the level type that each network equipment being connected is set up with the control device, including:
The topology information that each network equipment being connected is set up with the control device according to obtaining in advance, with
And the level type of the first network equipment, recognize that the second network being connected with the first network equipment is set
Standby level type;
The topology information that each network equipment being connected is set up with the control device according to obtaining in advance, with
And the level type of second network equipment, recognize and be connected and unrecognized with second network equipment
The level type of 3rd network equipment;
Determine the number n of the 3rd network equipment described in identified;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, sentence
Whether the number m of the 3rd network equipment is more than or waits described in the network equipment that disconnected 4th network equipment is connected
In4th network equipment is to set up to be connected and the unrecognized network equipment with the 3rd network;
The number m of the 3rd network equipment described in the network equipment that the 4th network equipment is connected is more than
Or be equal toWhen, it is and second network equipment phase by the level type identification of the 4th network equipment
Same level type;
The number m of the 3rd network equipment described in the network equipment that the 4th network equipment is connected is less thanWhen, according to the topology information that each network equipment being connected is set up with the control device obtained in advance,
And the level type of the 3rd network equipment, recognize the level type of the 4th network equipment.
6. according to any described method of claim 1 to 5, it is characterised in that pre- in the basis
What is first obtained sets up the topology information for each network equipment being connected, and described first with the control device
The level type of the network equipment, recognizes the level class that each network equipment being connected is set up with the control device
After type, methods described also includes:
When being connected in the presence of the newly-increased network equipment and the control device foundation, the newly-increased network is obtained
The topology information of equipment;
Each net being connected is set up according to the topology information of the newly-increased network equipment, with the control device
The topology information of network equipment and the level type that each network equipment being connected is set up with the control device,
Recognize the level type of the newly-increased network equipment;
According to the topology information of the newly-increased network equipment, it is each that renewal is connected with control device foundation
The topology information of the individual network equipment;
According to after the level type of the newly-increased network equipment and the renewal with the control device set up
The topology information of each network equipment of connection, re-recognizes the level type of each network equipment.
7. the method according to claim 3 or 5, it is characterised in that the layer of the first network equipment
Level type is virtual switch or SoftSwitch, and the level type of second network equipment is frame topcross,
The level type of 3rd network equipment is convergence layer switch, the level type of the 4th network equipment
For core layer switch.
8. according to any described method of claim 1 to 7, it is characterised in that
The connection message includes handshake information, the heart that the first network equipment is sent to the control device
Jump message or attribute reporting message.
9. the recognition methods of the network equipment in a kind of data center network, it is characterised in that for data center
First network equipment in network, methods described includes:
Control device into the data center network sends connection message, and the connection message includes described
The hierarchical identification of first network equipment, in order to which the control device is according to the hierarchical identification, identification is described
The level type of first network equipment.
10. a kind of identifying device of the network equipment in data center network, it is characterised in that described device position
In control device in data center network, described device includes:
Receiving unit, for receiving the connection message that first network equipment is sent in the data center network,
The connection message includes the hierarchical identification of the first network equipment;
First recognition unit, for according to the hierarchical identification, recognizing the level class of the first network equipment
Type;
Second recognition unit, for setting up each network being connected with the control device according to what is obtained in advance
The topology information of equipment, and the first network equipment level type, identification built with the control device
The level type of each network equipment of vertical connection.
11. device according to claim 10, it is characterised in that second recognition unit, is also used
In:
The network equipment that level type is determined is divided into and has recognized the network equipment, it is described that level class is determined
The network equipment of type includes the first network equipment;
Judge to set up to whether there is in each network equipment being connected with the control device to have recognized net with described
Network equipment is connected and the unrecognized network equipment to be identified;
When there is the network equipment to be identified in each network equipment being connected with control device foundation,
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, Yi Jisuo
The level type for having recognized the network equipment is stated, the level type of the network equipment to be identified is recognized;
Repeat the above steps, until with the control device set up in each network equipment for be connected in the absence of with
It is described to have recognized network equipment connection and the unrecognized network equipment to be identified.
12. device according to claim 10, it is characterised in that when the layer of the first network equipment
When level type is virtual switch, core layer switch or SoftSwitch, second recognition unit, bag
Include:
First identification module, for setting up each network being connected with the control device according to what is obtained in advance
The topology information of equipment, and the first network equipment level type, identification set with the first network
The level type of second network equipment of standby connection;
Second identification module, for setting up each network being connected with the control device according to what is obtained in advance
The topology information of equipment, and second network equipment level type, identification set with second network
Standby connection and the level type of the 3rd unrecognized network equipment;
3rd identification module, for setting up each network being connected with the control device according to what is obtained in advance
The topology information of equipment, and the 3rd network equipment level type, identification set with the 3rd network
Standby connection and the level type of the 4th unrecognized network equipment.
13. device according to claim 12, it is characterised in that second recognition unit, is also wrapped
Include:
First judge module, for judge with each network equipment for being connected of control device foundation not by
The number of the network equipment of identification whether be more than the first predetermined threshold value, and the 4th network equipment number
Whether the second predetermined threshold value is more than;
Module is corrected, for not known when described set up with the control device in each network equipment being connected
The number of other network equipment is more than the first predetermined threshold value, or the number of the 4th network equipment is more than second
During predetermined threshold value, identification corrigendum process is performed, the identification corrigendum process includes:
Determine the number n of the 3rd network equipment described in identified;
According to the topology information that each network equipment being connected is set up with the control device obtained in advance, sentence
Whether the number m of the 3rd network equipment is more than described in the network equipment that the 4th network equipment that breaks is connected
Or be equal toWherein,Expression rounds up;
The number m of the 3rd network equipment described in the network equipment that the 4th network equipment is connected is more than
Or be equal toWhen, the level type of the 4th network equipment is corrected as and second network equipment phase
Same level type.
14. device according to claim 10, it is characterised in that when the layer of the first network equipment
When level type is virtual switch, core layer switch or SoftSwitch, second recognition unit, also
Including:
4th identification module, for setting up each network being connected with the control device according to what is obtained in advance
The topology information of equipment, and the first network equipment level type, identification set with the first network
The level type of second network equipment of standby connection;
5th identification module, for setting up each network being connected with the control device according to what is obtained in advance
The topology information of equipment, and second network equipment level type, identification set with second network
Standby connection and the level type of the 3rd unrecognized network equipment;
Determining module, the number n for determining the 3rd network equipment described in identified;
Second judge module, for setting up each network being connected with the control device according to what is obtained in advance
The topology information of equipment, judges the 3rd network equipment described in the network equipment that the 4th network equipment is connected
Whether number m is more than or equal to4th network equipment be with the 3rd network set up be connected and
The unrecognized network equipment;
6th identification module, for the 3rd net described in the network equipment that is connected when the 4th network equipment
The number m of network equipment is more than or equal toWhen, by the level type identification of the 4th network equipment be with
Second network equipment identical level type;
7th identification module, for the 3rd net described in the network equipment that is connected when the 4th network equipment
The number m of network equipment is less thanWhen, according to obtaining each that set up and be connected with the control device in advance
The topology information of the network equipment, and the 3rd network equipment level type, recognize the 4th network
The level type of equipment.
15. according to any described device of claim 10 to 14, it is characterised in that described device is also wrapped
Include:
Acquiring unit, for when being connected in the presence of the newly-increased network equipment and the control device foundation, obtaining
The topology information of the newly-increased network equipment;
3rd recognition unit, sets for the topology information according to the newly-increased network equipment, with the control
The topology information of standby each network equipment for setting up connection and each net being connected with control device foundation
The level type of network equipment, recognizes the level type of the newly-increased network equipment;
Updating block, for the topology information according to the newly-increased network equipment, updates and is set with the control
The topology information of standby each network equipment for setting up connection;
4th recognition unit, after the level type according to the newly-increased network equipment and the renewal
The topology information for each network equipment being connected is set up with the control device, each described network is re-recognized
The level type of equipment.
16. the device according to claim 12 or 14, it is characterised in that the first network equipment
Level type be virtual switch or SoftSwitch, the level type of second network equipment is the friendship of frame top
Change planes, the level type of the 3rd network equipment is convergence layer switch, the layer of the 4th network equipment
Level type is core layer switch.
17. according to any described device of claim 10 to 16, it is characterised in that
The connection message includes handshake information, the heart that the first network equipment is sent to the control device
Jump message or attribute reporting message.
18. a kind of identifying device of the network equipment in data center network, it is characterised in that described device position
In first network equipment in data center network, described device includes:
Transmitting element, connection message, the company are sent for the control device into the data center network
Text of being informed of a case includes the hierarchical identification of the first network equipment, in order to which the control device is according to the level
Mark, recognizes the level type of the first network equipment.
19. a kind of identifying system of the network equipment in data center network, it is characterised in that the system bag
Include:Control device and first network equipment;
The control device includes the network equipment in any described data center network of claim 10 to 17
Identifying device;
The first network equipment includes the identification of the network equipment in the data center network described in claim 18
Device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610046155.8A CN106998299B (en) | 2016-01-22 | 2016-01-22 | The recognition methods of the network equipment, apparatus and system in data center network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610046155.8A CN106998299B (en) | 2016-01-22 | 2016-01-22 | The recognition methods of the network equipment, apparatus and system in data center network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106998299A true CN106998299A (en) | 2017-08-01 |
CN106998299B CN106998299B (en) | 2019-10-18 |
Family
ID=59428522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610046155.8A Active CN106998299B (en) | 2016-01-22 | 2016-01-22 | The recognition methods of the network equipment, apparatus and system in data center network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106998299B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108418727A (en) * | 2018-01-26 | 2018-08-17 | 中国科学院信息工程研究所 | A kind of method and system of detection network equipment |
CN108566296A (en) * | 2018-03-26 | 2018-09-21 | 新华三技术有限公司 | Network equipment layered approach, network management device and computer readable storage medium |
CN108880899A (en) * | 2018-06-30 | 2018-11-23 | 华为技术有限公司 | A kind of Generating Network Topology Map and server |
CN109150661A (en) * | 2018-08-30 | 2019-01-04 | 新华三技术有限公司 | A kind of method for discovering equipment and device |
CN113315655A (en) * | 2021-05-24 | 2021-08-27 | 恒隆通信技术有限公司 | Information configuration method of intelligent networking environment and intelligent networking system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143007A (en) * | 2011-05-03 | 2011-08-03 | 中国南方电网有限责任公司 | Distribution-based hierarchical network topology discovery method |
CN102420775A (en) * | 2012-01-10 | 2012-04-18 | 西安电子科技大学 | Routing method for module-expansion-based data center network topology system |
CN103269387A (en) * | 2013-05-21 | 2013-08-28 | 中国科学院计算技术研究所 | Automatic configuration method for data center network addresses |
CN103441935A (en) * | 2013-08-16 | 2013-12-11 | 北京星网锐捷网络技术有限公司 | Method and device capable of automatically recognizing adjacency relation between server and access switch |
CN104518927A (en) * | 2014-12-15 | 2015-04-15 | 清华大学 | Detecting method and device of error connection in data center network |
-
2016
- 2016-01-22 CN CN201610046155.8A patent/CN106998299B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143007A (en) * | 2011-05-03 | 2011-08-03 | 中国南方电网有限责任公司 | Distribution-based hierarchical network topology discovery method |
CN102420775A (en) * | 2012-01-10 | 2012-04-18 | 西安电子科技大学 | Routing method for module-expansion-based data center network topology system |
CN103269387A (en) * | 2013-05-21 | 2013-08-28 | 中国科学院计算技术研究所 | Automatic configuration method for data center network addresses |
CN103441935A (en) * | 2013-08-16 | 2013-12-11 | 北京星网锐捷网络技术有限公司 | Method and device capable of automatically recognizing adjacency relation between server and access switch |
CN104518927A (en) * | 2014-12-15 | 2015-04-15 | 清华大学 | Detecting method and device of error connection in data center network |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108418727A (en) * | 2018-01-26 | 2018-08-17 | 中国科学院信息工程研究所 | A kind of method and system of detection network equipment |
CN108566296A (en) * | 2018-03-26 | 2018-09-21 | 新华三技术有限公司 | Network equipment layered approach, network management device and computer readable storage medium |
CN108566296B (en) * | 2018-03-26 | 2021-07-06 | 新华三技术有限公司 | Network device layering method, network management device and computer readable storage medium |
CN108880899A (en) * | 2018-06-30 | 2018-11-23 | 华为技术有限公司 | A kind of Generating Network Topology Map and server |
CN108880899B (en) * | 2018-06-30 | 2021-10-15 | 华为技术有限公司 | Network topological graph generation method and server |
CN109150661A (en) * | 2018-08-30 | 2019-01-04 | 新华三技术有限公司 | A kind of method for discovering equipment and device |
CN113315655A (en) * | 2021-05-24 | 2021-08-27 | 恒隆通信技术有限公司 | Information configuration method of intelligent networking environment and intelligent networking system |
Also Published As
Publication number | Publication date |
---|---|
CN106998299B (en) | 2019-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106998299A (en) | The recognition methods of the network equipment, apparatus and system in data center network | |
EP3297231B1 (en) | Data transmission method, switch using same, and network control system | |
CN105809248B (en) | A kind of configuration and exchange method of the distribution artificial neural network on SDN | |
JP4008432B2 (en) | Apparatus and method for searching topology of network device | |
CN109644141A (en) | Method and system for visual network | |
CN106605392A (en) | Systems and methods for performing operations on networks using a controller | |
DE102013104304A1 (en) | Network system and routing method | |
CN109698788A (en) | Flow forwarding method and flow forwarding device | |
CN106464593A (en) | System and method for data flow optimization | |
US10411911B2 (en) | Network as service service cross-domain orchestration method, orchestration device, and control device | |
CN106471780B (en) | The method, system and logic of link-local are configured based on remote link partner | |
CN106470155A (en) | A kind of retransmission method of virtual-machine data, SDN controller and SDN system | |
CN106330697A (en) | Hybrid network spanning tree establishing method, backup method and control system thereof | |
CN106878194A (en) | A kind of message processing method and device | |
CN110298381A (en) | A kind of cloud security service functional tree Network Intrusion Detection System | |
CN107210927A (en) | Abnormality detection in protocol processes | |
CN109495383A (en) | A kind of data processing method, device, communication system and the network equipment | |
CN105187255B (en) | Failure analysis methods, fail analysis device and server | |
CN109672554A (en) | Determine failure root because method and device | |
CN108696370A (en) | A kind of server and business-binding reconciliation binding method, apparatus and system | |
CN108574594A (en) | A kind of method and system of network service transmission | |
CN107332793A (en) | A kind of message forwarding method, relevant device and system | |
CN104639557B (en) | A kind of method, system and equipment for establishing PCEP sessions | |
CN108494625A (en) | A kind of analysis system on network performance evaluation | |
CN106789407A (en) | A kind of method that cloud platform checks virtual machine connection status |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211222 Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province Patentee after: xFusion Digital Technologies Co., Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |