CN101527643B - Method, system and main equipment for acquiring stacking system information - Google Patents

Method, system and main equipment for acquiring stacking system information Download PDF

Info

Publication number
CN101527643B
CN101527643B CN2009100809284A CN200910080928A CN101527643B CN 101527643 B CN101527643 B CN 101527643B CN 2009100809284 A CN2009100809284 A CN 2009100809284A CN 200910080928 A CN200910080928 A CN 200910080928A CN 101527643 B CN101527643 B CN 101527643B
Authority
CN
China
Prior art keywords
information
main equipment
unit
pile system
mac address
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.)
Expired - Fee Related
Application number
CN2009100809284A
Other languages
Chinese (zh)
Other versions
CN101527643A (en
Inventor
班世敏
曾勇刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009100809284A priority Critical patent/CN101527643B/en
Publication of CN101527643A publication Critical patent/CN101527643A/en
Application granted granted Critical
Publication of CN101527643B publication Critical patent/CN101527643B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method, a system and main equipment for acquiring stacking system information. The method includes: a subscriber module actively sends an acquiring request of any type of information of each unit in the stacking system to the main equipment; the main equipment sends a broadcasting message in the stacking system and selects the information of each type of each unit consistent with preset strategies in the stacking system according to the preset strategies; the selected information is submitted to the subscriber module until all information of the type selected from the stacking system is submitted to the subscriber module. The invention can improve the overall performance of the stacking system while acquiring the stacking system information.

Description

Obtain method, system and the main equipment of pile system information
Technical field
The present invention relates to pile up technical field, particularly obtain method, system and the main equipment of pile system information.
Background technology
The support intelligence resilient infrastructure (IRF of same type, Intelligent Resilient Framework) switch of characteristic is connected to each other, constitute one " combination plant ", be also referred to as pile system, each switch in the pile system is called a unit (Unit), adopts stack port to interconnect between each unit.Each unit has unique unit number, and the unit of unit number minimum is called main equipment (Master), and other unit is called slave unit (Slave).
Referring to Fig. 1, Fig. 1 is the structural representation of pile system in the prior art.In pile system, comprise a main equipment 101 and a plurality of slave unit 102, main equipment 101 and slave unit 102 all unify to be called the unit.Line module 103 is by the whole pile system of main equipment 101 management, just as the logical equipment of management one Daepori, so main equipment 101 must in time obtain the information of slave unit 102, and the information of all unit (comprising main equipment) is offered line module 103 use.
In the prior art, the mode that line module obtains pile system information has following two kinds:
First kind of mode, each slave unit periodically report the information of self to main equipment; When line module needs, obtain whole information of piling up internal system from main equipment, comprise the information of all unit.
Because slave unit just periodically reports self information, when the interval that periodically reports self information is oversize, information that might slave unit self still can not report when having upgraded immediately, therefore the information on main equipment and the slave unit can not be consistent, at this moment, if line module obtains the information of whole pile system from main equipment, then will inevitably influence the management of line module to whole pile system.And the interval that ought periodically report self information too in short-term, then can cause reporting action very frequent, so greatly the systematic function of consumable products.And nonetheless, can't guarantee that also the data on main equipment and the slave unit are in full accord.
The second way: when the information of slave unit changed, the data that slave unit will change reported to main equipment; When line module needs, obtain whole information of piling up internal system from main equipment.
Though this mode can guarantee the information on main equipment and the slave unit and be consistent fully, but, because in a single day the information of slave unit change with regard to reporting information, in pile system under the more situation in unit, this reporting equally can be very frequent, the resource that has consumed pile system morely.
As seen, all there is defective in above-mentioned two kinds of existing modes of obtaining pile system information, all can influence the performance of whole pile system.
Summary of the invention
The embodiment of the invention proposes a kind of method of obtaining pile system information, is used to obtain pile system information, improves the performance of whole pile system.
The embodiment of the invention also proposes a kind of system and main equipment that obtains pile system information, is used to obtain pile system information, improves the performance of whole pile system.
The technical scheme of the embodiment of the invention is achieved in that
A kind of method of obtaining pile system information comprises:
Line module initiatively sends the request of obtaining the information of any one type of each unit in the pile system to main equipment;
Main equipment sends broadcast in pile system, and choose the information that each unit in the pile system meets the type of described predetermined policy according to predetermined policy, and the information of choosing reported to line module, until the full detail that reports the described type of choosing of pile system to line module.
A kind of system that obtains pile system information comprises: line module and main equipment, and at least one slave unit;
Described line module is used for initiatively sending to main equipment the request of the information of any one type of obtaining each unit of pile system, receives the pile system information that main equipment reports;
Described main equipment, be used for receiving the request of the information of obtaining any one type of pile system that line module sends, and according to predetermined policy, in pile system, send broadcast, in pile system, choose the information of the described type that meets predetermined policy and the information of choosing is reported to line module, until the full detail that reports the described type of choosing of pile system to line module.
Described slave unit is used to receive the broadcast that main equipment sends, and obtains the desired information of this broadcast, and the information of obtaining is sent to main equipment.
A kind of main equipment that obtains pile system information is applied to become in the system of each unit of pile system with the slave unit mutual group, comprising: broadcast transmitting element, acquiring unit and report the unit;
Described broadcast transmitting element, be used for receiving the request of the information of obtaining any one type of pile system that line module sends, and in pile system, send broadcast according to predetermined policy, until reporting the unit to report the full detail of the described type of obtaining of pile system to line module;
Described acquiring unit is used for choosing the information that each unit of pile system meets the described type of predetermined policy;
The described unit that reports is used for reporting the information of described acquiring unit according to the selected described type of pile system of predetermined policy to line module.
The method of obtaining pile system information, system and main equipment that the embodiment of the invention proposes, when line module needed, line module sent the request of obtaining pile system information to main equipment; In whole pile system, send broadcast by main equipment, obtain the information of whole pile system and report line module.As seen, the defective that the mode that the present invention proposes has avoided slave unit periodically to report or initiatively reporting information brought, make line module can either get access to pile system information, consume system resources not meaninglessly again like clockwork, therefore can when obtaining pile system information, improve the overall performance of pile system.
Description of drawings
Fig. 1 is the structural representation of pile system in the prior art;
The method flow diagram that obtains pile system information that Fig. 2 proposes for the present invention;
Fig. 3 obtains and reports mode one flow chart of pile system information for main equipment in the embodiment of the invention;
Fig. 4 is the applied pile system schematic diagram of the inventive method embodiment;
The main equipment structural representation that Fig. 5 proposes for the embodiment of the invention.
Embodiment
The present invention proposes a kind of method of obtaining pile system information, referring to Fig. 2, and the method flow diagram that obtains pile system information that Fig. 2 proposes for the present invention.This method comprises:
Step 201: line module initiatively sends the request of obtaining the information of any one type of each unit in the pile system to main equipment;
Step 202: main equipment sends broadcast in pile system, and choose the information that each unit in the pile system meets the type of described predetermined policy according to predetermined policy, and the information of choosing reported to line module, until the full detail that reports the described type of choosing of pile system to line module.
In the said method, line module sends to main equipment and asks to be specifically as follows in the step 201: adopt command line mode or Simple Network Management Protocol (SNMP, Simple Network Management Protocol) mode to send request.
In the said method, step 202 can have several different specific implementations, below introduces in detail respectively.
Mode one:
Referring to Fig. 3, Fig. 3 is mode one flow chart that main equipment obtained and reported pile system information in the embodiment of the invention, comprising:
Step 301: main equipment sends broadcast in pile system, and described predetermined policy is the minimum value in the information of choosing the type from pile system.Each unit reports separately the minimum value in the information of the type that the subscriber equipment preserved asks earlier in the specific requirement pile system; After main equipment and slave unit were elected minimum value in the information of the described type of self preserving respectively, slave unit was sent to main equipment with the information that elects; Main equipment is selected minimum value in the information of information that self elects and reception, this minimum value is reported to line module.
Step 302: main equipment is given sign M with the described minimum value assignment that reports line module, main equipment send broadcast at pile system relaying supervention, and according to above-mentioned predetermined policy, require each unit in the pile system report in the information of described type greater than M and with the immediate information of M; Here, give " M " just for convenience the minimum value assignment, it will be understood by those skilled in the art that the minimum value assignment all can be realized the present invention to any one sign.
Main equipment and slave unit are judged the information that whether exists in the information of the described type of self preserving greater than M respectively, if there is no, then with theoretical maximum as the information that elects; If exist, then elect in the information of the described type of self preserving greater than M and with the immediate information of M;
Slave unit is sent to main equipment with the information that elects.
Step 303: main equipment judges whether the information that self elects and the information of reception are theoretical maximum, if then finish current flow process; If not, then main equipment is chosen minimum value in the information of information that self elects and reception, and this minimum value is reported to line module, continues execution in step 302.
For aforesaid way one, below describe in detail for a specific example.
Referring to Fig. 4, Fig. 4 is the applied pile system schematic diagram of the inventive method embodiment.This system comprises: line module and 3 unit.Wherein, unit 1 is a main equipment, and it preserves 3 MAC Address: MAC1, MAC3, MAC7; Unit 2 is a slave unit, preserves 2 MAC Address: MAC2, MAC5 altogether; Unit 3 is a slave unit, and it preserves 3 MAC Address: MAC3, MAC5, MAC7.
At the system of Fig. 4, the process of obtaining pile system information comprises:
Step 1: line module initiatively sends the request of obtaining MAC Address in the pile system to unit 1.
First round of voting:
Step 2: unit 1 sends broadcast in pile system, requires each unit in the pile system to report minimum MAC Address.
Step 3: unit 1, unit 2 and unit 3 elect the MAC Address of the minimum of self preserving respectively: MAC1, MAC2 and MAC3, unit 2 and unit 3 are sent to unit 1 with MAC2 and MAC3 respectively.
Step 4: unit 1 { is electing minimum MAC Address MAC1, MAC1 is being reported to line module among MAC1, MAC2, the MAC3}.
Second takes turns election:
Step 5: unit 1 sends broadcast in pile system, require in the pile system each unit report greater than MAC1 and with the immediate MAC Address of MAC1.
Step 6: unit 1, unit 2 and unit 3 elect respectively self preserve greater than MAC1 and with the immediate MAC Address of MAC1, be respectively: MAC3, MAC2 and MAC3, unit 2 and unit 3 are sent to unit 1 with MAC2 and MAC3 respectively.
Step 7: unit 1 { is electing minimum MAC Address MAC2, MAC2 is being reported to line module among MAC3, MAC2, the MAC3}.
The third round election:
Step 8: unit 1 sends broadcast in pile system, require in the pile system each unit report greater than MAC2 and with the immediate MAC Address of MAC2.
Step 9: unit 1, unit 2 and unit 3 elect respectively self preserve greater than MAC2 and with the immediate MAC Address of MAC2, be respectively: MAC3, MAC5 and MAC3, unit 2 and unit 3 are sent to unit 1 with MAC5 and MAC3 respectively.
Step 10: unit 1 { is electing minimum MAC Address MAC3, MAC3 is being reported to line module among MAC3, MAC5, the MAC3}.
The four-wheel election:
Step 11: unit 1 sends broadcast in pile system, require in the pile system each unit report greater than MAC3 and with the immediate MAC Address of MAC3.
Step 12: unit 1, unit 2 and unit 3 elect respectively self preserve greater than MAC3 and with the immediate MAC Address of MAC3, be respectively: MAC7, MAC5 and MAC5, unit 2 and unit 3 are sent to unit 1 with MAC5 and MAC5 respectively.
Step 13: unit 1 { is electing minimum MAC Address MAC5, MAC5 is being reported to line module among MAC7, MAC5, the MAC5}.
The 5th takes turns election:
Step 14: unit 1 sends broadcast in pile system, require in the pile system each unit report greater than MAC5 and with the immediate MAC Address of MAC5.
Step 15: unit 1, unit 2 and unit 3 elect respectively self preserve greater than MAC5 and with the immediate MAC Address of MAC5, wherein:
The MAC Address that unit 1 elects is MAC7;
There is not MAC Address in the mac address information that unit 2 is preserved, so send theoretical maximum (i.e. the character string of 16 systems, each character is " F ") to unit 1 greater than MAC5;
The MAC Address that unit 3 elects is MAC7, and MAC7 is sent to unit 1.
Step 16: unit 1 { is electing minimum MAC Address MAC7, MAC7 is being reported to line module among MAC7, " FFFF-FFFF-FFFF ", the MAC7}.
The 6th takes turns election:
Step 17: unit 1 sends broadcast in pile system, require in the pile system each unit report greater than MAC7 and with the immediate MAC Address of MAC7.
Step 18: unit 1, unit 2 and unit 3 elect respectively self preserve greater than MAC7 and with the immediate MAC Address of MAC7, wherein:
Owing to all there is not MAC Address in the mac address information that unit 1, unit 2 and unit 3 are preserved greater than MAC7, so the MAC Address that unit 1, unit 2 and unit 3 elect is theoretical maximum (the i.e. character string of 16 systems, each character is " F "), unit 2 and unit 3 send theoretical maximum to unit 1 respectively.
Step 19: unit 1 judges the MAC Address that self elects and the MAC Address of reception is theoretical maximum, finishes current flow process.
So far, the mac address information in the pile system that line module obtains is: MAC1, MAC2, MAC3, MAC5 and MAC7, as seen, line module has obtained mac address informations all in the pile system.
Mode two:
Mode two is similar with mode one, difference is, the predetermined policy of mode one is the order reporting information according to from small to large, when the information that reports is theoretical maximum, illustrate that line module has obtained all information of a certain type in the pile system, finish report flow; The predetermined policy of mode two is to report according to from big to small mode, when the information that reports is theoretical minimum value, illustrates that line module has obtained all information of a certain type in the pile system, finishes report flow.
Mode two specifically can comprise:
Step 1: main equipment sends broadcast in pile system, and described predetermined policy is for choosing the maximum in the information of the type from described pile system, and each unit reports the maximum in the information of described type earlier in the specific requirement pile system; After main equipment and slave unit were elected maximum in the information of the described type of self preserving respectively, slave unit was sent to main equipment with the information that elects; Main equipment is selected maximum in the information of information that self elects and reception, this maximum is reported to line module.
Step 2: main equipment is given sign M with the described maximum assignment that reports line module, main equipment send broadcast at pile system relaying supervention, and according to above-mentioned predetermined policy, require each unit in the pile system report in the information of described type less than M and with the immediate information of M;
Main equipment and slave unit are judged the information that whether exists in the information of the described type of self preserving less than M respectively, if there is no, then with theoretical minimum value as the information that elects; If exist, then elect in the information of the described type of self preserving less than M and with the immediate information of M;
Slave unit is sent to main equipment with the information that elects.
Step 3: main equipment judges whether the information that self elects and the information of reception are theoretical minimum value, if then finish current flow process; If not, then main equipment is chosen maximum in the information of information that self elects and reception, and this maximum is reported to line module, continues execution in step 2.
Mode three:
Main equipment sends broadcast in pile system, described predetermined policy is: require the disposable information that reports all the type in each unit in the pile system;
Described transmission broadcast comprises with the step of choosing and report: main equipment sends broadcast in pile system, require the disposable information that reports all the type in each unit in the pile system; Main equipment and slave unit are searched the information of all the type of self preserving respectively, and slave unit is sent to main equipment with the information that finds; The information that main equipment is searched self and the information of reception report to line module.
The embodiment of the invention also proposes a kind of system that obtains pile system information, comprising: line module and main equipment, and at least one slave unit;
Line module is used for initiatively sending to main equipment the request of the information of any one type of obtaining each unit of pile system, receives the pile system information that main equipment reports;
Main equipment, be used for receiving the request of the information of obtaining any one type of pile system that line module sends, and according to predetermined policy, in pile system, send broadcast, in pile system, choose the information of the described type that meets predetermined policy and the information of choosing is reported to line module, until the full detail that reports the described type of choosing of pile system to line module.
Slave unit is used to receive the broadcast that main equipment sends, and obtains the desired information of this broadcast, and the information of obtaining is sent to main equipment.
In the said system, when described predetermined policy when from described pile system, choosing the minimum value in the information of the type, the broadcast that slave unit receives is: require to report the minimum M of the described type information that slave unit preserves for the first time, require subsequently to report in the information of the described type that slave unit preserves greater than M and with the immediate information of M; When the information that do not exist greater than M, then with theoretical maximum as the information of obtaining;
Described main equipment, the information that elects according to self and select minimum value in the reporting information that slave unit receives reports to line module with this minimum value; Whether the information that the further judgement of main equipment self elects subsequently and the slave unit reporting information of reception are theoretical maximum, if then finish current flow process; If not, then main equipment continues to choose minimum value in the slave unit reporting information of information that self elects and reception, and this minimum value is reported to line module.
Perhaps, when described predetermined policy when from described pile system, choosing the maximum in the information of the type, the broadcast that slave unit receives is: require to report the maximum M of the described type information that slave unit preserves for the first time, then require subsequently to report in the information of the described type that slave unit preserves less than M and with the immediate information of M; When the information that do not exist less than M, then with theoretical minimum value as the information of obtaining;
Described main equipment, the information that elects according to self and select minimum value in the reporting information that slave unit receives reports to line module with this minimum value; Whether the information that the further judgement of main equipment self elects subsequently and the slave unit reporting information of reception are theoretical maximum, if then finish current flow process; If not, then main equipment continues to choose minimum value in the slave unit reporting information of information that self elects and reception, and this minimum value is reported to line module.
Perhaps, when described predetermined policy is when requiring the disposable information that reports all the type in each unit in the pile system, the broadcast that slave unit receives is that this slave unit is used to obtain all information of the described type of self preserving when requiring to report all information of the described type that slave unit preserves.
The embodiment of the invention also proposes a kind of main equipment that obtains pile system information, be applied to become in the system of each unit of pile system with the slave unit mutual group, referring to Fig. 5, Fig. 5 is the main equipment structural representation that the embodiment of the invention proposes, and this main equipment comprises: broadcast transmitting element 501, acquiring unit 502 and report unit 503;
Broadcast transmitting element 501, be used for receiving the request of the information of obtaining any one type of pile system that line module sends, and in pile system, send broadcast according to predetermined policy, until reporting the unit to report the full detail of the described type of obtaining of pile system to line module;
Described acquiring unit 502 is used for choosing the information that each unit of pile system meets the described type of predetermined policy;
The described unit 503 that reports is used for reporting the information of described acquiring unit 502 according to the selected described type of pile system of predetermined policy to line module.
When described predetermined policy when from described pile system, choosing the minimum value in the information of the type, above-mentioned broadcast transmitting element 501, after the request that receives the line module transmission, when for the first time sending broadcast, require each unit in the pile system to report minimum M in the information of described type; When after this sending broadcast once more, require in the pile system each unit report greater than sign M and with the immediate information of M; Until receiving the notice that stops to send broadcast;
Acquiring unit 502, can be used in the desired information of main equipment election broadcast, receive the information that slave unit reports, and select according to above-mentioned strategy and to meet this tactful information M, judge subsequently whether the information that main equipment elects and the information of reception are theoretical maximum, if not, then continue in the information of described information that elects and reception, to choose the information M that meets strategy, described information M is sent to reports unit 503; If then notification broadcast message sending unit 501 stops to send broadcast;
Report unit 503, can be used for the information M that reports described pile system information to select to line module according to described strategy.
Perhaps, when described predetermined policy when from described pile system, choosing the maximum in the information of the type, above-mentioned broadcast transmitting element 501, can be used for after the request that receives the line module transmission, when for the first time sending broadcast, require each unit in the pile system to report maximum M in the information of described type; When after this sending broadcast once more, require in the pile system each unit report less than sign M and with the immediate information of M; Until receiving the notice that stops to send broadcast;
Acquiring unit 502, can be used for election in the desired information of main equipment broadcast, receive the information that slave unit reports, and select according to above-mentioned strategy and to meet this tactful information M, judge subsequently whether the information that main equipment elects and the information of reception are theoretical minimum value, if not, then continue in the information of information that elects and reception, to choose the information M that meets strategy, described information M is sent to reports unit 503; If then notification broadcast message sending unit 501 stops to send broadcast;
Report unit 503, can be used for the information M that reports described pile system information to select to line module according to described strategy.
Perhaps, when described predetermined policy is when requiring the disposable information that reports all the type in each unit in the pile system, above-mentioned broadcast transmitting element 501 can be used for sending broadcast at pile system, requires each unit in the pile system to report all information of described type;
Acquiring unit 502 can be used to search all information of the described type of self preserving, receives the information that slave unit reports.
As fully visible, the method for obtaining pile system information, system and main equipment that the embodiment of the invention proposes, when line module needed, line module initiatively sent the request of obtaining pile system information to main equipment; In whole pile system, send broadcast by main equipment, obtain the information of whole pile system and report line module.The present invention can improve the overall performance of pile system when obtaining pile system information.And each unit adopts circulation to elect the mode that reports when reporting the pile system information of self preserving, and can alleviate the burden of main equipment.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (13)

1. a method of obtaining pile system information is characterized in that, described method comprises:
Line module initiatively sends the request of obtaining the information of any one type of each unit in the pile system to main equipment;
Main equipment sends broadcast in pile system, and choose the information that each unit in the pile system meets the type of described predetermined policy according to predetermined policy, and the information of choosing reported to line module, until the full detail that reports the described type of choosing of pile system to line module.
2. method according to claim 1 is characterized in that, described line module sends request to main equipment and is: adopt command line mode or Simple Network Management Protocol SNMP mode to send request.
3. method according to claim 1 and 2 is characterized in that, described predetermined policy is for choosing the minimum value in the mac address information from described pile system;
Described transmission broadcast comprises with the step of choosing and report:
A, main equipment send broadcast in pile system, require the minimum value in each unit reporting MAC address information in the pile system; Main equipment and slave unit are elected the minimum value in the mac address information of self preserving respectively, and slave unit is sent to main equipment with the information that elects; Main equipment is selected minimum value in the information of information that self elects and reception, this minimum value is reported to line module;
B, main equipment are given sign M with the described minimum value assignment that reports line module, main equipment send broadcast at pile system relaying supervention, and according to above-mentioned predetermined policy, require in the pile system in each unit reporting MAC address information greater than M and with the immediate information of M;
Main equipment and slave unit are judged the information that whether exists in the mac address information of self preserving greater than M respectively, if there is no, then with theoretical maximum as the information that elects; If exist, then elect in the mac address information of self preserving greater than M and with the immediate information of M;
Slave unit is sent to main equipment with the information that elects;
C, main equipment judge whether the information that self elects and the information of reception are theoretical maximum, if then finish current flow process; If not, then main equipment is chosen minimum value in the information of information that self elects and reception, and this minimum value is reported to line module, continues execution in step B.
4. method according to claim 1 and 2 is characterized in that, described predetermined policy is for choosing the maximum in the mac address information from described pile system;
Described transmission broadcast comprises with the step of choosing and report:
A, main equipment send broadcast in pile system, require the maximum in each unit reporting MAC address information in the pile system; Main equipment and slave unit are elected the maximum in the mac address information of self preserving respectively, and slave unit is sent to main equipment with the information that elects; Main equipment is selected maximum in the information of information that self elects and reception, this maximum is reported to line module;
B, main equipment are given sign M with the described maximum assignment that reports line module, main equipment send broadcast at pile system relaying supervention, and according to above-mentioned predetermined policy, require in the pile system in each unit reporting MAC address information less than M and with the immediate information of M;
Main equipment and slave unit are judged the information that whether exists in the mac address information of self preserving less than M respectively, if there is no, then with theoretical minimum value as the information that elects; If exist, then elect in the mac address information of self preserving less than M and with the immediate information of M;
Slave unit is sent to main equipment with the information that elects;
C, main equipment judge whether the information that self elects and the information of reception are theoretical minimum value, if then finish current flow process; If not, then main equipment is chosen maximum in the information of information that self elects and reception, and this maximum is reported to line module, continues execution in step b.
5. method according to claim 1 and 2 is characterized in that, described predetermined policy is: require the disposable information that reports all the type in each unit in the pile system;
Described transmission broadcast comprises with the step of choosing and report: the broadcast that main equipment sends in pile system requires the disposable information that reports all the type in each unit in the pile system; Main equipment and slave unit are searched the information of all the type of self preserving respectively, and slave unit is sent to main equipment with the information that finds; The information that main equipment is searched self and the information of reception report to line module.
6. a system that obtains pile system information is characterized in that, described system comprises: line module and main equipment, and at least one slave unit;
Described line module is used for initiatively sending to main equipment the request of the information of any one type of obtaining each unit of pile system, receives the pile system information that main equipment reports;
Described main equipment, be used for receiving the request of the information of obtaining any one type of pile system that line module sends, and according to predetermined policy, in pile system, send broadcast, in pile system, choose the information of the described type that meets predetermined policy and the information of choosing is reported to line module, until the full detail that reports the described type of choosing of pile system to line module.
Described slave unit is used to receive the broadcast that main equipment sends, and obtains the desired information of this broadcast, and the information of obtaining is sent to main equipment.
7. system according to claim 6, it is characterized in that, when described predetermined policy is the minimum value of choosing in the mac address information from described pile system, the broadcast that slave unit receives is: require to report the minimum M of the mac address information that slave unit preserves for the first time, require subsequently to report in the mac address information that slave unit preserves greater than M and with the immediate information of M; When the mac address information that do not exist greater than M, then with theoretical maximum as the information of obtaining;
Described main equipment, the mac address information that elects according to self and select minimum value in the reporting information that slave unit receives reports to line module with this minimum value; Whether the mac address information that the further judgement of main equipment self elects subsequently and the slave unit reporting information of reception are theoretical maximum, if then finish current flow process; If not, then main equipment continues to choose minimum value in the slave unit reporting information of mac address information that self elects and reception, and this minimum value is reported to line module.
8. system according to claim 6, it is characterized in that, when described predetermined policy is the maximum of choosing in the mac address information from described pile system, the broadcast that slave unit receives is: require to report the maximum M of the mac address information that slave unit preserves for the first time, then require subsequently to report in the mac address information that slave unit preserves less than M and with the immediate information of M; When the mac address information that do not exist less than M, then with theoretical minimum value as the information of obtaining;
Described main equipment, the mac address information that elects according to self and select minimum value in the reporting information that slave unit receives reports to line module with this minimum value; Whether the mac address information that the further judgement of main equipment self elects subsequently and the slave unit reporting information of reception are theoretical maximum, if then finish current flow process; If not, then main equipment continues to choose minimum value in the slave unit reporting information of mac address information that self elects and reception, and this minimum value is reported to line module.
9. system according to claim 6, it is characterized in that, described predetermined policy is that the broadcast that slave unit receives is when requiring the disposable information that reports all the type in each unit in the pile system: all information that require to report the described type that slave unit preserves;
Described slave unit is used to obtain all information of the described type of self preserving.
10. a main equipment that obtains pile system information is applied to become in the system of each unit of pile system with the slave unit mutual group, it is characterized in that described main equipment comprises: broadcast transmitting element, acquiring unit and report the unit;
Described broadcast transmitting element, be used for receiving the request of the information of obtaining any one type of pile system that line module sends, and in pile system, send broadcast according to predetermined policy, until reporting the unit to report the full detail of the described type of obtaining of pile system to line module;
Described acquiring unit is used for choosing the information that each unit of pile system meets the described type of predetermined policy;
The described unit that reports is used for reporting the information of described acquiring unit according to the described type of pile system that predetermined policy obtained to line module.
11. main equipment according to claim 10, it is characterized in that, when described predetermined policy is the minimum value of choosing in the mac address information from described pile system, described broadcast transmitting element, be used for after the request that receives the line module transmission, when sending broadcast for the first time, require the minimum M in each unit reporting MAC address information in the pile system; When after this sending broadcast once more, require in the pile system each unit report greater than sign M and with the immediate mac address information of M; Until receiving the notice that stops to send broadcast;
Described acquiring unit, be used in the desired information of main equipment election broadcast, receive the information that slave unit reports, and select according to above-mentioned strategy and to meet this tactful information M, judge subsequently whether the information that main equipment elects and the information of reception are theoretical maximum, if not, then continue in the information of described information that elects and reception, to choose the information M that meets strategy, described information M is sent to reports the unit; If then the notification broadcast message sending unit stops to send broadcast;
The described unit that reports is used for the information M that reports described pile system information to select according to described strategy to line module.
12. main equipment according to claim 10, it is characterized in that, when described predetermined policy is the maximum of choosing in the mac address information from described pile system, described broadcast transmitting element, be used for after the request that receives the line module transmission, when sending broadcast for the first time, require the maximum M in each unit reporting MAC address information in the pile system; When after this sending broadcast once more, require in the pile system each unit report less than sign M and with the immediate mac address information of M; Until receiving the notice that stops to send broadcast;
Described acquiring unit, be used for election in the desired information of main equipment broadcast, receive the information that slave unit reports, and select according to above-mentioned strategy and to meet this tactful information M, judge subsequently whether the information that main equipment elects and the information of reception are theoretical minimum value, if not, then continue in the information of information that elects and reception, to choose the information M that meets strategy, described information M is sent to reports the unit; If then the notification broadcast message sending unit stops to send broadcast;
The described unit that reports is used for the information M that reports described pile system information to select according to described strategy to line module.
13. main equipment according to claim 10, it is characterized in that, described predetermined policy is when requiring the disposable information that reports all the type in each unit in the pile system, described broadcast transmitting element, be used for sending broadcast, require each unit in the pile system to report all information of described type at pile system;
Described acquiring unit is used to search all information of the described type of self preserving, receives the information that slave unit reports.
CN2009100809284A 2009-03-26 2009-03-26 Method, system and main equipment for acquiring stacking system information Expired - Fee Related CN101527643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100809284A CN101527643B (en) 2009-03-26 2009-03-26 Method, system and main equipment for acquiring stacking system information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100809284A CN101527643B (en) 2009-03-26 2009-03-26 Method, system and main equipment for acquiring stacking system information

Publications (2)

Publication Number Publication Date
CN101527643A CN101527643A (en) 2009-09-09
CN101527643B true CN101527643B (en) 2011-05-11

Family

ID=41095351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100809284A Expired - Fee Related CN101527643B (en) 2009-03-26 2009-03-26 Method, system and main equipment for acquiring stacking system information

Country Status (1)

Country Link
CN (1) CN101527643B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106685826A (en) * 2016-12-01 2017-05-17 瑞斯康达科技发展股份有限公司 Interchanger stacking system, slave unit, switching chip and method for processing protocol message

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702678B (en) * 2009-11-19 2012-01-04 杭州华三通信技术有限公司 Star-shaped stack system and method thereof
CN101883045B (en) * 2010-04-29 2013-01-30 北京星网锐捷网络技术有限公司 Method, system and device for combining stacking systems
CN107124369B (en) * 2017-04-21 2020-01-03 新华三技术有限公司 Method and device for acquiring number of MAC (media Access control) table entries

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713608A (en) * 2004-06-25 2005-12-28 杭州华为三康技术有限公司 Distributed realization of rapid generating tree under multiple CPU environment
CN101110782A (en) * 2007-08-28 2008-01-23 中兴通讯股份有限公司 System management piling method used for Ethernet switchboard
US7333903B2 (en) * 2005-09-12 2008-02-19 Acuity Brands, Inc. Light management system having networked intelligent luminaire managers with enhanced diagnostics capabilities
CN101217411A (en) * 2008-01-02 2008-07-09 杭州华三通信技术有限公司 A method, device and system realizing the upgrading of stacking device software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713608A (en) * 2004-06-25 2005-12-28 杭州华为三康技术有限公司 Distributed realization of rapid generating tree under multiple CPU environment
US7333903B2 (en) * 2005-09-12 2008-02-19 Acuity Brands, Inc. Light management system having networked intelligent luminaire managers with enhanced diagnostics capabilities
CN101110782A (en) * 2007-08-28 2008-01-23 中兴通讯股份有限公司 System management piling method used for Ethernet switchboard
CN101217411A (en) * 2008-01-02 2008-07-09 杭州华三通信技术有限公司 A method, device and system realizing the upgrading of stacking device software

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106685826A (en) * 2016-12-01 2017-05-17 瑞斯康达科技发展股份有限公司 Interchanger stacking system, slave unit, switching chip and method for processing protocol message
CN106685826B (en) * 2016-12-01 2019-09-17 瑞斯康达科技发展股份有限公司 Switchboard stacked system, from equipment, exchange chip and processing protocol message method

Also Published As

Publication number Publication date
CN101527643A (en) 2009-09-09

Similar Documents

Publication Publication Date Title
US10952143B2 (en) Sleeping and wake-up methods and apparatuses of master-slave network, and power saving system of master-slave network
CN101404621B (en) Method and routing device for implementing VRRP load balance
CN101820435B (en) Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system
CA2601117C (en) Power-save control for network master device
CN101068179B (en) Customer end wireless switch-in method, system and device thereof
CN101610593B (en) Access point, access controller and method for access point to select access controller
US20220248417A1 (en) Methods, apparatuses and systems for configuring sidelink resource and readable storage media
CN100484034C (en) Method and system for access user by virtual router redundance protocol
WO2013158589A1 (en) Establishing a mesh network
CN101110776B (en) Backup method, backup device and backup system for data business
CN105357116A (en) Method of multiple terminals for accessing server and intelligent terminal
CN104679796A (en) Selecting method, selecting device and database mirror image cluster node
CN101527643B (en) Method, system and main equipment for acquiring stacking system information
US20140181201A1 (en) Apparatus and method for managing local wireless network group
CN101626314A (en) Backup method and backup system of central node of star topology network
CN111131054A (en) Method for realizing intermittent connection of routers by a large number of terminals and router
US11006358B1 (en) Reconfigurable data transmission system with terminal devices of different data transmission modes
US20210297366A1 (en) Resource distribution method and apparatus in internet of things, device, and storage medium
CN103002550A (en) Method for controlling sites to enter sleeping state and sites
CN101355469B (en) Method for processing network address and route node
CN113055210A (en) Method and equipment for sending interface information
US20200366454A1 (en) Resource configuration method and device, and computer storage medium
CN102394824A (en) Method and device for sending message in dual-machine annular stacking system
CN105682173A (en) Network access method and equipment
CN102571888A (en) Method for discovering wireless sensor access multiplexing equipment in centralized control type wireless sensor network

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110511

Termination date: 20200326

CF01 Termination of patent right due to non-payment of annual fee