CN103412830A - Method, device and system for centralized management - Google Patents

Method, device and system for centralized management Download PDF

Info

Publication number
CN103412830A
CN103412830A CN2013103504922A CN201310350492A CN103412830A CN 103412830 A CN103412830 A CN 103412830A CN 2013103504922 A CN2013103504922 A CN 2013103504922A CN 201310350492 A CN201310350492 A CN 201310350492A CN 103412830 A CN103412830 A CN 103412830A
Authority
CN
China
Prior art keywords
bus
information
bridge
equipment
gusset plate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103504922A
Other languages
Chinese (zh)
Other versions
CN103412830B (en
Inventor
李坚
杨荣玉
吴亚东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310350492.2A priority Critical patent/CN103412830B/en
Publication of CN103412830A publication Critical patent/CN103412830A/en
Application granted granted Critical
Publication of CN103412830B publication Critical patent/CN103412830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • General Factory Administration (AREA)
  • Small-Scale Networks (AREA)

Abstract

An embodiment of the invention provides a method, a device and a system for centralized management. The centralized management is performed on a node plate device through a main control plate device according to topological information read from the node plate device, different node plate device access can be adapted without upgrading of the main control plate device, a design concept of convenience and changeability of a cabinet server framework is satisfied, and compatibility and universality of the centralized management are also improved and enhanced. The method comprises that the main control plate device receives an activating signal sent by the node plate device after the node plate device is inserted into a slot managed by the main control plate device; the topological information stored in the node plate device is read; path information of each instrument device is obtained; topological positions of all instrument devices on the node plate device are obtained through the path information of all instrument devices on the node plate device, and management operation is performed on all instrument devices respectively through attribute information of all instrument devices on the node plate device.

Description

A kind of method, apparatus and system of centralized management
Technical field
The present invention relates to computer realm, relate in particular to a kind of method, apparatus and system of centralized management.
Background technology
Current centralized management more and more is applied in the rack server architecture, comprise the master control borad equipment be in charge of and the gusset plate equipment of responsible business processing, wherein, gusset plate equipment is also referred to as business board, gusset plate equipment and master control borad equipment are arranged in same rack or same machine frame, gusset plate equipment is communicated by letter by backboard with master control borad equipment, master control borad equipment manages gusset plate equipment, and the routing information of master control borad equipment by each device of gusset plate equipment manages the hardware unit on gusset plate equipment.
At present, the equal pre-save of the routing information of each device of gusset plate equipment is among master control borad equipment, so that when upgrading and changing gusset plate equipment, master control borad equipment can't Direct Recognition upgrade and change after gusset plate equipment, the routing information of each device of the gusset plate equipment in needs upgrading master control borad equipment just can be identified the gusset plate equipment of the access different with adaptation, do not meet rack server architecture convenience and variable design philosophy, caused the compatible low and poor shortcoming of versatility.
Summary of the invention
Embodiments of the invention provide a kind of method, apparatus and system of centralized management, not only meet rack server architecture convenience and variable design philosophy, and improve and strengthened compatibility and the versatility of centralized management.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provide a kind of method of centralized management, comprise,
Master control borad equipment receiving node board device sends after the slot that inserts described master control borad equipment control activation signal, described activation signal is for meaning that described gusset plate equipment is connected with described master control borad equipment;
The topology information of described master control borad equipment reading and saving in described gusset plate equipment, wherein, the identification information of the bridge-set that the identification information that described topology information comprises the bridge-set that the upper end of identification information, each the described bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between the described bus of adjacent two-stage, connect by bridge-set, and the attribute information of all described buses, bridge-set and device;
The identification information of the bridge-set that the identification information of the bridge-set that described master control borad equipment connects respectively according to the identification information of the every one-level bus in described topology information, the upper end of each described bus in every one-level and lower end are connected respectively and the identification information of device obtain the routing information of each described device, wherein, the routing information of described each device comprises by the rank of described bus tactic, and is in the identification information of all buses between described device and the described bus of the first order;
Described master control borad equipment obtains the topology location of each described device on described gusset plate equipment by the routing information of each device on described gusset plate equipment, and respectively each described device is managed to operation by the attribute information of each described device on described gusset plate equipment.
In the possible implementation of the first, in conjunction with first aspect, the attribute information of the bus in described topology information comprises the lable number of the bus unit on described gusset plate equipment, the traversal rule of described bus unit;
The attribute information of the bridge-set in described topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on described gusset plate equipment obtain;
The attribute information of the device in described topology information comprises number, model, the characteristic of the device on described gusset plate equipment, and the number of register and the characteristic of register in described device.
In the possible implementation of the second, in conjunction with the possible implementation of the first,
The identification information of the bridge-set that the identification information of the bridge-set that described master control borad equipment connects respectively according to the identification information of the every one-level bus in described topology information, the upper end of each described bus in every one-level and lower end are connected respectively and the identification information of device obtain the routing information of each described device, comprising:
Described master control borad equipment obtains the identification information of all buses of arranging according to the first order according to the identification information of every one-level bus, default traversal rule, wherein, described the first order means the order that all buses are arranged according to default traversal rule;
Described master control borad equipment travels through the identification information according to first all buses of sequentially arranging, and in the process of traversal, whether the bus lower end of searching current traversal in the identification information of the bridge-set that the lower end of each the described bus in every one-level is connected and the identification information of device the interface unit device;
If the bus lower end of described current traversal connects described device, the routing information of described device comprises the identification information of the bus of crossing from first bus to all traversals of the bus of current traversal that start to travel through;
If the bus lower end of described current traversal does not connect described device, what the bus lower end of described current traversal connected is bridge-set, the number of branches that described master control borad equipment obtains according to the bridge joint in the attribute information of the identification information of described bridge-set and described bridge-set obtains the bus number of branches of the bus next stage of current traversal, and travel through according to the identification information of the first order to the bus of next stage, whether the bus lower end of searching next stage the interface unit device, until that all buses all travel through is complete, obtain thus the routing information of each device.
In the third possible implementation, in conjunction with any one in the possible implementation of first aspect, the first and the second, described master control borad equipment reads the topology information of described gusset plate equipment, also comprise, described master control borad equipment carries out checking treatment to described topology information, so that described master control borad equipment reads the topology information after verification.
Second aspect, the embodiment of the present invention provide a kind of method of centralized management, comprise,
Gusset plate equipment obtains its topology information, wherein, the identification information of the bridge-set that the identification information that described topology information comprises the bridge-set that the upper end of identification information, each the described bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between the described bus of adjacent two-stage, connect by bridge-set, and the attribute information of all described buses, bridge-set and device;
Described gusset plate equipment sends activation signal to master control borad equipment, so that described master control borad equipment is after receiving described activation signal, described topology information is read, and then make described master control borad equipment by described topology information, obtain the routing information of each device on described gusset plate equipment, and by the routing information of each device on described gusset plate equipment, obtain the topology location of each device on described gusset plate equipment, thereby the device on described gusset plate equipment is managed to operation.
In the possible implementation of the first, in conjunction with second aspect, the attribute information of the bus of described topology information comprises the lable number of the bus unit on described gusset plate equipment, the traversal rule of described bus unit;
The attribute information of the bridge-set of described topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on described gusset plate equipment obtain;
The device attribute information of described topology information comprises number, model, the characteristic of the device on described gusset plate equipment, and the number of register and the characteristic of register in described device.
The third aspect, the embodiment of the present invention provide a kind of master control borad equipment, comprising:
Receiving element, for the receiving node board device sends after the slot that inserts described master control borad equipment control activation signal, described activation signal is for meaning that described gusset plate equipment is connected with described master control borad equipment;
Reading unit, for the topology information of reading and saving at described gusset plate equipment, wherein, the identification information of the bridge-set that the identification information that described topology information comprises the bridge-set that the upper end of identification information, each the described bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between the described bus of adjacent two-stage, connect by bridge-set, and the attribute information of all described buses, bridge-set and device;
Acquiring unit, the identification information of the bridge-set that the identification information of the bridge-set connected respectively for the identification information according to every one-level bus of described topology information, the upper end of each described bus in every one-level and lower end are connected respectively and the identification information of device obtain the routing information of each described device, wherein, the routing information of described each device comprises by the rank of described bus tactic, and is in the identification information of all buses between described device and the described bus of the first order;
Administrative unit, for by the routing information of each device on described gusset plate equipment, obtaining the topology location of each described device on described gusset plate equipment, and respectively each described device is managed to operation by the attribute information of each described device on described gusset plate equipment.
In the possible implementation of the first, in conjunction with the third aspect, the attribute information of the bus in described topology information comprises the lable number of the bus unit on described gusset plate equipment, the traversal rule of described bus unit;
The attribute information of the bridge-set in described topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on described gusset plate equipment obtain;
The attribute information of the device in described topology information comprises number, model, the characteristic of the device on described gusset plate equipment, and the number of register and the characteristic of register in described device.
In the possible implementation of the second, in conjunction with the possible implementation of the first,
Described acquiring unit is used for, according to the identification information of every one-level bus, default traversal rule, obtain the identification information of all buses of arranging according to the first order, wherein, described the first order means the order that all buses are arranged according to default traversal rule;
And the identification information according to first all buses of sequentially arranging is traveled through, and in the process of traversal, whether the bus lower end of searching current traversal in the identification information of the bridge-set that the lower end of each the described bus in every one-level is connected and the identification information of device the interface unit device;
If the bus lower end of described current traversal connects described device, the routing information of described device comprises the identification information of the bus of crossing from first bus to all traversals of the bus of current traversal that start to travel through;
If the bus lower end of described current traversal does not connect described device, what the bus lower end of described current traversal connected is bridge-set, the number of branches that described acquiring unit obtains according to the bridge joint in the attribute information of the identification information of described bridge-set and described bridge-set obtains the bus number of branches of the bus next stage of current traversal, and travel through according to the identification information of the first order to the bus of next stage, whether the bus lower end of searching next stage the interface unit device, until that all buses all travel through is complete, obtain thus the routing information of each device.
In the third possible implementation, in conjunction with any one in the possible implementation of the third aspect, the first and the second, also comprise verification unit, for described topology information is carried out to checking treatment, so that described master control borad equipment reads the topology information after verification.
Fourth aspect, the embodiment of the present invention provide a kind of gusset plate equipment, comprise,
Acquiring unit, for obtaining the topology information of described gusset plate equipment, wherein, the identification information of the bridge-set that the identification information that described topology information comprises the bridge-set that the upper end of identification information, each the described bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between the described bus of adjacent two-stage, connect by bridge-set, and the attribute information of all described buses, bridge-set and device;
Transmitting element, for sending activation signal to master control borad equipment, so that described master control borad equipment is after receiving described activation signal, described topology information is read, and then make described master control borad equipment by described topology information, obtain the routing information of each device on described gusset plate equipment, and by the routing information of each device on described gusset plate equipment, obtain the topology location of each device on described gusset plate equipment, thereby the device on described gusset plate equipment is managed to operation.
In the possible implementation of the first, in conjunction with fourth aspect, the attribute information of the bus of described topology information comprises the lable number of the bus unit on described gusset plate equipment, the traversal rule of described bus unit;
The attribute information of the bridge-set of described topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on described gusset plate equipment obtain;
The device attribute information of described topology information comprises number, model, the characteristic of the device on described gusset plate equipment, and the number of register and the characteristic of register in described device.
The 5th aspect, the embodiment of the present invention provide a kind of master control borad equipment, comprising:
Communication interface, for communicating with external unit;
Processor, for the activation signal sent after the slot that inserts described master control borad equipment control by described communication interface receiving node board device, described activation signal is for meaning that described gusset plate equipment is connected with described master control borad equipment;
And for the topology information of reading and saving at described gusset plate equipment, wherein, the identification information of the bridge-set that the identification information that described topology information comprises the bridge-set that the upper end of identification information, each the described bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between the described bus of adjacent two-stage, connect by bridge-set, and the attribute information of all described buses, bridge-set and device;
And the identification information of the identification information of the bridge-set that is connected respectively of the identification information of the bridge-set connected respectively for the identification information of the every one-level bus according to described topology information, the upper end of each described bus in every one-level and lower end and device obtains the routing information of each described device, wherein, the routing information of described each device comprises by the rank of described bus tactic, and is in the identification information of all buses between described device and the described bus of the first order;
And the topology location that obtains each described device on described gusset plate equipment by the routing information of each device on described gusset plate equipment, and respectively each described device is managed to operation by the attribute information of each described device on described gusset plate equipment;
Storer, be used to the routing information of each device of storing described gusset plate equipment.
In the possible implementation of the first, in conjunction with the 5th aspect, the attribute information of the bus in described topology information comprises the lable number of the bus unit on described gusset plate equipment, the traversal rule of described bus unit;
The attribute information of the bridge-set in described topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on described gusset plate equipment obtain;
The attribute information of the device in described topology information comprises number, model, the characteristic of the device on described gusset plate equipment, and the number of register and the characteristic of register in described device.
In the possible implementation of the second, in conjunction with the possible implementation of the first, described processor also for, according to the identification information of every one-level bus, default traversal rule, obtain the identification information of all buses of arranging according to the first order, wherein, described the first order means the order that all buses are arranged according to default traversal rule;
And the identification information according to first all buses of sequentially arranging is traveled through, and in the process of traversal, whether the bus lower end of searching current traversal in the identification information of the bridge-set that the lower end of each the described bus in every one-level is connected and the identification information of device the interface unit device;
If the bus lower end of described current traversal connects described device, the routing information of described device comprises the identification information of the bus of crossing from first bus to all traversals of the bus of current traversal that start to travel through;
If the bus lower end of described current traversal does not connect described device, what the bus lower end of described current traversal connected is bridge-set, the number of branches that described acquiring unit obtains according to the bridge joint in the attribute information of the identification information of described bridge-set and described bridge-set obtains the bus number of branches of the bus next stage of current traversal, and travel through according to the identification information of the first order to the bus of next stage, whether the bus lower end of searching next stage the interface unit device, until that all buses all travel through is complete, obtain thus the routing information of each device.
In the third possible implementation, in conjunction with any one in the possible implementation of the 5th aspect, the first and the second, described processor also for, described topology information is carried out to checking treatment, so that described master control borad equipment reads the topology information after verification.
The 6th aspect, the embodiment of the present invention provide a kind of gusset plate equipment, comprise,
Communication interface, for to communicating with external unit;
Processor, for obtaining the topology information of described gusset plate equipment, wherein, the identification information of the bridge-set that the identification information that described topology information comprises the bridge-set that the upper end of identification information, each the described bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between the described bus of adjacent two-stage, connect by bridge-set, and the attribute information of all described buses, bridge-set and device;
And send activation signal to master control borad equipment by described communication unit, so that described master control borad equipment is after receiving described activation signal, described topology information is read, and then make described master control borad equipment by described topology information, obtain the routing information of each device on described gusset plate equipment, and by the routing information of each device on described gusset plate equipment, obtain the topology location of each device on described gusset plate equipment, thereby the device on described gusset plate equipment is managed to operation;
Storer, be used to storing the topology information of described gusset plate equipment.
In the possible implementation of the first, in conjunction with the 6th aspect, the attribute information of the bus of described topology information comprises the lable number of the bus unit on described gusset plate equipment, the traversal rule of described bus unit;
The attribute information of the bridge-set of described topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on described gusset plate equipment obtain;
The device attribute information of described topology information comprises number, model, the characteristic of the device on described gusset plate equipment, and the number of register and the characteristic of register in described device.
The 7th aspect, the embodiment of the present invention provides a kind of system of centralized management, comprises as the third aspect and the described master control borad equipment of the 5th aspect any one, at least one is as fourth aspect and the described gusset plate equipment of the 6th aspect any one.
The present embodiment provides a kind of method, apparatus and system of centralized management, by master control borad equipment, according to the topology information read in gusset plate equipment, gusset plate equipment is carried out to centralized management, can adaptive different gusset plate equipment access without master control borad equipment being upgraded just, not only meet rack server architecture convenience and variable design philosophy, and improve and strengthened compatibility and the versatility of centralized management.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is rack server architecture schematic diagram;
The schematic diagram of the method for a kind of centralized management that Fig. 2 provides for the embodiment of the present invention;
The schematic diagram of the method for the another kind of centralized management that Fig. 3 provides for the embodiment of the present invention;
The schematic diagram of the specific embodiment of the method for a kind of centralized management that Fig. 4 provides for the embodiment of the present invention;
The hardware topology tree construction schematic diagram of a kind of gusset plate equipment that Fig. 5 provides for the embodiment of the present invention;
Fig. 6 is the description schematic diagram of gusset plate equipment topology information;
Fig. 7 A is the concrete description schematic diagram of gusset plate equipment topology information;
Fig. 7 B is the concrete device information schematic diagram of gusset plate equipment;
Fig. 7 C is the concrete bridge-set information schematic diagram of gusset plate equipment;
Fig. 8 A is the routing information schematic diagram of each device of gusset plate equipment;
Fig. 8 B is the routing information schematic diagram of the device j of gusset plate equipment;
Fig. 9 provides a kind of structural representation of master control borad equipment for the embodiment of the present invention;
The structural representation of the another kind of master control borad equipment that Figure 10 provides for the embodiment of the present invention;
The structural representation of a kind of gusset plate equipment that Figure 11 provides for the embodiment of the present invention;
The hardware unit figure of a kind of master control borad equipment that Figure 12 provides for the embodiment of the present invention;
The hardware unit figure of a kind of gusset plate equipment that Figure 13 provides for the embodiment of the present invention;
The system schematic of a kind of centralized management that Figure 14 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
The method that the embodiment of the present invention provides can be applied in the centralized management system to all kinds of plate level equipment, such as rack server architecture and so on large-scale treatment facility field and the field of storage of data center and so on for example.This centralized management system of the preferred rack server architecture of the embodiment of the present invention describes, and the embodiment of the present invention has more than to be limited to and is applied in this scene certainly.
Exemplary, as shown in Figure 1, the rack server architecture can comprise the master control borad equipment be in charge of and the gusset plate equipment of responsible business processing, they are arranged in same rack or same machine frame, gusset plate equipment is communicated by letter by backboard with master control borad equipment, in the rack server architecture, master control borad equipment can carry out direct centralized management to the device of each gusset plate equipment.
Referring to Fig. 2, the method for a kind of centralized management provided for the embodiment of the present invention comprises:
S201: master control borad equipment receiving node board device sends after the slot that inserts the master control borad equipment control activation signal;
Exemplary, activation signal is for meaning that gusset plate equipment is connected with master control borad equipment.
S202: the topology information of master control borad equipment reading and saving in gusset plate equipment;
Exemplary, the identification information of the bridge-set that the identification information that topology information can comprise the bridge-set that the upper end of identification information, each bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between adjacent two-stage bus, connect by bridge-set, and the attribute information of all buses, bridge-set and device;
Further, the attribute information of the bus in topology information can comprise the lable number of the bus unit on gusset plate equipment, the traversal rule of bus unit;
The attribute information of the bridge-set in topology information can comprise the number of branches that model, characteristic, the bridge joint of the bridge-set on gusset plate equipment obtain;
The attribute information of the device in topology information can comprise number, model, the characteristic of the device on gusset plate equipment, and the number of register and the characteristic of register in device.
Exemplary, before at master control borad equipment, reading the topology information of gusset plate equipment, can also comprise that master control borad equipment receives activation message, so that master control borad equipment starts the topology information of gusset plate equipment is read;
Exemplary, master control borad equipment reads the topology information of gusset plate equipment, can also comprise that master control borad equipment carries out checking treatment to topology information, so that master control borad equipment reads the topology information after verification.
S203: the identification information of the bridge-set that the identification information of the bridge-set that master control borad equipment connects respectively according to the identification information of the every one-level bus in topology information, the upper end of each bus in every one-level and lower end are connected respectively and the identification information of device obtain the routing information of each device;
Exemplary, the routing information of each device comprises by the rank of bus tactic, and is in the identification information of all buses between device and first order bus;
Exemplary, the identification information of the bridge-set that the identification information of the bridge-set that master control borad equipment connects respectively according to the identification information of the every one-level bus in topology information, the upper end of each bus in every one-level and lower end are connected respectively and the identification information of device obtain the routing information of each device, specifically can also comprise:
Master control borad equipment obtains the identification information of all buses of arranging according to the first order according to the identification information of every one-level bus, default traversal rule, wherein, the first order means the order that all buses are arranged according to default traversal rule;
Master control borad equipment travels through the identification information according to first all buses of sequentially arranging, and in the process of traversal, whether the bus lower end of searching current traversal in the identification information of the bridge-set that the lower end of each bus in every one-level is connected and the identification information of device the interface unit device;
If the bus lower end interface unit device of current traversal, the routing information of device comprises the identification information of the bus that all traversals of the bus from first bus of starting to travel through to current traversal are crossed;
If the bus lower end of current traversal does not have the interface unit device, what the bus lower end of current traversal connected is bridge-set, the number of branches that master control borad equipment obtains according to the bridge joint in the attribute information of the identification information of bridge-set and bridge-set obtains the bus number of branches of the bus next stage of current traversal, and travel through according to the identification information of the first order to the bus of next stage, whether the bus lower end of searching next stage the interface unit device, until that all buses all travel through is complete, obtain thus the routing information of each device.
S204: master control borad equipment obtains the topology location of each device on gusset plate equipment by the routing information of each device on gusset plate equipment, and respectively each device is managed to operation by the attribute information of each device on gusset plate equipment.
Exemplary, the topology location of each device means the position in the annexation structure between all buses, bridge-set and other device of each device on gusset plate equipment, comprises on each device and this gusset plate equipment the annexation of other device on bus, bridge-set or gusset plate equipment.
The present embodiment provides a kind of method of centralized management, master control borad equipment carries out centralized management according to the topology information read in gusset plate equipment to gusset plate equipment, can adaptive different gusset plate equipment access without master control borad equipment being upgraded just, not only meet rack server architecture convenience and variable design philosophy, and improve and strengthened compatibility and the versatility of centralized management.
Referring to Fig. 3, the method for the another kind of centralized management provided for the embodiment of the present invention comprises:
S301: gusset plate equipment obtains its topology information;
Exemplary, the identification information of the bridge-set that the identification information that described topology information comprises the bridge-set that the upper end of identification information, each bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between adjacent two-stage bus, connect by bridge-set, and the attribute information of all buses, bridge-set and device;
Further, the attribute information of the bus of topology information comprises the lable number of the bus unit on gusset plate equipment, the traversal rule of bus unit;
The attribute information of the bridge-set of topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on gusset plate equipment obtain;
The device attribute information of topology information comprises number, model, the characteristic of the device on gusset plate equipment, and the number of register and the characteristic of register in device.
S302: gusset plate equipment sends activation signal to master control borad equipment, so that master control borad equipment is after receiving activation signal, topology information is read, and then make master control borad equipment by topology information, obtain the routing information of each device on gusset plate equipment, and by the routing information of each device on gusset plate equipment, obtain the topology location of each device on gusset plate equipment, thereby the device on gusset plate equipment is managed to operation.
Exemplary, the topology location of each device means the position in the annexation structure between all buses, bridge-set and other device of each device on gusset plate equipment, comprises on each device and this gusset plate equipment the annexation of other device on bus, bridge-set or gusset plate equipment.
The present embodiment provides a kind of method of centralized management, master control borad equipment carries out centralized management according to the topology information read in gusset plate equipment to gusset plate equipment, can adaptive different gusset plate equipment access without master control borad equipment being upgraded just, not only meet rack server architecture convenience and variable design philosophy, and improve and strengthened compatibility and the versatility of centralized management.
On the basis of Fig. 2 and Fig. 3 embodiment, referring to Fig. 4, provide a kind of specific embodiment of method of centralized management, concrete steps are as follows:
401: gusset plate equipment obtains its topology information;
Exemplary, gusset plate equipment can obtain its topology information and topology information is stored in to the fixed position of gusset plate equipment, so that master control borad equipment reads this topology information, and extract topology information and the mode that topology information is stored can be comprised to the fixed position that in advance topology information of gusset plate equipment is stored in to gusset plate equipment, can be also that gusset plate equipment obtains the topological structure of its hardware by sending detectable signal, and then the topological structure of its hardware is obtained to topology information and preserves through informationization, the embodiment of the present invention is not done any restriction to this.
Exemplary, the describing mode embodiment of the present invention of topology information is not done any restriction yet, preferably, the identification information of the bridge-set that the identification information that topology information can comprise the bridge-set that the upper end of identification information, each bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between adjacent two-stage bus, connect by bridge-set, and the attribute information of all buses, bridge-set and device;
Further, the attribute information of the bus of topology information comprises the lable number of the bus unit on gusset plate equipment, the traversal rule of bus unit;
The attribute information of the bridge-set of topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on gusset plate equipment obtain;
The device attribute information of topology information comprises number, model, the characteristic of the device on gusset plate equipment, and the number of register and the characteristic of register in device.
Wherein, the data structure embodiment of the present invention of using when topology information is described is not done any restriction yet, can comprise chained list, the data structure that array etc. are linear.
Concrete, in the present embodiment, in order to describe in detail, the hardware topology structure of gusset plate equipment as shown in Figure 5, the specific descriptions mode of topology information can be as shown in Figure 6, abovely just illustrates, and do not represent that the embodiment of the present invention is only applicable to above situation.
Preferably, the hardware topology structure of gusset plate equipment can be as shown in Figure 5, by tree structure, be described, in embodiments of the present invention, can be called the hardware topology tree, wherein, each bus has corresponding bus sign, each bus lower end can connect at least one bridge-set, also can connect at least one device, for can brief description, thereby the embodiment of the present invention is set each bus lower end and can only be connected a bridge-set and obtain branch bus, perhaps can connect at least one concrete device, but do not represent the bus of mentioning in the embodiment of the present invention only limit to lower end can only the connecting bridge connection device or device in a kind of, concrete connection the present embodiment is not done concrete restriction.
Preferably, the embodiment of the present invention is carried out preorder traversal according to Fig. 5 to the bus of hardware topology tree, and the bus that can obtain Fig. 5 puts in order, and equally in embodiments of the present invention, the mode that the bus that hardware topology is set travels through is not done any restriction.
The rule of preorder traversal is specially: the root node of access hardware topological tree at first, then travel through the left subtree of root node, and finally travel through the right subtree of root node.When the left and right subtree of traversal, still first access root node, then travel through left subtree, finally travel through right subtree, until left and right subtree is leafy node.
Thus, we can obtain the bus that the bus of hardware topology tree is carried out after preorder traversal is put in order, as shown in table 1, and we can know, bus put in order and the sign of bus is one to one;
Table 1
The number of putting in order 0 1 2 3 4 5 6 7 8 9
The bus identification number A B E F C D G I J H
Meanwhile, as shown in Figure 6, the embodiment of the present invention preferably puts in order the information of each bus is described and gathered the description realized gusset plate equipment topology information according to bus as shown in table 1, wherein, the information of each bus can comprise the identification number of this bus, corresponding one by one with the number of putting in order of bus, thus can also comprise that each bus lower end connects the device quantity that a bridge-set obtains branch bus or connection.Concrete describing mode such as Fig. 7 A:
At first the sign of the byte records gusset plate equipment by regular length and the bus number that gusset plate equipment comprises, above two parameters have respectively check code to carry out verification to its corresponding parameter, the present embodiment is cyclic redundancy (Cyclic Redundancy Check, CRC) check code preferably;
Then, according to putting in order of bus, each bus message is carried out to record successively, this record trunk sequence of information has comprised traversal rule simultaneously, can put in order and the detailed description of each bus message by bus thus, the hardware topology structure of description node board device that just can be complete.Below the detailed description to bus message,
At first, what in bus message, comprise at first is by the number of putting in order of the bus of fixed byte length records, exemplary, because the identification number of bus is corresponding one by one with the number of putting in order of bus, therefore the identification number of bus and the number of the putting in order effect in embodiments of the present invention of bus are of equal value, for illustrative ease, in the embodiment of the present invention, the number of bus is n+1;
Then device information and the bridge-set information that the bus lower end connects, topological structure by Fig. 5 is as can be known, in the embodiment of the present invention, for illustrative ease, the lower end of each bus set can only the interface unit device or bridge-set in a kind of device, and only, after the connecting bridge connection device of bus lower end, just can produce new bus branch.
Therefore, in the embodiment of the present invention, the device information that this bus lower end of recording in each bus message connects and bridge-set information there will be one and only an information be empty situation:
If the device information that this bus lower end connects is not empty, the device of this bus lower end is the leaf node of hardware configuration tree, can't continue the lower floor's traversal to the hardware configuration tree;
If the bridge-set information that this bus lower end connects is not empty,, after this bus connecting bridge connection device, can produce new bus branch, illustrate that the bridge-set that this bus lower end connects is a root node, can continue the lower floor's traversal to the hardware configuration tree.Form the present invention of concrete device information and concrete bridge-set information does not do any restriction;
Preferably, in embodiments of the present invention, on the one hand, as shown in Figure 7 B, concrete device information can comprise successively: the quantity of fixed byte length records device and the device information identical with device quantity, for illustrative ease, in the embodiment of the present invention, the device quantity of bus 0 is p+1;
Each device information can also further comprise the description and the register number that each device comprises of each device of fixed byte length records, can also comprise register description, and for illustrative ease, the number of register is m+1;
The description of each device can also further comprise address, type and the characteristic (such as refresh interval time etc.) of each device; Register description can also further comprise the description with the same number of single register of register, comprises address style and the characteristic (such as byte number and the byte align order of single register) of single register.
Above all information can add the CRC check code to make master control borad equipment carry out verification to obtain correct topology information to the topology information read.
Preferably, in embodiments of the present invention, on the other hand, as shown in Fig. 7 C, concrete bridge-set information can comprise the information of the bridge-set that the new bus number of branches that produces after the bus connecting bridge connection device of preserving by fixed byte length and bus lower end connect successively, wherein, the information of bridge-set can comprise bridge-set address and the type of preserving by fixed byte length, and the characteristic of bridge-set (such as the time delay of device etc.).
Identical with device information, above all information also can add the CRC check code to make master control borad equipment carry out verification to obtain correct topology information to the topology information read.
It should be noted that the above way of example just hardware topology information is described, concrete describing mode can have multiple, does not represent and only limits to the describing mode that the embodiment of the present invention provides.
402: gusset plate equipment sends activation signal to master control borad equipment;
Exemplary, activation signal is for meaning that gusset plate equipment is connected with master control borad equipment, it can be produced by gusset plate equipment in the process of carrying out hot plug on master control borad equipment, concrete, can be that gusset plate equipment produces activation signal in the slot that inserts the master control borad equipment control, and activation signal is sent to master control borad equipment, so that master control borad equipment starts the topology information of gusset plate equipment is read.
403: the topology information of master control borad equipment reading and saving in gusset plate equipment;
Exemplary, master control borad equipment, after receiving activation signal, just can read the topology information that is stored in this gusset plate equipment in gusset plate equipment.Topology information is described later in detail in step 401, do not repeat them here, in the process read, master control borad equipment can also carry out checking treatment to topology information, so that master control borad equipment reads the topology information after verification, to guarantee the accuracy of topology information, preferably, the embodiment of the present invention is by the CRC check topology information, if check errors, master control borad equipment produces error reporting, master control borad equipment can report an error or again the topology information of gusset plate equipment be read, the embodiment of the present invention is not done any restriction, if verification is correct, proceed step 404.
404: master control borad equipment is resolved the topology information of gusset plate equipment, obtains the routing information of each device on gusset plate equipment;
Exemplary, the identification information of the bridge-set that the identification information of the bridge-set that master control borad equipment can connect respectively according to the identification information of the every one-level bus in topology information, the upper end of each bus in every one-level and lower end are connected respectively and the identification information of device obtain the routing information of each device;
Concrete can comprise: master control borad equipment obtains the identification information of all buses of arranging according to the first order according to the identification information of every one-level bus, default traversal rule, wherein, described the first order means the order that all buses are arranged according to default traversal rule, in the present embodiment, traversal rule is preorder traversal;
Described master control borad equipment travels through the identification information according to first all buses of sequentially arranging, and in the process of traversal, whether the bus lower end of searching current traversal in the identification information of the bridge-set that the lower end of each the described bus in every one-level is connected and the identification information of device the interface unit device;
If the bus lower end of described current traversal connects described device, the routing information of described device comprises the identification information of the bus of crossing from first bus to all traversals of the bus of current traversal that start to travel through;
If the bus lower end of described current traversal does not connect described device, what the bus lower end of described current traversal connected is bridge-set, the number of branches that described master control borad equipment obtains according to the bridge joint in the attribute information of the identification information of described bridge-set and described bridge-set obtains the bus number of branches of the bus next stage of current traversal, and travel through according to the identification information of the first order to the bus of next stage, whether the bus lower end of searching next stage the interface unit device, until that all buses all travel through is complete, obtain thus the routing information of each device.
In the present embodiment simultaneously, the identification information of the bridge-set that the identification information of the bridge-set that master control borad equipment also can connect respectively according to the identification information of every one-level bus in topology information, each bus upper end in every one-level and lower end are connected respectively is by the hardware topology tree of this node of method reconstruct of preorder traversal, be used for describing the topological structure of the bus of this gusset plate equipment, so, can obtain the routing information of all device on gusset plate equipment as shown in Figure 8 A and the topological structure of gusset plate equipment.
Concrete, due to bridge-set in gusset plate equipment only be used to carrying out bus branch, in processing, practical business do not bear the function that business is carried out, business is carried out and is completed by the device in gusset plate equipment, so master control borad equipment is searched individual devices device in gusset plate equipment by the routing information of each device;
Concrete, the routing information of each device comprises by the rank of bus tactic, and be in the identification information of all buses between this device and first order bus, can also comprise the sign of this device, corresponding one by one with the device in gusset plate equipment; The information that also comprises this device, can be directly from extracting and obtain the topology information of the gusset plate equipment as Fig. 7;
Further, in gusset plate equipment, the routing information of each device has just formed the routing information of all device in this gusset plate equipment.
For example, in Fig. 5, the device that we selected bus sign J connects, easy in order to describe, the device that bus sign J connects be masked as j, according to the topological structure of gusset plate equipment, we can know this device j the bus sign of process be followed successively by ADGJ, the bus number of process is 4, therefore can obtain the routing information of the device j that bus sign J connects as shown in Figure 8 B, the routing information of remaining device similarly, does not repeat them here.
405: master control borad equipment obtains the topology location of each device on gusset plate equipment by the routing information of each device on gusset plate equipment, and respectively each device is managed to operation by the attribute information of each device on gusset plate equipment;
Exemplary, the topology location of each device means the position in the annexation structure between all buses, bridge-set and other device of each device on gusset plate equipment, comprises on each device and this gusset plate equipment the annexation of other device on bus, bridge-set or gusset plate equipment;
Further, insert under this state of master control borad equipment at gusset plate equipment, master control borad equipment can manage operation to gusset plate equipment according to the routing information of each device on gusset plate equipment; Further, when this gusset plate equipment is extracted master control borad equipment, activation signal disappears, master control borad equipment can be wiped the routing information of storing each device on this gusset plate equipment, so that being arranged, enough storage spaces store the routing information of each device on the gusset plate equipment of other insertions, concrete, master control borad equipment can send administrative messag to reaching gusset plate equipment, realizes the bookkeeping to gusset plate equipment.
The present embodiment provides a kind of method of centralized management, master control borad equipment carries out centralized management according to the topology information read in gusset plate equipment to gusset plate equipment, can adaptive different gusset plate equipment access without master control borad equipment being upgraded just, not only meet rack server architecture convenience and variable design philosophy, and improve and strengthened compatibility and the versatility of centralized management.
Referring to Fig. 9, a kind of master control borad equipment 90 for the embodiment of the present invention provides comprises:
Receiving element 901, for the receiving node board device sends after the slot that inserts 90 management of master control borad equipment activation signal, activation signal is for meaning that gusset plate equipment has been connected with master control borad equipment 90;
Reading unit 902, for the topology information of reading and saving at gusset plate equipment, wherein, the identification information of the bridge-set that the identification information that topology information comprises the bridge-set that the upper end of identification information, each bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between adjacent two-stage bus, connect by bridge-set, and the attribute information of all buses, bridge-set and device;
Acquiring unit 903, the identification information of the bridge-set that the identification information of the bridge-set connected respectively for the identification information according to every one-level bus of topology information, the upper end of each bus in every one-level and lower end are connected respectively and the identification information of device obtain the routing information of each device, wherein, the routing information of each device comprises by the rank of bus tactic, and is in the identification information of all buses between device and first order bus;
Administrative unit 904, for by the routing information of each device on gusset plate equipment, obtaining the topology location of each device on gusset plate equipment, and respectively each device is managed to operation by the attribute information of each device on gusset plate equipment.
Exemplary, the describing mode embodiment of the present invention of topology information is not done any restriction yet, and preferred, the attribute information of the bus in topology information comprises the lable number of the bus unit on gusset plate equipment, the traversal rule of bus unit;
The attribute information of the bridge-set in topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on gusset plate equipment obtain;
The attribute information of the device in topology information comprises number, model, the characteristic of the device on gusset plate equipment, and the number of register and the characteristic of register in device; Wherein, the data structure embodiment of the present invention of using when topology information is described is not done any restriction yet, can comprise chained list, the data structure that array etc. are linear.
Exemplary, acquiring unit 903 specifically can for, according to the identification information of every one-level bus, default traversal rule, obtain the identification information of all buses of arranging according to the first order, wherein, the first order means the order that all buses are arranged according to default traversal rule;
And the identification information according to first all buses of sequentially arranging is traveled through, and in the process of traversal, whether the bus lower end of searching current traversal in the identification information of the bridge-set that the lower end of each bus in every one-level is connected and the identification information of device the interface unit device;
If the bus lower end interface unit device of current traversal, the routing information of device comprises the identification information of the bus that all traversals of the bus from first bus of starting to travel through to current traversal are crossed;
If the bus lower end of current traversal does not have the interface unit device, what the bus lower end of current traversal connected is bridge-set, the number of branches that acquiring unit obtains according to the bridge joint in the attribute information of the identification information of bridge-set and bridge-set obtains the bus number of branches of the bus next stage of current traversal, and travel through according to the identification information of the first order to the bus of next stage, whether the bus lower end of searching next stage the interface unit device, until that all buses all travel through is complete, obtain thus the routing information of each device.
Exemplary, as shown in figure 10, master control borad equipment 90 can also comprise: verification unit 905, and for topology information is carried out to checking treatment, so that master control borad equipment 90 reads the topology information after verification.
Concrete, in the present embodiment, in order to illustrate, as shown in Figure 5, the specific descriptions mode of topology information can be as shown in Figure 6 for the topological structure of gusset plate equipment, abovely just illustrates, and do not represent that the embodiment of the present invention is only applicable to above situation.
Preferably, the topological structure of gusset plate equipment can be as shown in Figure 5, by tree structure, be described, in embodiments of the present invention, can be called the hardware topology tree, wherein, each bus has corresponding bus sign, each bus lower end can connect at least one bridge-set, also can connect at least one device, for can brief description, thereby the embodiment of the present invention is set each bus lower end and can only be connected a bridge-set and obtain branch bus, perhaps can connect at least one concrete device, but do not represent the bus of mentioning in the embodiment of the present invention only limit to lower end can only the connecting bridge connection device or device in a kind of, concrete connection the present embodiment is not done concrete restriction.
Preferably, the embodiment of the present invention is carried out preorder traversal according to Fig. 5 to the bus of hardware topology tree, and the bus that can obtain Fig. 5 puts in order, and equally in embodiments of the present invention, the mode that the bus that hardware topology is set travels through is not done any restriction.
The rule of preorder traversal is specially: the root node of access hardware topological tree at first, then travel through the left subtree of root node, and finally travel through the right subtree of root node.When the left and right subtree of traversal, still first access root node, then travel through left subtree, finally travel through right subtree, until left and right subtree is leafy node.
Thus, we can obtain the bus that the bus of hardware topology tree is carried out after preorder traversal is put in order, as shown in table 1, and we can know, bus put in order and the sign of bus is one to one;
Meanwhile, the describing mode of topology information as shown in Figure 6, the embodiment of the present invention preferably puts in order the information of each bus is described and gathered the description realized gusset plate equipment topology information according to bus as shown in table 1, wherein, the information of each bus can comprise the identification number of this bus, corresponding one by one with the number of putting in order of bus, thus can also comprise that each bus lower end connects the device quantity that a bridge-set obtains branch bus or connection.Concrete describing mode such as Fig. 7 A:
At first the sign of the byte records gusset plate equipment by regular length and the bus number that gusset plate equipment comprises, above two parameters have respectively check code to carry out verification to its corresponding parameter, the present embodiment is cyclic redundancy (Cyclic Redundancy Check, CRC) check code preferably;
Then, according to putting in order of bus, each bus message is carried out to record successively, this record trunk sequence of information has comprised traversal rule simultaneously, can put in order and the detailed description of each bus message by bus thus, the hardware topology structure of description node board device that just can be complete.Below the detailed description to bus message,
At first, what in bus message, comprise at first is by the number of putting in order of the bus of fixed byte length records, exemplary, because the identification number of bus is corresponding one by one with the number of putting in order of bus, therefore the identification number of bus and the number of the putting in order effect in embodiments of the present invention of bus are of equal value, for illustrative ease, in the embodiment of the present invention, the number of bus is n+1;
Then device information and the bridge-set information that the bus lower end connects, topological structure by Fig. 5 is as can be known, in the embodiment of the present invention, for illustrative ease, the lower end of each bus set can only the interface unit device or bridge-set in a kind of device, and only, after the connecting bridge connection device of bus lower end, just can produce new bus branch.
Therefore, in the embodiment of the present invention, the device information that this bus lower end of recording in each bus message connects and bridge-set information there will be one and only an information be empty situation:
If the device information that this bus lower end connects is not empty, the device of this bus lower end is the leaf node of hardware configuration tree, can't continue the lower floor's traversal to the hardware configuration tree;
If the bridge-set information that this bus lower end connects is not empty,, after this bus connecting bridge connection device, can produce new bus branch, illustrate that the bridge-set that this bus lower end connects is a root node, can continue the lower floor's traversal to the hardware configuration tree.Form the present invention of concrete device information and concrete bridge-set information does not do any restriction;
Preferably, in embodiments of the present invention, on the one hand, as shown in Figure 7 B, concrete device information can comprise successively: the quantity of fixed byte length records device and the device information identical with device quantity, for illustrative ease, in the embodiment of the present invention, the device quantity of bus 0 is p+1;
Each device information can also further comprise the description and the register number that each device comprises of each device of fixed byte length records, can also comprise register description, and for illustrative ease, the number of register is m+1;
The description of each device can also further comprise address, type and the characteristic (such as refresh interval time etc.) of each device; Register description can also further comprise the description with the same number of single register of register, comprises address style and the characteristic (such as byte number and the byte align order of single register) of single register.
Above all information can add the CRC check code to make 90 pairs of topology informations that read of master control borad equipment carry out verification to obtain correct topology information.
Preferably, in embodiments of the present invention, on the other hand, as shown in Fig. 7 C, concrete bridge-set information can comprise the information of the bridge-set that the new bus number of branches that produces after the bus connecting bridge connection device of preserving by fixed byte length and bus lower end connect successively, wherein, the information of bridge-set can comprise bridge-set address and the type of preserving by fixed byte length, and the characteristic of bridge-set (such as the time delay of device etc.).
Identical with device information, above all information also can add the CRC check code to make 90 pairs of topology informations that read of master control borad equipment carry out verification to obtain correct topology information.
It should be noted that the above way of example just hardware topology information is described, concrete describing mode can have multiple, does not represent and only limits to the describing mode that the embodiment of the present invention provides.
In the present embodiment, receiving element 901, for the receiving node board device sends after the slot that inserts 90 management of master control borad equipment activation signal, activation signal is for meaning that gusset plate equipment has been connected with master control borad equipment 90; Concrete, can be that gusset plate equipment produces activation signal in the slot that inserts 90 management of master control borad equipment, and activation signal is sent to master control borad equipment 90, so that master control borad equipment 90 starts the topology information of gusset plate equipment is read.
Concrete, after receiving element 901 receives activation signal, reading unit 902 just can read the topology information that is stored in this gusset plate equipment in gusset plate equipment, in the process read, verification unit 905 can be carried out checking treatment to topology information, so that reading unit 901 reads the topology information after verification, to guarantee the accuracy of topology information, preferably, in the embodiment of the present invention, verification unit 905 is by the CRC check topology information, if check errors, master control borad equipment 90 produces error reporting, master control borad equipment 90 can report an error or again the topology information of gusset plate equipment be read, the embodiment of the present invention is not done any restriction, if verification is correct, reading unit 901 is proceeded to read.
Exemplary, acquiring unit 903 can be resolved the topology information of gusset plate equipment, acquires the routing information of each device on gusset plate equipment,
In the present embodiment simultaneously, the identification information of the bridge-set that the identification information of the bridge-set that acquiring unit 903 can also connect respectively according to the identification information of every one-level bus in topology information, each bus upper end in every one-level and lower end are connected respectively is by the hardware topology tree of this node of method reconstruct of preorder traversal, be used for describing the topological structure of the bus of this gusset plate equipment, so, can obtain the routing information of all device on gusset plate equipment as shown in Figure 8 A and the topological structure of gusset plate equipment.
Concrete, due to bridge-set in gusset plate equipment only be used to carrying out bus branch, in processing, practical business do not bear the function that business is carried out, business is carried out and is completed by the device in gusset plate equipment, so master control borad equipment 90 is searched individual devices device in gusset plate equipment by the routing information of each device;
Concrete, the routing information of each device comprises by the rank of bus tactic, and be in the identification information of all buses between this device and first order bus, can also comprise the sign of this device, corresponding one by one with the device in gusset plate equipment; The information that also comprises this device, can be directly from extracting and obtain the topology information of the gusset plate equipment as Fig. 7;
Further, in gusset plate equipment, the routing information of each device has just formed the routing information of all device in this gusset plate equipment.
For example, in Fig. 5, the device that we selected bus sign J connects, easy in order to describe, the device that bus sign J connects be masked as j, according to the topological structure of gusset plate equipment, we can know this device j the bus sign of process be followed successively by ADGJ, the bus number of process is 4, therefore can obtain the information of searching of the device j that bus sign J connects as shown in Figure 8 B, the information of searching of remaining device similarly, does not repeat them here.
Exemplary, administrative unit 904 is inserted under master control borad equipment 90 these states at gusset plate equipment, can to gusset plate equipment, manage operation according to the hardware searching information of the routing information of each device on gusset plate equipment; Further, when this gusset plate equipment is extracted master control borad equipment 90, activation signal disappears, master control borad equipment 90 can be wiped the routing information of storing each device on this gusset plate equipment, so that being arranged, enough storage spaces store the routing information of each device on the gusset plate equipment of other insertions, concrete, administrative unit 904 can send the management operational order to gusset plate equipment, realizes the bookkeeping to gusset plate equipment.
The present embodiment provides a kind of master control borad equipment 90, master control borad equipment 90 carries out centralized management according to the topology information read in gusset plate equipment to gusset plate equipment, can adaptive different gusset plate equipment access without master control borad equipment 90 being upgraded just, not only meet rack server architecture convenience and variable design philosophy, and improve and strengthened compatibility and the versatility of centralized management.
Referring to Figure 11, a kind of gusset plate equipment 110 for the embodiment of the present invention provides comprises:
Acquiring unit 1101, for obtaining the topology information of gusset plate equipment 110, wherein, the identification information of the bridge-set that the identification information that topology information comprises the bridge-set that the upper end of identification information, each bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between adjacent two-stage bus, connect by bridge-set, and the attribute information of all buses, bridge-set and device;
Exemplary, the attribute information of the bus of topology information comprises the lable number of the bus unit on gusset plate equipment 110, the traversal rule of bus unit;
The attribute information of the bridge-set of topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on gusset plate equipment 110 obtain;
The device attribute information of topology information comprises number, model, the characteristic of the device on gusset plate equipment 110, and the number of register and the characteristic of register in device.
Transmitting element 1102, for sending activation signal to master control borad equipment, so that master control borad equipment is after receiving activation signal, topology information is read, and then make master control borad equipment by topology information, obtain the routing information of each device on gusset plate equipment 110, and by the routing information of each device on gusset plate equipment 110, obtain the topology location of each device on gusset plate equipment 110, thereby the device on gusset plate equipment 110 is managed to operation.So that master control borad equipment can extract topology information, and then make master control borad equipment resolve the topology information of gusset plate equipment 110, obtain the hardware searching information of gusset plate equipment 110 and according to the hardware searching information of gusset plate equipment 110, the device that gusset plate equipment 110 comprises managed to operation.
Exemplary, acquiring unit 1101 can obtain the topology information of gusset plate equipment 110110 and topology information is stored in to the fixed position of gusset plate equipment 110, so that master control borad equipment reads this topology information, and extract topology information and the mode that topology information is stored can be comprised to the fixed position that in advance topology information of gusset plate equipment 110 is stored in to gusset plate equipment 110; Can be that gusset plate equipment 110 obtains the topological structure of its hardware by sending detectable signal yet, and then the topological structure of its hardware is obtained to topology information and preserves through informationization, the embodiment of the present invention not be done any restriction to this.
Exemplary, the describing mode embodiment of the present invention of topology information is not done any restriction yet, preferably, the identification information of the bridge-set that the identification information that topology information can comprise the bridge-set that the upper end of identification information, each bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between adjacent two-stage bus, connect by bridge-set, and the attribute information of all buses, bridge-set and device;
Further, bus message comprises the lable number of bus unit, the traversal rule of bus unit;
Bridge information comprises model, the individual features of bridge-set, the number of branches of corresponding bridge joint;
Device information comprises number, model, the individual features of device, and number and the individual features of register in corresponding device.
Wherein, the data structure embodiment of the present invention of using when topology information is described is not done any restriction yet, can comprise chained list, the data structure that array etc. are linear.
Concrete, in the present embodiment, for can be detailed, the hardware topology structure of gusset plate equipment 110 as shown in Figure 5, the specific descriptions mode of topology information can be as shown in Figure 6, abovely just illustrates, and do not represent that the embodiment of the present invention is only applicable to above situation.
Preferably, the hardware topology structure of gusset plate equipment 110 can be as shown in Figure 5, by tree structure, be described, in embodiments of the present invention, can be called the hardware topology tree, wherein, each bus has corresponding bus sign, each bus lower end can connect at least one bridge-set and/or at least one device, for can brief description, thereby the embodiment of the present invention is set each bus lower end and can only be connected a bridge-set and obtain branch bus, perhaps can connect at least one concrete device, but do not represent the bus of mentioning in the embodiment of the present invention only limit to lower end can only the connecting bridge connection device or device in a kind of, concrete connection the present embodiment is not done concrete restriction.
Preferably, according to Fig. 5, the bus of hardware topology tree is carried out to preorder traversal, the bus that can obtain Fig. 5 puts in order, and equally in embodiments of the present invention, the mode that the bus that hardware topology is set travels through is not done any restriction.
The rule of preorder traversal is specially: the root node of access hardware topological tree at first, then travel through the left subtree of root node, and finally travel through the right subtree of root node.When the left and right subtree of traversal, still first access root node, then travel through left subtree, finally travel through right subtree, until left and right subtree is leafy node.
Thus, we can obtain the bus that the bus of hardware topology tree is carried out after preorder traversal is put in order, as shown in table 1, and we can know, bus put in order and the sign of bus is one to one;
Meanwhile, as shown in Figure 6, the embodiment of the present invention preferably puts in order the information of each bus is described and gathered the description realized gusset plate equipment 110 topology informations according to bus as shown in table 1, wherein, the information of each bus can comprise the identification number of this bus, corresponding one by one with the number of putting in order of bus, thus can also comprise that each bus lower end connects the device quantity that a bridge-set obtains branch bus or connection.Concrete describing mode such as Fig. 7 A, previous embodiment has been described in detail this, does not repeat them here;
Preferably, in embodiments of the present invention, on the one hand, concrete device information as shown in Figure 7 B, previous embodiment also has been described in detail this, does not repeat them here;
Preferably, in embodiments of the present invention, on the other hand, the concrete bridge-set information as shown in Fig. 7 C, previous embodiment also has been described in detail this, does not repeat them here;
It should be noted that the above way of example just hardware topology information is described, concrete describing mode can have multiple, does not represent and only limits to the describing mode that the embodiment of the present invention provides.
Exemplary, the activation signal that transmitting element 1102 sends can be to produce in the process of gusset plate equipment 110 hot plug on master control borad equipment, concrete, can be to produce activation signal when gusset plate equipment 110 inserts master control borad equipment, and transmitting element 1102 is sent to master control borad equipment by activation signal, so that master control borad equipment starts the topology information of gusset plate equipment 110 is read.
The present embodiment provides a kind of gusset plate equipment 110, master control borad equipment carries out centralized management according to the topology information read in gusset plate equipment 110 to gusset plate equipment 110, can adaptive different gusset plate equipment access without master control borad equipment being upgraded just, not only meet rack server architecture convenience and variable design philosophy, and improve and strengthened compatibility and the versatility of centralized management.
Referring to Figure 12, a kind of master control borad equipment 90 provided for the embodiment of the present invention, comprise: at least one communication interface 1201, processor 1202, storer 1203 and bus 1204, this at least one communication interface 1201, processor 1202, storer 1203 connect by bus 1204 and complete mutual communication.
This bus 1204 can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus, peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc.This bus 1204 can be divided into address bus, data bus, control bus etc.For ease of meaning, in Figure 12, only with a thick line, mean, but do not mean only to have the bus of a bus or a type.Wherein:
Storer 1203 is for the stores executable programs code, and this program code comprises computer-managed instruction.Storer 1203 may comprise the high-speed RAM storer, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disk memory.In memory device, store: operating system, application program, be used to realizing the program code of the embodiment of the present invention.Operating system is for controlling and realize the processing capacity that processing unit is carried out.Application program comprises program code, as Word, email software.
Processor 1202 may be a central processing unit (Central Processing Unit, referred to as CPU), or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more integrated circuit of the embodiment of the present invention.
Communication interface 1201, for communicating with external unit;
Processor 1202, for the activation signal sent after the slot that inserts 90 management of master control borad equipment by communication interface receiving node board device, activation signal is for meaning that gusset plate equipment has been connected with master control borad equipment 90;
And for the topology information of reading and saving at gusset plate equipment, wherein, the identification information of the bridge-set that the identification information that topology information comprises the bridge-set that the upper end of identification information, each bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between adjacent two-stage bus, connect by bridge-set, and the attribute information of all buses, bridge-set and device;
And the identification information of the identification information of the bridge-set that is connected respectively of the identification information of the bridge-set connected respectively for the identification information of the every one-level bus according to topology information, the upper end of each bus in every one-level and lower end and device obtains the routing information of each device, wherein, the routing information of each device comprises by the rank of bus tactic, and is in the identification information of all buses between device and first order bus;
And the topology location that obtains each device on gusset plate equipment by the routing information of each device on gusset plate equipment, and respectively each device is managed to operation by the attribute information of each device on gusset plate equipment.
Storer 1203, also for the hardware searching information of memory node board device.
Exemplary, the describing mode embodiment of the present invention of topology information is not done any restriction yet, and preferred, the attribute information of the bus in topology information comprises the lable number of the bus unit on gusset plate equipment, the traversal rule of bus unit;
The attribute information of the bridge-set in topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on gusset plate equipment obtain;
The attribute information of the device in topology information comprises number, model, the characteristic of the device on gusset plate equipment, and the number of register and the characteristic of register in device; Wherein, the data structure embodiment of the present invention of using when topology information is described is not done any restriction yet, can comprise chained list, the data structure that array etc. are linear.
Concrete, in the present embodiment, in order to illustrate, as shown in Figure 5, the specific descriptions mode of topology information can be as shown in Figure 6 for the topological structure of gusset plate equipment, abovely just illustrates, and do not represent that the embodiment of the present invention is only applicable to above situation.
Preferably, the hardware topology structure of gusset plate equipment can be as shown in Figure 5, by tree structure, be described, in embodiments of the present invention, can be called the hardware topology tree, wherein, each bus has corresponding bus sign, each bus lower end can connect at least one bridge-set and/or at least one device, for can brief description, thereby the embodiment of the present invention is set each bus lower end and can only be connected a bridge-set and obtain branch bus, perhaps can connect at least one concrete device, but do not represent the bus of mentioning in the embodiment of the present invention only limit to lower end can only the connecting bridge connection device or device in a kind of, concrete connection the present embodiment is not done concrete restriction.
Preferably, the embodiment of the present invention is carried out preorder traversal according to Fig. 5 to the bus of hardware topology tree, and the bus that can obtain Fig. 5 puts in order, and equally in embodiments of the present invention, the mode that the bus that hardware topology is set travels through is not done any restriction.
The rule of preorder traversal is specially: the root node of access hardware topological tree at first, then travel through the left subtree of root node, and finally travel through the right subtree of root node.When the left and right subtree of traversal, still first access root node, then travel through left subtree, finally travel through right subtree, until left and right subtree is leafy node.
Thus, we can obtain the bus that the bus of hardware topology tree is carried out after preorder traversal is put in order, as shown in table 1, and we can know, bus put in order and the sign of bus is one to one;
Meanwhile, topology information describing mode as shown in Figure 6, the embodiment of the present invention preferably puts in order the information of each bus is described and gathered the description realized gusset plate equipment topology information according to bus as shown in table 1, wherein, the information of each bus can comprise the identification number of this bus, corresponding one by one with the number of putting in order of bus, thus can also comprise that each bus lower end connects the device quantity that a bridge-set obtains branch bus or connection.Concrete describing mode such as Fig. 7 A, previous embodiment has been described in detail this, does not repeat them here;
Preferably, in embodiments of the present invention, on the one hand, concrete device information as shown in Figure 7 B, previous embodiment also has been described in detail this, does not repeat them here;
Preferably, in embodiments of the present invention, on the other hand, the concrete bridge-set information as shown in Fig. 7 C, previous embodiment also has been described in detail this, does not repeat them here;
It should be noted that the above way of example just hardware topology information is described, concrete describing mode can have multiple, does not represent and only limits to the describing mode that the embodiment of the present invention provides.
Exemplary, processor 1202 can also for, topology information is carried out to checking treatment, so that master control borad equipment 90 reads the topology information after verification, to guarantee the accuracy of topology information, preferably, in the embodiment of the present invention, processor 1202 is by the CRC check topology information, if check errors, master control borad equipment 90 produces error reporting, master control borad equipment 90 can report an error or again the topology information of gusset plate equipment be read, and the embodiment of the present invention is not done any restriction.
Exemplary, processor 1202 can be resolved the topology information of gusset plate equipment, acquires the routing information of each device on gusset plate equipment;
Concrete, processor 1202 can obtain according to the identification information of every one-level bus, default traversal rule the identification information of all buses of arranging according to the first order, wherein, the first order means the order that all buses are arranged according to default traversal rule;
And the identification information according to first all buses of sequentially arranging is traveled through, and in the process of traversal, whether the bus lower end of searching current traversal in the identification information of the bridge-set that the lower end of each bus in every one-level is connected and the identification information of device the interface unit device;
If the bus lower end interface unit device of current traversal, the routing information of device comprises the identification information of the bus that all traversals of the bus from first bus of starting to travel through to current traversal are crossed;
If the bus lower end of current traversal does not have the interface unit device, what the bus lower end of current traversal connected is bridge-set, the number of branches that acquiring unit obtains according to the bridge joint in the attribute information of the identification information of bridge-set and bridge-set obtains the bus number of branches of the bus next stage of current traversal, and travel through according to the identification information of the first order to the bus of next stage, whether the bus lower end of searching next stage the interface unit device, until that all buses all travel through is complete, obtain thus the routing information of each device.
Exemplary, processor 1202 inserts under master control borad equipment 90 these states at gusset plate equipment, can to gusset plate equipment, manage operation according to the routing information of each device on gusset plate equipment; Further, when this gusset plate equipment is extracted master control borad equipment 90, activation signal disappears, processor 1202 can be wiped the routing information of storing each device on this gusset plate equipment, so that being arranged, enough storage spaces store the routing information of each device on the gusset plate equipment of other insertions, concrete, processor 1202 can send bookkeeping to gusset plate equipment by communication interface 1201, realizes the bookkeeping to gusset plate equipment.
The present embodiment provides a kind of master control borad equipment 90, master control borad equipment 90 carries out centralized management according to the topology information read in gusset plate equipment to gusset plate equipment, can adaptive different gusset plate equipment access without master control borad equipment 90 being upgraded just, not only meet rack server architecture convenience and variable design philosophy, and improve and strengthened compatibility and the versatility of centralized management.
A kind of gusset plate equipment 110 provided referring to Figure 13, for the embodiment of the present invention, wherein in gusset plate equipment, comprise several device, for realizing business function, in addition, can also comprise: at least one communication unit 1301, processor 1302, storer 1303 and bus 1304, this at least one communication unit 1301, processor 1302, storer 1303 and several device are connected by bus 1304 and complete mutual communication.
This bus 1304 can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus, peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc.This bus 1304 can be divided into address bus, data bus, control bus etc.For ease of meaning, in Figure 14, only with a thick line, mean, but do not mean only to have the bus of a bus or a type.Wherein:
Storer 1303 comprises computer-managed instruction for stores executable programs code and this program code.Storer 1303 may comprise the high-speed RAM storer, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disk memory.In memory device, store: operating system, application program, be used to realizing the program code of the embodiment of the present invention.Operating system is for controlling and realize the processing capacity that processing unit is carried out.Application program comprises program code, as Word, email software.
Processor 1302 may be a central processing unit (Central Processing Unit, referred to as CPU), or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more integrated circuit of the embodiment of the present invention.
Communication interface 1301, for to communicating with external unit;
Processor 1302, for obtaining the topology information of gusset plate equipment 110, wherein, the identification information of the bridge-set that the identification information that topology information comprises the bridge-set that the upper end of identification information, each bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between adjacent two-stage bus, connect by bridge-set, and the attribute information of all buses, bridge-set and device;
And send activation signal to master control borad equipment by communication unit, so that master control borad equipment is after receiving activation signal, topology information is read, and then make master control borad equipment by topology information, obtain the routing information of each device on gusset plate equipment 110, and by the routing information of each device on gusset plate equipment 110, obtain the topology location of each device on gusset plate equipment 110, thereby the device on gusset plate equipment 110 is managed to operation;
Storer 1303, can also be for the topology information of memory node board device 110.
Exemplary, processor 1302 can obtain the topology information of gusset plate equipment 110 and topology information is stored in storer 1303, so that master control borad equipment reads this topology information, and obtain topology information and the mode that topology information is stored can be comprised to the fixed position that in advance topology information of gusset plate equipment 110 is stored in to gusset plate equipment 110, can be also that gusset plate equipment 110 obtains the topological structure of its hardware by sending detectable signal, and then the topology information of hardware is obtained to topology information and preserves, the embodiment of the present invention is not done any restriction to this.
Exemplary, the describing mode embodiment of the present invention of topology information is not done any restriction yet, preferably, the identification information of the bridge-set that the identification information that topology information can comprise the bridge-set that the upper end of identification information, each bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between adjacent two-stage bus, connect by bridge-set, and the attribute information of all buses, bridge-set and device;
Further, the attribute information of the bus of topology information comprises the lable number of the bus unit on gusset plate equipment 110, the traversal rule of bus unit;
The attribute information of the bridge-set of topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on gusset plate equipment 110 obtain;
The device attribute information of topology information comprises number, model, the characteristic of the device on gusset plate equipment 110, and the number of register and the characteristic of register in device.
Wherein, the data structure embodiment of the present invention of using when topology information is described is not done any restriction yet, can comprise chained list, the data structure that array etc. are linear.
Concrete, in the present embodiment, for can be detailed, the hardware topology structure of gusset plate equipment 110 as shown in Figure 5, the specific descriptions mode of topology information can be as shown in Figure 6, abovely just illustrates, and do not represent that the embodiment of the present invention is only applicable to above situation.
Preferably, the hardware topology structure of gusset plate equipment 110 can be as shown in Figure 5, by tree structure, be described, in embodiments of the present invention, can be called the hardware topology tree, wherein, each bus has corresponding bus sign, each bus lower end can connect at least one bridge-set and/or at least one device, for can brief description, thereby the embodiment of the present invention is set each bus lower end and can only be connected a bridge-set and obtain branch bus, perhaps can connect at least one concrete device, but do not represent the bus of mentioning in the embodiment of the present invention only limit to lower end can only the connecting bridge connection device or device in a kind of, concrete connection the present embodiment is not done concrete restriction.
Preferably, the embodiment of the present invention is carried out preorder traversal according to Fig. 5 to the bus of hardware topology tree, and the bus that can obtain Fig. 5 puts in order, and in embodiments of the present invention, the mode that the bus that hardware topology is set travels through is not done any restriction.
The rule of preorder traversal is specially: the root node of access hardware topological tree at first, then travel through the left subtree of root node, and finally travel through the right subtree of root node.When the left and right subtree of traversal, still first access root node, then travel through left subtree, finally travel through right subtree, until left and right subtree is leafy node.
Thus, we can obtain the bus that the bus of hardware topology tree is carried out after preorder traversal is put in order, as shown in table 1, and we can know, bus put in order and the sign of bus is one to one;
Meanwhile, as shown in Figure 6, the embodiment of the present invention preferably puts in order the information of each bus is described and gathered the description realized gusset plate equipment 110 topology informations according to bus as shown in table 1, wherein, the information of each bus can comprise the identification number of this bus, corresponding one by one with the number of putting in order of bus, thus can also comprise that each bus lower end connects the device quantity that a bridge-set obtains branch bus or connection.Concrete describing mode such as Fig. 7 A, previous embodiment has been described in detail this, does not repeat them here;
Preferably, in embodiments of the present invention, on the one hand, concrete device information as shown in Figure 7 B, previous embodiment also has been described in detail this, does not repeat them here;
Preferably, in embodiments of the present invention, on the other hand, the concrete bridge-set information as shown in Fig. 7 C, previous embodiment also has been described in detail this, does not repeat them here;
It should be noted that the above way of example just hardware topology information is described, concrete describing mode can have multiple, does not represent and only limits to the describing mode that the embodiment of the present invention provides.
Exemplary, the activation signal that processor 1302 sends can be to produce in the process of gusset plate equipment 110 hot plug on master control borad equipment, in the embodiment of the present invention, can be that processor 1302 produces activation signal when gusset plate equipment 110 inserts master control borad equipment, and activation signal is sent to master control borad equipment, so that master control borad equipment starts the topology information of gusset plate equipment 110 is read.
The present embodiment provides a kind of gusset plate equipment 110, master control borad equipment carries out centralized management according to the topology information read in gusset plate equipment 110 to gusset plate equipment 110, can adaptive different gusset plate equipment access without master control borad equipment being upgraded just, not only meet rack server architecture convenience and variable design philosophy, and improve and strengthened compatibility and the versatility of centralized management.
Referring to Figure 14, the system of a kind of centralized management provided for the embodiment of the present invention,
Comprise the master control borad equipment 90 of above-mentioned arbitrary embodiment and the gusset plate equipment 110 of above-mentioned arbitrary embodiment.
The present embodiment provides a kind of system of centralized management, master control borad equipment 90 carries out centralized management according to the topology information read in gusset plate equipment 110 to gusset plate equipment 110, can adaptive different gusset plate equipment access without master control borad equipment 90 being upgraded just, not only meet rack server architecture convenience and variable design philosophy, and improve and strengthened compatibility and the versatility of centralized management.
The those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In several embodiment that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual the realization, other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, namely can be positioned at a place, or also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of unit to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit comprises, also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, the form that also can adopt hardware to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the hardware that programmed instruction is correlated with, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (13)

1. the method for a centralized management, is characterized in that,
Master control borad equipment receiving node board device sends after the slot that inserts described master control borad equipment control activation signal, described activation signal is for meaning that described gusset plate equipment is connected with described master control borad equipment;
The topology information of described master control borad equipment reading and saving in described gusset plate equipment, wherein, the identification information of the bridge-set that the identification information that described topology information comprises the bridge-set that the upper end of identification information, each the described bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between the described bus of adjacent two-stage, connect by bridge-set, and the attribute information of all described buses, bridge-set and device;
The identification information of the bridge-set that the identification information of the bridge-set that described master control borad equipment connects respectively according to the identification information of the every one-level bus in described topology information, the upper end of each described bus in every one-level and lower end are connected respectively and the identification information of device obtain the routing information of each described device, wherein, the routing information of described each device comprises by the rank of described bus tactic, and is in the identification information of all buses between described device and the described bus of the first order;
Described master control borad equipment obtains the topology location of each described device on described gusset plate equipment by the routing information of each device on described gusset plate equipment, and respectively each described device is managed to operation by the attribute information of each described device on described gusset plate equipment.
2. method according to claim 1, is characterized in that,
The attribute information of the bus in described topology information comprises the lable number of the bus unit on described gusset plate equipment, the traversal rule of described bus unit;
The attribute information of the bridge-set in described topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on described gusset plate equipment obtain;
The attribute information of the device in described topology information comprises number, model, the characteristic of the device on described gusset plate equipment, and the number of register and the characteristic of register in described device.
3. method according to claim 2, it is characterized in that, the identification information of the bridge-set that the identification information of the bridge-set that described master control borad equipment connects respectively according to the identification information of the every one-level bus in described topology information, the upper end of each described bus in every one-level and lower end are connected respectively and the identification information of device obtain the routing information of each described device, comprising:
Described master control borad equipment obtains the identification information of all buses of arranging according to the first order according to the identification information of every one-level bus, default traversal rule, wherein, described the first order means the order that all buses are arranged according to default traversal rule;
Described master control borad equipment travels through the identification information according to first all buses of sequentially arranging, and in the process of traversal, whether the bus lower end of searching current traversal in the identification information of the bridge-set that the lower end of each the described bus in every one-level is connected and the identification information of device the interface unit device;
If the bus lower end of described current traversal connects described device, the routing information of described device comprises the identification information of the bus of crossing from first bus to all traversals of the bus of current traversal that start to travel through;
If the bus lower end of described current traversal does not connect described device, what the bus lower end of described current traversal connected is bridge-set, the number of branches that described master control borad equipment obtains according to the bridge joint in the attribute information of the identification information of described bridge-set and described bridge-set obtains the bus number of branches of the bus next stage of current traversal, and travel through according to the identification information of the first order to the bus of next stage, whether the bus lower end of searching next stage the interface unit device, until that all buses all travel through is complete, obtain thus the routing information of each device.
4. according to the described method of claim 1-3 any one, it is characterized in that, described master control borad equipment reads the topology information of described gusset plate equipment, also comprise, described master control borad equipment carries out checking treatment to described topology information, so that described master control borad equipment reads the topology information after verification.
5. the method for a centralized management, is characterized in that,
Gusset plate equipment obtains its topology information, wherein, the identification information of the bridge-set that the identification information that described topology information comprises the bridge-set that the upper end of identification information, each the described bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between the described bus of adjacent two-stage, connect by bridge-set, and the attribute information of all described buses, bridge-set and device;
Described gusset plate equipment sends activation signal to master control borad equipment, so that described master control borad equipment is after receiving described activation signal, described topology information is read, and then make described master control borad equipment by described topology information, obtain the routing information of each device on described gusset plate equipment, and by the routing information of each device on described gusset plate equipment, obtain the topology location of each device on described gusset plate equipment, thereby the device on described gusset plate equipment is managed to operation.
6. method according to claim 5, is characterized in that, the attribute information of the bus of described topology information comprises the lable number of the bus unit on described gusset plate equipment, the traversal rule of described bus unit;
The attribute information of the bridge-set of described topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on described gusset plate equipment obtain;
The device attribute information of described topology information comprises number, model, the characteristic of the device on described gusset plate equipment, and the number of register and the characteristic of register in described device.
7. a master control borad equipment, is characterized in that, comprising:
Receiving element, for the receiving node board device sends after the slot that inserts described master control borad equipment control activation signal, described activation signal is for meaning that described gusset plate equipment is connected with described master control borad equipment;
Reading unit, for the topology information of reading and saving at described gusset plate equipment, wherein, the identification information of the bridge-set that the identification information that described topology information comprises the bridge-set that the upper end of identification information, each the described bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between the described bus of adjacent two-stage, connect by bridge-set, and the attribute information of all described buses, bridge-set and device;
Acquiring unit, the identification information of the bridge-set that the identification information of the bridge-set connected respectively for the identification information according to every one-level bus of described topology information, the upper end of each described bus in every one-level and lower end are connected respectively and the identification information of device obtain the routing information of each described device, wherein, the routing information of described each device comprises by the rank of described bus tactic, and is in the identification information of all buses between described device and the described bus of the first order;
Administrative unit, for by the routing information of each device on described gusset plate equipment, obtaining the topology location of each described device on described gusset plate equipment, and respectively each described device is managed to operation by the attribute information of each described device on described gusset plate equipment.
8. equipment according to claim 7, is characterized in that, the attribute information of the bus in described topology information comprises the lable number of the bus unit on described gusset plate equipment, the traversal rule of described bus unit;
The attribute information of the bridge-set in described topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on described gusset plate equipment obtain;
The attribute information of the device in described topology information comprises number, model, the characteristic of the device on described gusset plate equipment, and the number of register and the characteristic of register in described device.
9. equipment according to claim 8, is characterized in that,
Described acquiring unit is used for, according to the identification information of every one-level bus, default traversal rule, obtain the identification information of all buses of arranging according to the first order, wherein, described the first order means the order that all buses are arranged according to default traversal rule;
And the identification information according to first all buses of sequentially arranging is traveled through, and in the process of traversal, whether the bus lower end of searching current traversal in the identification information of the bridge-set that the lower end of each the described bus in every one-level is connected and the identification information of device the interface unit device;
If the bus lower end of described current traversal connects described device, the routing information of described device comprises the identification information of the bus of crossing from first bus to all traversals of the bus of current traversal that start to travel through;
If the bus lower end of described current traversal does not connect described device, what the bus lower end of described current traversal connected is bridge-set, the number of branches that described acquiring unit obtains according to the bridge joint in the attribute information of the identification information of described bridge-set and described bridge-set obtains the bus number of branches of the bus next stage of current traversal, and travel through according to the identification information of the first order to the bus of next stage, whether the bus lower end of searching next stage the interface unit device, until that all buses all travel through is complete, obtain thus the routing information of each device.
10. according to the described equipment of claim 7-9 any one, it is characterized in that, also comprise, verification unit, for described topology information is carried out to checking treatment, so that described master control borad equipment reads the topology information after verification.
11. a gusset plate equipment, is characterized in that, comprises,
Acquiring unit, for obtaining the topology information of described gusset plate equipment, wherein, the identification information of the bridge-set that the identification information that described topology information comprises the bridge-set that the upper end of identification information, each the described bus in every one-level of every one-level bus connects respectively and lower end are connected respectively and the identification information of device, wherein, between the described bus of adjacent two-stage, connect by bridge-set, and the attribute information of all described buses, bridge-set and device;
Transmitting element, for sending activation signal to master control borad equipment, so that described master control borad equipment is after receiving described activation signal, described topology information is read, and then make described master control borad equipment by described topology information, obtain the routing information of each device on described gusset plate equipment, and by the routing information of each device on described gusset plate equipment, obtain the topology location of each device on described gusset plate equipment, thereby the device on described gusset plate equipment is managed to operation.
12. equipment according to claim 11, is characterized in that,
The attribute information of the bus of described topology information comprises the lable number of the bus unit on described gusset plate equipment, the traversal rule of described bus unit;
The attribute information of the bridge-set of described topology information comprises the number of branches that model, characteristic, the bridge joint of the bridge-set on described gusset plate equipment obtain;
The device attribute information of described topology information comprises number, model, the characteristic of the device on described gusset plate equipment, and the number of register and the characteristic of register in described device.
13. the system of a centralized management, is characterized in that,
Comprise master control borad equipment as described as claim 7-10 any one, at least one gusset plate equipment as described as claim 11 or 12.
CN201310350492.2A 2013-08-13 2013-08-13 A kind of method, apparatus and system of centralized management Active CN103412830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310350492.2A CN103412830B (en) 2013-08-13 2013-08-13 A kind of method, apparatus and system of centralized management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310350492.2A CN103412830B (en) 2013-08-13 2013-08-13 A kind of method, apparatus and system of centralized management

Publications (2)

Publication Number Publication Date
CN103412830A true CN103412830A (en) 2013-11-27
CN103412830B CN103412830B (en) 2016-12-07

Family

ID=49605843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310350492.2A Active CN103412830B (en) 2013-08-13 2013-08-13 A kind of method, apparatus and system of centralized management

Country Status (1)

Country Link
CN (1) CN103412830B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330630A (en) * 2015-07-03 2017-01-11 华为技术有限公司 Method for flexibly transmitting data stream of Ethernet, transmitter and receiver
CN107544789A (en) * 2016-06-23 2018-01-05 中兴通讯股份有限公司 A kind of topology adaptation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859214A (en) * 2006-03-02 2006-11-08 华为技术有限公司 Method for automatically obtaining topological relation of telecommunication device
CN101478435A (en) * 2009-01-20 2009-07-08 杭州华三通信技术有限公司 Topology collecting method for stacking system and dual control board equipment
CN102457391A (en) * 2010-10-21 2012-05-16 上海未来宽带技术及应用工程研究中心有限公司 Equipment unified management method for Ethernet passive optical network and Ethernet over coax (EPON+EoC) two-way cable access network
CN102780582A (en) * 2012-07-23 2012-11-14 福建星网锐捷网络有限公司 Reset method and device for stack topology member device and network device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859214A (en) * 2006-03-02 2006-11-08 华为技术有限公司 Method for automatically obtaining topological relation of telecommunication device
CN101478435A (en) * 2009-01-20 2009-07-08 杭州华三通信技术有限公司 Topology collecting method for stacking system and dual control board equipment
CN102457391A (en) * 2010-10-21 2012-05-16 上海未来宽带技术及应用工程研究中心有限公司 Equipment unified management method for Ethernet passive optical network and Ethernet over coax (EPON+EoC) two-way cable access network
CN102780582A (en) * 2012-07-23 2012-11-14 福建星网锐捷网络有限公司 Reset method and device for stack topology member device and network device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330630A (en) * 2015-07-03 2017-01-11 华为技术有限公司 Method for flexibly transmitting data stream of Ethernet, transmitter and receiver
WO2017005108A1 (en) * 2015-07-03 2017-01-12 华为技术有限公司 Method, transmitter, and receiver for transmission of data stream in flexeth
CN106330630B (en) * 2015-07-03 2019-09-03 华为技术有限公司 Transmit method, the transmitter and receiver of the data flow of flexible Ethernet
US10425357B2 (en) 2015-07-03 2019-09-24 Huawei Technologies Co., Ltd. Method for transmitting data stream in flexible ethernet, transmitter, and receiver
CN107544789A (en) * 2016-06-23 2018-01-05 中兴通讯股份有限公司 A kind of topology adaptation method and device

Also Published As

Publication number Publication date
CN103412830B (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN107807982B (en) Consistency checking method and device for heterogeneous database
CN101504672B (en) Method and system for dynamically configuring physical data table
CN107911249B (en) Method, device and equipment for sending command line of network equipment
CN103279406B (en) A kind of partition method of internal memory and device
CN107391325B (en) Hard disk test method and device and terminal
CN102024046B (en) Data repeatability checking method and device as well as system
CN102164050A (en) Log parsing method and log parsing node device
CN104516921A (en) Automatic response method and device
CN104639348A (en) Network device and configuration method thereof
CN105242879A (en) Data storage method and protocol server
CN110019111A (en) Data processing method, device, storage medium and processor
CN101567014B (en) Equipment information retrieval method, device and cable fastener
CN106547658A (en) A kind of automated testing method and device
CN111294413A (en) Method, device and readable medium for determining Internet Protocol (IP) address
CN106528441B (en) Data processing method and device for simulating EEPROM (electrically erasable programmable read-Only memory) and electronic equipment
CN103412830A (en) Method, device and system for centralized management
CN112463055B (en) Method, system, equipment and medium for optimizing and using L2P table of solid state disk
CN104598409A (en) Method and device for processing input and output requests
CN106775481A (en) Method for reading data and equipment
WO2016165461A1 (en) Automated testing method and apparatus for network management system software of telecommunications network
CN105389394A (en) Data request processing method and device based on a plurality of database clusters
CN108664505A (en) A kind of deriving method and device of database table structure
CN106708445A (en) Link selection method and device
CN101729319A (en) Method, device and system for veneer groove position number identification
CN110209349B (en) Data processing method and terminal equipment

Legal Events

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

Effective date of registration: 20211231

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right