CN100423493C - Method for managing distributing type system in network - Google Patents

Method for managing distributing type system in network Download PDF

Info

Publication number
CN100423493C
CN100423493C CNB200610083656XA CN200610083656A CN100423493C CN 100423493 C CN100423493 C CN 100423493C CN B200610083656X A CNB200610083656X A CN B200610083656XA CN 200610083656 A CN200610083656 A CN 200610083656A CN 100423493 C CN100423493 C CN 100423493C
Authority
CN
China
Prior art keywords
mib
rule
message
carries
transmit
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
CNB200610083656XA
Other languages
Chinese (zh)
Other versions
CN1889460A (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 CNB200610083656XA priority Critical patent/CN100423493C/en
Publication of CN1889460A publication Critical patent/CN1889460A/en
Application granted granted Critical
Publication of CN100423493C publication Critical patent/CN100423493C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for managing distributed-mode system in network includes receiving message carried with MIB instance name and sent from management station by control center and comparing received MIB instance name carried by message with retransmission rule stored in said center separately to judge whether received MIB instance name is matched to MIB number recorded in retransmission rule or not, retransmitting said message to distributed-mode system controlled device recorded in retransmission rule.

Description

A kind of in network the method for managing distributing type system
Technical field
The present invention relates to network management technology, particularly relate to a kind of Simple Network Management Protocol (SNMP, Simple Network Managing Protocol) method of managing distributing type system in network of utilizing.
Background technology
In catenet, often comprise one or more distributed system.Each distributed system is made up of a control centre and several controlled devices.For example, by the storage system that a storage control and several disk chassis are formed, wherein storage control is exactly the control centre of storage system, and each disk chassis is exactly a controlled device of storage system.In catenet, generally utilize SNMP that all network elements that comprise each distributed system in the network are managed by network management workstation.
Network management workstation to certain Distributed System Management in, need to be provided with simultaneously/to obtain the information of a plurality of controlled devices in this distributed system sometimes.This just needs described control centre to have SNMP message forwarding capability, and the SNMP message of network management workstation being sent according to certain forwarding rule is forwarded on the control corresponding object.
The technical scheme of existing techniques in realizing above-mentioned functions is, according to snmp protocol, several controlled devices are corresponded to group's name/safety name, send in the SNMP message of control centre at network management workstation, as long as specified group's name/safety name, control centre just can be transmitted to corresponding apparatus with the SNMP message according to above-mentioned corresponding relation.Because network management workstation sends to the SNMP message of control centre and has all kinds, the controlled device combination that every type SNMP message need be visited has nothing in common with each other, and therefore a plurality of groups name/safety name need be set represent these combinations.Certainly, also several controlled devices can be corresponded to SNMP operation, according to the operation and the described corresponding relation of the SNMP message of being received the SNMP message is transmitted to corresponding apparatus by control centre then.
For example, in a distributed system, 4 controlled devices are arranged: first controlled device, second controlled device, the 3rd controlled device and the 4th controlled device.When group's name/user name is set, first controlled device, second controlled device are corresponded to first group name/safety name; Second controlled device, the 3rd controlled device are corresponded to second group name/safety name; The 4th controlled device is corresponded to the 3rd group name/safety name, or the like.
The shortcoming of prior art is, described SNMP message forwarding can only be operated according to group's name/safety name or SNMP and be carried out.In actual applications, for convenient management, a large amount of group's names/safety name can not be set, so the number of group's name/safety name is limited; And the number of SNMP operation has only the several of minority especially.But during the controlled device in network management workstation visit distributed system, access object has a large amount of combinations, and only adopting group's name/safety name and SNMP to operate can't these combination of perfect representation.For example in above-mentioned example, the combination of first controlled device and the 4th controlled device is not just by group's name/safety name expression.Like this, when network management workstation need be provided with/obtain the information of a plurality of controlled devices in this distributed system simultaneously, and the combination of described a plurality of controlled devices is not by group's name/safety name and SNMP operation expression the time, just can only send the SNMP message respectively to these controlled devices respectively, thereby reduce the efficient of network management.
Summary of the invention
In view of this, main purpose of the present invention be to provide a kind of in network the method for managing distributing type system, to improve the efficient of network management.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A kind of in network the method for managing distributing type system, distributed system control centre preserves and transmits rule, in order to the records management information storehouse MIB number corresponding relation with the distributed system controlled device, this method comprises:
Control centre receives the message that carries the MIB Instance Name that is sent by management work station, for the forwarding rule of self preserving, compare the MIB Instance Name that carries in the message of being received respectively, whether with transmit the MIB number coupling that writes down in the rule, if coupling then is transmitted to described message the distributed system controlled device that this forwarding rule is write down.
Wherein, the MIB Instance Name that carries in the message that described comparison is received whether with transmit the MIB number coupling that writes down in the rule and be:
The MIB Instance Name that carries in the message that A1, comparison are received with transmit MIB number that writes down in the rule, the digital number that whether is comprised is identical, if identical then execution in step B1, otherwise think the MIB Instance Name that carries in the message of being received with transmit MIB number of writing down in the rule and do not match;
The MIB Instance Name that carries in B1, the message relatively received with transmit MIB number that writes down in the rule, whether the value of its corresponding numeral is identical, if then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think the MIB Instance Name that carries in the message of receiving with transmit MIB number of writing down in the rule and do not match.
Wherein, the MIB Instance Name that carries in the message that described comparison is received whether with transmit the MIB number coupling that writes down in the rule and be:
The MIB Instance Name that carries in the message that A2, comparison are received with transmit MIB number that writes down in the rule, the digital number that whether is comprised is identical, if identical then execution in step B2, otherwise execution in step C2;
The MIB Instance Name that carries in B2, the message relatively received with transmit MIB number that writes down in the rule, whether the value of its corresponding numeral is identical, if then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think the MIB Instance Name that carries in the message of receiving with transmit MIB number of writing down in the rule and do not match;
The digital number that the MIB Instance Name that carries in the message that C2, comparison are received is comprised, whether greater than the digital number that is comprised for MIB number that writes down in the described forwarding rule, if execution in step D2 then, otherwise think the MIB Instance Name that carries in the message of being received with transmit MIB number of writing down in the rule and do not match;
D2, get in the MIB Instance Name that carries in the message of being received, preceding n numeral be as object to be compared, and wherein n is the digital number that MIB number of writing down in the described forwarding rule comprised;
Whether MIB number of writing down in the object to be compared that obtains among E2, the comparison step D2 and the described forwarding rule identical, if identical, then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
Wherein, the MIB Instance Name that carries in the message that described comparison is received whether with transmit the MIB number coupling that writes down in the rule and be:
The MIB Instance Name that carries in the message that A3, comparison are received with transmit MIB number that writes down in the rule, the digital number that whether is comprised is identical, if identical then execution in step B3, otherwise execution in step C3;
The MIB Instance Name that carries in B3, the message relatively received with transmit MIB number that writes down in the rule, whether the value of its corresponding numeral is identical, if then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think the MIB Instance Name that carries in the message of receiving with transmit MIB number of writing down in the rule and do not match;
The digital number that the MIB Instance Name that carries in the message that C3, comparison are received is comprised, whether greater than the digital number that is comprised for MIB number that writes down in the described forwarding rule, if execution in step D3 then, otherwise execution in step F3;
D3, get in the MIB Instance Name that carries in the message of being received, preceding n numeral be as object to be compared, and wherein n is the digital number that MIB number of writing down in the described forwarding rule comprised;
Whether MIB number of writing down in the object to be compared that obtains among E3, the comparison step D3 and the described forwarding rule identical, if identical, then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
F3, get in MIB number that writes down in the described forwarding rule, preceding m numeral be as object to be compared, and wherein m is the digital number that the MIB Instance Name that carries in the message of being received is comprised;
Whether the MIB Instance Name that carries in object to be compared that obtains among G3, the comparison step F3 and the message of being received is identical, if it is identical, then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
Wherein, the MIB Instance Name that carries in the message that described comparison is received whether with transmit the MIB number coupling that writes down in the rule and be:
The MIB Instance Name that carries in the message that A4, comparison are received with transmit MIB number that writes down in the rule, the digital number that whether is comprised is identical, if identical then execution in step B4, otherwise execution in step C4;
The MIB Instance Name that carries in B4, the message relatively received with transmit MIB number that writes down in the rule, whether the value of its corresponding numeral is identical, if then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think the MIB Instance Name that carries in the message of receiving with transmit MIB number of writing down in the rule and do not match;
The digital number that the MIB Instance Name that carries in the message that C4, comparison are received is comprised, whether less than the digital number that is comprised for MIB number that writes down in the described forwarding rule, if execution in step D4 then, otherwise think the MIB Instance Name that carries in the message of being received with transmit MIB number of writing down in the rule and do not match;
D4, get in MIB number that writes down in the described forwarding rule, preceding m numeral be as object to be compared, and wherein m is the digital number that the MIB Instance Name that carries in the message of being received is comprised;
Whether the MIB Instance Name that carries in object to be compared that obtains among E4, the comparison step D4 and the message of being received is identical, if it is identical, then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
Wherein, described distributed system control centre preserves and transmits rule, in order to the corresponding relation of records management information storehouse MIB Instance Name and distributed system controlled device is:
Transmit MIB number, one MIB mask of record and a distributed system controlled device in rule at each bar, wherein the digital number that is comprised with the MIB mask for MIB number is identical;
The MIB Instance Name that carries in the message that described comparison is received, whether with transmit the MIB number coupling that writes down in the rule and be:
Control centre is for the forwarding rule of self preserving, respectively with the MIB Instance Name that carries in the message of being received with transmit the MIB mask that is write down in the rule and carry out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule, if coupling, then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
Wherein, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A1, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b1, otherwise think operation result with transmit MIB number of writing down in the rule and do not match;
B1, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
Wherein, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A2, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b2, otherwise execution in step c2;
B2, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
The digital number that the MIB Instance Name that carries in the message that c2, judgement are received is comprised, whether greater than transmitting the digital number that the MIB mask that write down in the rule is comprised, if greater than, execution in step d2 then, otherwise think operation result with transmit MIB number of writing down in the rule and do not match;
D2, get in the MIB Instance Name that carries in the message of being received, the MIB mask that is write down in a preceding n numeral and the described forwarding rule carries out step-by-step and computing, and wherein n is the digital number that MIB number of writing down in the described forwarding rule comprised;
Whether the result that step-by-step and computing obtain among e2, the comparison step d2 with to transmit MIB number of being write down in the rule identical, if identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
Wherein, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A3, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b3, otherwise execution in step c3;
B3, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
C3, judge the digital number that the MIB Instance Name that carries in the message received is comprised, whether greater than transmitting the digital number that the MIB mask that write down in the rule is comprised, if greater than, execution in step d3 then, otherwise execution in step f3;
D3, get in the MIB Instance Name that carries in the message of being received, the MIB mask that is write down in a preceding n numeral and the described forwarding rule carries out step-by-step and computing, and wherein n is the digital number that MIB number of writing down in the described forwarding rule comprised;
Whether the result that step-by-step and computing obtain among e3, the comparison step d3 with to transmit MIB number of being write down in the rule identical, if identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
F3, get in the MIB mask that writes down in the described forwarding rule, the MIB Instance Name that carries in preceding m numeral and the message of being received carries out step-by-step and computing, and wherein m is the digital number that the MIB Instance Name that carries in the message of being received is comprised;
Whether step-by-step and the result who obtains with to transmit MIB number preceding m the numeral that is write down in the rule identical among g3, the comparison step f3, if identical, then think operation result with transmit MIB number of writing down in the rule and mate, otherwise think and do not match.
Wherein, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A4, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b4, otherwise execution in step c4;
B4, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
C4, judge the digital number that the MIB Instance Name that carries in the message received is comprised, whether greater than transmitting the digital number that the MIB mask that write down in the rule is comprised, if greater than, execution in step d4 then, otherwise execution in step f4;
D4, get in the MIB Instance Name that carries in the message of being received, the MIB mask that is write down in a preceding n numeral and the described forwarding rule carries out step-by-step and computing, and wherein n is the digital number that MIB number of writing down in the described forwarding rule comprised;
Whether the result that step-by-step and computing obtain among e4, the comparison step d4 with to transmit MIB number of being write down in the rule identical, if identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
F4, the MIB Instance Name that carries in the message of being received is carried out zero padding operation, the digital number that the MIB mask that writes down in the digital number that the MIB Instance Name that carries in the message of being received is comprised and the described forwarding rule is comprised is identical;
G4, with the result that obtains among the step f4 with transmit the MIB mask that writes down in the rule and carry out step-by-step and computing, and whether the result that obtains of comparison step step-by-step and computing is with to transmit MIB number of being write down in the rule identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
Wherein, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A5, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b5, otherwise execution in step c5;
B5, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
The digital number that the MIB Instance Name that carries in the message that c5, judgement are received is comprised, whether less than transmitting the digital number that the MIB mask that write down in the rule is comprised, if less than, execution in step d5 then, otherwise think operation result with transmit MIB number of writing down in the rule and do not match;
D5, get in the MIB mask that is write down in the described forwarding rule, the MIB Instance Name that carries in preceding m numeral and the message of being received carries out step-by-step and computing, and wherein m is the digital number that the MIB Instance Name that carries in the message of being received is comprised;
Whether the result that step-by-step and computing obtain among e5, the comparison step d5 with to transmit MIB number of being write down in the rule identical, if identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
Wherein, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A6, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b6, otherwise execution in step c6;
B6, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
The digital number that the MIB Instance Name that carries in the message that c6, judgement are received is comprised, whether less than transmitting the digital number that the MIB mask that write down in the rule is comprised, if less than, execution in step d6 then, otherwise think operation result with transmit MIB number of writing down in the rule and do not match;
D6, the MIB Instance Name that carries in the message of being received is carried out zero padding operation, the digital number that the MIB mask that writes down in the digital number that the MIB Instance Name that carries in the message of being received is comprised and the described forwarding rule is comprised is identical;
E6, with the result that obtains in the steps d 6 with transmit the MIB mask that writes down in the rule and carry out step-by-step and computing, and whether the result that obtains of comparison step step-by-step and computing is with to transmit MIB number of being write down in the rule identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
Wherein, described message is a Simple Network Management Protocol SNMP message, and described distributed system control centre preserves and transmits rule, in order to the corresponding relation of records management information storehouse MIB Instance Name and distributed system controlled device is:
Transmit MIB number, one a SNMP operation of record and a distributed system controlled device in the rule at each bar;
With before transmitting the MIB number coupling that writes down in the rule whether the MIB Instance Name that control centre carries in the message of relatively being received further comprise:
The operation that the SNMP message that judgement is received will carry out, whether with transmit rule in the SNMP operation of writing down identical, if MIB Instance Name identical then that carry in the message that continues relatively to be received, whether with transmit the MIB number coupling that writes down in the rule, otherwise directly think the MIB Instance Name that carries in the message of being received with transmit MIB number of writing down in the rule and do not match.
Wherein, described message is a Simple Network Management Protocol SNMP message, and described distributed system control centre preserves and transmits rule, in order to the corresponding relation of records management information storehouse MIB Instance Name and distributed system controlled device is:
Transmit MIB number, one MIB mask of record in rule, a SNMP operation and a distributed system controlled device at each bar, wherein the digital number that is comprised with the MIB mask for MIB number is identical;
The MIB mask that is write down in MIB Instance Name that control centre carries in the message that will be received and the forwarding rule carries out further comprising before the computing:
The operation that the SNMP message that judgement is received will carry out, whether with transmit rule in the SNMP operation of writing down identical, if MIB Instance Name identical then that carry in the message that continues to be received with transmit the MIB mask that is write down in the rule and carry out computing, otherwise directly think the MIB Instance Name that carries in the message that will be received with transmit MIB number of being write down in the rule and do not match.
Adopt technical scheme provided by the present invention, the control centre of distributed system is according to the management information bank (MIB that carries in the SNMP message, Management Information Base) Instance Name is as the foundation of transmitting, and record need be transmitted to the SNMP type of message of each controlled device in the control centre of distributed system.When network management workstation need be provided with/obtain the information of a plurality of controlled devices in certain distributed system simultaneously, still only need to send the control centre of a SNMP message message to this distributed system, control centre is at each controlled device, judge respectively whether described SNMP message needs to be transmitted to this controlled device, then transmit described SNMP message if desired, thereby realized visiting simultaneously the function of a plurality of controlled devices in the distributed system.Because in technical scheme provided by the present invention, under the situation of the various possible combination of the controlled device that does not need to represent that various types of SNMP messages will be visited, therefore also just network management workstation can not occur can only send the situation of SNMP message respectively to a plurality of controlled devices to be visited, thereby has improved the efficient of managing distributing type system.
Description of drawings
Fig. 1 be provided by the invention in network the method flow diagram of managing distributing type system.
Embodiment
Core concept of the present invention is: network management workstation sends the SNMP message to the control centre of distributed system, control centre adopts the MIB Instance Name as transmitting foundation, described SNMP message is transmitted to the controlled device of self controlling, returns to network management workstation after the response message reorganization of then controlled device being returned.
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
In a SNMP message, carry a MIB Instance Name to I haven't seen you for ages; According to the SNMP operation that message will carry out, also may carry the MIB value corresponding with this MIB Instance Name, it is right to constitute a MIB Instance Name/MIB value.The MIB Instance Name is used to specify the mib object example that needs visit, it is by the object identifier (OID of mib object, Object Identifier) adds that the example index constitutes, a mib object may have a plurality of examples, in the Instance Name of these examples, the identical and example index difference of object identifier; The MIB value then is used to represent the value of this MIB example.Be an example that the MIB Instance Name/the MIB value is right below:
1.3.6.1.2.1.1.1.0=‘abc’
The point minute numeral on the equal sign left side is exactly the MIB Instance Name, and wherein 1.3.6.1.2.1.1.1 is the OID of described mib object, and last position 0 is exactly described example index, equal sign the right ' abc ' is exactly described MIB value.Here in order to narrate conveniently, adopt each numeral in the decimal representation MIB Instance Name, represent with binary digit in the reality, for example, suppose that then 1.3.6.1.2.1.1.1.0 should be expressed as 00000001.00000011.00000110.00000001.00000010.00000001.00 000001.00000001.00000000 in practice with each numeral in the byte representation MIB Instance Name.
SNMP message based on the MIB Instance Name provided by the present invention is transmitted scheme, is exactly in fact that control centre decides how to transmit the SNMP message according to a few numerals in the MIB Instance Name in the SNMP message of being received.
Suppose in a distributed system, 2 controlled devices are arranged: first controlled device, second controlled device.Wherein, the Internet protocol of first controlled device (IP, Internet Protocol) address is 1.2.3.4, and the IP address of second controlled device is 1.2.3.5.
In first embodiment, in entrained MIB Instance Name, preceding several numerals are forwarded to designated equipment for the SNMP message of specifying numerical value.For example, suppose the SNMP message that preceding 7 numerals of entrained MIB Instance Name are 1.3.6.1.2.1.1 is forwarded to first controlled device and second controlled device, can in control centre, add following two and transmit rule:
1.3.6.1.2.1.1 1.2.3.4
1.3.6.1.2.1.1 1.2.3.5
Wherein, the first half of every rule is an OID or Instance Name, in order to narrate conveniently, is referred to as MIB number; Latter half is the address of a controlled device.Suppose that network management workstation sends to entrained MIB example 1.3.6.1.2.1.1.2, totally 8 bit digital by name of SNMP message of control centre.After the SNMP message that network management workstation sends is received by control centre, find that preceding 7 numerals of the MIB Instance Name that carries in the described SNMP message are 1.3.6.1.2.1.1, just described SNMP message is transmitted to first controlled device and second controlled device respectively.Suppose that again network management workstation sends to entrained MIB example 1.3.6.1.2.1.1.2.8, totally 9 bit digital by name of SNMP message of control centre.After the SNMP message that network management workstation sends is received by control centre, find that preceding 7 numerals of the MIB Instance Name that carries in the described SNMP message are 1.3.6.1.2.1.1, also described SNMP message is transmitted to first controlled device and second controlled device respectively.
In the above-described embodiments, can only utilize preceding several numerals of the MIB Instance Name that carries in the SNMP message as transmitting foundation.The numeral that can utilize the optional position in the MIB Instance Name if desired then needs further to add the MIB mask as transmitting foundation in transmitting rule.In addition, as previously mentioned, in the message of reality, the numeral in the MIB Instance Name all is to represent with the form of binary number, after having added described MIB mask, can also further utilize some binary digit in the described MIB Instance Name as transmitting foundation.
For example, if the MIB Instance Name first digit that carries in SNMP message is 1, third digit is 6, then this SNMP message is forwarded to first controlled device and second controlled device, at this moment can add following two and transmit rule in control centre:
1.0.6.0.0.0.0 0xff.0.0xff.0.0.0.0 1.2.3.4
1.0.6.0.0.0.0 0xff.0.0xff.0.0.0.0 1.2.3.5
Wherein, 0xff.0.0xff.0.0.0.0 is described MIB mask, in order to narrate conveniently, adopts hexadecimal number to represent that each numeral in the MIB mask is represented with one 8 bit in practice here.In the narration below, the numeral that every front has 0x all is to use hexadecimal representation.Transmit in the rule at every, the numeral in the MIB mask, with numeral in MIB number be to concern one to one.When the numeral in the numeral in the MIB mask and MIB number is all used binary representation, the binary digit in every MIB mask of transmitting in the rule, with binary digit in MIB number also be to concern one to one.
Control centre is when whether SNMP message that judgement is received is transmitted rule and be complementary with certain bar, only judge the MIB Instance Name that carries in the SNMP message, with MIB number that transmits in the rule, the MIB mask be 1 those the position on whether identical, if identical would think message with transmit rule match, otherwise think and do not match.In concrete operations, MIB Instance Name entrained in the message can be carried out step-by-step and operation with the MIB mask, if the result who obtains with transmit rule in MIB number identical think message with transmit rule match.For example, the example that carries in SNMP message 1.3.6.1.2.1.1 by name, with MIB mask 0xff.0.0xff.0.0.0.0 step-by-step with the operation after, the result who obtains is 1.0.6.0.0.0.0, with above-mentioned two rule couplings, then control centre is transmitted to first controlled device and second controlled device with this SNMP message.
If two above-mentioned forwarding rules modifications are become form as follows:
0.0.0.0.0.0x30.0 0.0.0.0.0.0xf0 1.2.3.4
0.0.0.0.0.0x30.0 0.0.0.0.0.0xf0 1.2.3.5
Then as long as high 4 of the 6th numeral of the entrained MIB Instance Name of SNMP message be binary zero 011, control centre just thinks and this message and above two regular couplings message is transmitted to by first controlled device and second controlled device.
Certainly, can stipulate that also control centre is when whether SNMP message that judgement is received is transmitted rule and be complementary with certain bar, only judge the MIB Instance Name that carries in the SNMP message, with MIB number that transmits in the rule, the MIB mask be 0 those the position on whether identical, if identical would think message with transmit rule match, otherwise think and do not match.
When being set, the forwarding rule it is noted that for same control centre the forwarding rule of repetition should not arranged.For example, such situation should not appear: transmit rule according to article one, if high 4 of the 6th numeral of the entrained MIB Instance Name of SNMP message are 1 entirely, then this SNMP message is transmitted to first controlled device; Transmit rule according to second,, then this SNMP message is transmitted to first controlled device if all positions of the 6th numeral of the entrained MIB Instance Name of SNMP message are 1 entirely.Obviously, the situation that second is transmitted rule has been included in article one forwarding rule, therefore second should be set again transmit rule.Certainly, if transmit rule,, then this SNMP message is transmitted to first controlled device, the forwarding rule that such situation does not repeat at last if low 6 of the 6th numeral of the entrained MIB Instance Name of SNMP message is 1 entirely according to second.
According to the method described above, network management workstation can be provided with forwarding rule as implied above as required flexibly, and set forwarding rule downloading is arrived control centre.Control centre preserves the forwarding rule that network management workstation issued.Control centre is receiving behind the SNMP message that network management workstation is sent, the SNMP message is forwarded to the controlled device of appointment according to the forwarding rule of being preserved, and, reorganize the SNMP message then the result is returned to network management workstation from designated equipment acquisition corresponding results.
For described forwarding rule is set, network management workstation need be provided with the value of following six mib objects according to snmp protocol, then these six mib objects is offered control centre.These six mib objects lump together one of expression and transmit rule.
The mib object name The MIB object type The mib object access rights The mib object explanation
snmpRelayPro MappingIndex Integer not-accessible Transmit number of regulation
snmpRelayPro MappingName OID read-create Transmit regular MIB number
snmpRelayPro MappingMask OID read-create Transmit the MIB mask of rule
snmpRelayPro MappingOper Integer read-create Transmit the SNMP operation of rule
snmpRelayPro MappingDest IP read-create The address of controlled device
snmpRelayPro MappingRowStatus The row state read-create Transmit the state of rule
Need to prove that last table has just provided the example that is used to be provided with the mib object tabulation of transmitting rule.Wherein srnmpRelayProMappingIndex is used to represent to transmit the sequence number of rule, and the forwarding number of regulation in the same control centre is unduplicated; SnmpRelayProMappingName is used for representing transmitting MIB number of rule; SnmpRelayProMappingMask is used for representing to transmit the MIB mask of rule, and for the situation that does not adopt the MIB mask, this mib object can not provide; SnmpRelayProMappingOper is used for expression and transmits regular pairing SNMP operation, i.e. this forwarding rule is only effective to the SNMP message that carries out the specified operation of snmpRelayProMappingOper, and this mib object can not provide yet; SnmpRelayProMappingDest is used for expression and transmits regular pairing controlled device address, represents with 32 IP addresses in existing snmp protocol, as required also can for example 64 IP addresses or MAC Address are represented with other forms; SnmpRelayProMappingRowStatus is used to represent to transmit the state of rule, thereby creates or delete this forwarding rule.
Please refer to Fig. 1, Fig. 1 be provided by the invention in network the method flow diagram of managing distributing type system.This flowcharting the handling process of control centre after receiving the SNMP message that network management workstation sends of distributed system.
Step U01: the SNMP message that the receiving management work station is sent.
Step U02: all that self is preserved are transmitted rule and are transmitted rule as being untreated.
Described forwarding rule is to be provided with by providing to control centre in above-mentioned 6 mib objects by management work station.
Step U03: never choose one in the processing forward rule wantonly as current forwarding rule.
In the narration of step U07, suppose that current forwarding rule is at following steps U04:
1.0.6.0.0.0.0 0xff.0.0xfff.0.0.0.0 1.2.3.4
Step U04: with the MIB mask of putting down in writing in the current forwarding rule, with step-by-step of example masterpiece and operation entrained in the SNMP message that is received.
Step U05: the result who obtains among the determining step U04, whether with current forwarding rule in MIB number coupling putting down in writing, if mate then execution in step U06, otherwise execution in step U07.
If in the SNMP message the digital number of entrained Instance Name with transmit rule in the digital number of the MIB mask put down in writing identical, said so here coupling refer among the step U04 to the result and current forwarding rule in put down in writing MIB number identical.
If the digital number m of entrained Instance Name is greater than the digital number n of transmitting the MIB mask of putting down in writing in the rule in the SNMP message, then only get in the Instance Name entrained in the SNMP message before n numeral and MIB mask carry out step-by-step and operation.For example, if entrained example is called 1.3.6.1.2.1.1.3.5 totally 9 numerals in the SNMP message, and the MIB mask of being put down in writing in the forwarding rule is 0xff.0.0xff.0.0.0.0 totally 7 numerals, then only get in the entrained Instance Name of SNMP message 1.3.6.1.2.1.1 totally 7 numerals with transmit the MIB mask of being put down in writing in the rule and carry out step-by-step and operation, the result who obtains is 1.0.6.0.0.0.0.In this case, said here coupling refers to also be among the step U04 to the result and current forwarding rule in put down in writing MIB number identical.
If the digital number m of entrained Instance Name is less than the digital number n of transmitting the MIB mask of putting down in writing in the rule in the SNMP message, then can carry out the zero padding operation to the Instance Name that carries in the SNMP message, the Instance Name trailing zero of promptly carrying in the SNMP message is n up to the digital number of Instance Name.In this case, said here coupling refers to also be among the step U04 to the result and current forwarding rule in put down in writing MIB number identical.
If the digital number m of entrained Instance Name is less than the digital number n of transmitting the MIB mask of putting down in writing in the rule in the SNMP message, also can only gets Instance Name entrained in preceding m numeral transmitting the MIB mask put down in writing in the rule and the SNMP message and carry out step-by-step and operation.In this case, said here coupling refers to resulting result among the step U04, and is identical with MIB number that puts down in writing in the current forwarding rule preceding m numeral.
Certainly, be not equal to the situation of the digital number of transmitting the MIB mask of putting down in writing in the rule for the digital number of Instance Name entrained in the SNMP message, can think directly that also the Instance Name that carries in the SNMP message and MIB number of current forwarding regular record do not match.
Step U06: described SNMP message is sent to the controlled device of putting down in writing in the current forwarding rule.
Step U07: with current forwarding rule as processing forward rule
Step U08: judge that whether all of self preserving are transmitted rules all is processing forward rule, if execution in step U09 then, otherwise return execution in step U03.
Step U09: finish current flow process.
Above flow process at be network management workstation when control centre is provided for the mib object of transmitting rule is set, the situation of other five objects except that the snmpRelayProMappingOper object is provided.That is to say that control centre is not judged the operation that the SNMP message of receiving from network management center will carry out.If network management workstation further provides snmpRelayProMappingOper object to control centre, then control centre also needs to judge the operation that the SNMP message received from network management center will carry out, whether identical with the SNMP operation put down in writing in the current forwarding rule, if inequality then current forwarding rule is labeled as processing forward rule, handle next bar then and transmit rule.
And if network management workstation does not provide snmpRelayProMappingMask when control centre is provided for the mib object of transmitting rule is set, promptly do not adopt the MIB mask, then step U04 can omit.And in step U05, control centre directly relatively in the SNMP message entrained Instance Name with transmit MIB number that puts down in writing in the rule, if both couplings then execution in step U06, otherwise execution in step U07.Be not equal to the situation of transmitting MIB number the digital number of putting down in writing in the rule for the digital number of Instance Name entrained in the SNMP message, the processing method when the digital number of entrained Instance Name is not equal to the digital number of transmitting the MIB mask put down in writing in the rule in the SNMP message described in can refer step U05 is handled.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. the method for a managing distributing type system in network is characterized in that, distributed system control centre preserve to transmit rule, and in order to the records management information storehouse MIB number corresponding relation with the distributed system controlled device, this method comprises:
Control centre receives the message that carries the MIB Instance Name that is sent by management work station, for the forwarding rule of self preserving, compare the MIB Instance Name that carries in the message of being received respectively, whether with transmit the MIB number coupling that writes down in the rule, if coupling then is transmitted to described message the distributed system controlled device that this forwarding rule is write down.
2. method according to claim 1 is characterized in that, the MIB Instance Name that carries in the message that described comparison is received whether with transmit the MIB number coupling that writes down in the rule and be:
The MIB Instance Name that carries in the message that A1, comparison are received with transmit MIB number that writes down in the rule, the digital number that whether is comprised is identical, if identical then execution in step B1, otherwise think the MIB Instance Name that carries in the message of being received with transmit MIB number of writing down in the rule and do not match;
The MIB Instance Name that carries in B1, the message relatively received with transmit MIB number that writes down in the rule, whether the value of its corresponding numeral is identical, if then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think the MIB Instance Name that carries in the message of receiving with transmit MIB number of writing down in the rule and do not match.
3. method according to claim 1 is characterized in that, the MIB Instance Name that carries in the message that described comparison is received whether with transmit the MIB number coupling that writes down in the rule and be:
The MIB Instance Name that carries in the message that A2, comparison are received with transmit MIB number that writes down in the rule, the digital number that whether is comprised is identical, if identical then execution in step B2, otherwise execution in step C2;
The MIB Instance Name that carries in B2, the message relatively received with transmit MIB number that writes down in the rule, whether the value of its corresponding numeral is identical, if then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think the MIB Instance Name that carries in the message of receiving with transmit MIB number of writing down in the rule and do not match;
The digital number that the MIB Instance Name that carries in the message that C2, comparison are received is comprised, whether greater than the digital number that is comprised for MIB number that writes down in the described forwarding rule, if execution in step D2 then, otherwise think the MIB Instance Name that carries in the message of being received with transmit MIB number of writing down in the rule and do not match;
D2, get in the MIB Instance Name that carries in the message of being received, preceding n numeral be as object to be compared, and wherein n is the digital number that MIB number of writing down in the described forwarding rule comprised;
Whether MIB number of writing down in the object to be compared that obtains among E2, the comparison step D2 and the described forwarding rule identical, if identical, then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
4. method according to claim 1 is characterized in that, the MIB Instance Name that carries in the message that described comparison is received whether with transmit the MIB number coupling that writes down in the rule and be:
The MIB Instance Name that carries in the message that A3, comparison are received with transmit MIB number that writes down in the rule, the digital number that whether is comprised is identical, if identical then execution in step B3, otherwise execution in step C3;
The MIB Instance Name that carries in B3, the message relatively received with transmit MIB number that writes down in the rule, whether the value of its corresponding numeral is identical, if then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think the MIB Instance Name that carries in the message of receiving with transmit MIB number of writing down in the rule and do not match;
The digital number that the MIB Instance Name that carries in the message that C3, comparison are received is comprised, whether greater than the digital number that is comprised for MIB number that writes down in the described forwarding rule, if execution in step D3 then, otherwise execution in step F3;
D3, get in the MIB Instance Name that carries in the message of being received, preceding n numeral be as object to be compared, and wherein n is the digital number that MIB number of writing down in the described forwarding rule comprised;
Whether MIB number of writing down in the object to be compared that obtains among E3, the comparison step D3 and the described forwarding rule identical, if identical, then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
F3, get in MIB number that writes down in the described forwarding rule, preceding m numeral be as object to be compared, and wherein m is the digital number that the MIB Instance Name that carries in the message of being received is comprised;
Whether the MIB Instance Name that carries in object to be compared that obtains among G3, the comparison step F3 and the message of being received is identical, if it is identical, then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
5. method according to claim 1 is characterized in that, the MIB Instance Name that carries in the message that described comparison is received whether with transmit the MIB number coupling that writes down in the rule and be:
The MIB Instance Name that carries in the message that A4, comparison are received with transmit MIB number that writes down in the rule, the digital number that whether is comprised is identical, if identical then execution in step B4, otherwise execution in step C4;
The MIB Instance Name that carries in B4, the message relatively received with transmit MIB number that writes down in the rule, whether the value of its corresponding numeral is identical, if then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think the MIB Instance Name that carries in the message of receiving with transmit MIB number of writing down in the rule and do not match;
The digital number that the MIB Instance Name that carries in the message that C4, comparison are received is comprised, whether less than the digital number that is comprised for MIB number that writes down in the described forwarding rule, if execution in step D4 then, otherwise think the MIB Instance Name that carries in the message of being received with transmit MIB number of writing down in the rule and do not match;
D4, get in MIB number that writes down in the described forwarding rule, preceding m numeral be as object to be compared, and wherein m is the digital number that the MIB Instance Name that carries in the message of being received is comprised;
Whether the MIB Instance Name that carries in object to be compared that obtains among E4, the comparison step D4 and the message of being received is identical, if it is identical, then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
6. method according to claim 1 is characterized in that, described distributed system control centre preserves and transmits rule, in order to the corresponding relation of records management information storehouse MIB Instance Name and distributed system controlled device is:
Transmit MIB number, one MIB mask of record and a distributed system controlled device in rule at each bar, wherein the digital number that is comprised with the MIB mask for MIB number is identical;
The MIB Instance Name that carries in the message that described comparison is received, whether with transmit the MIB number coupling that writes down in the rule and be:
Control centre is for the forwarding rule of self preserving, respectively with the MIB Instance Name that carries in the message of being received with transmit the MIB mask that is write down in the rule and carry out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule, if coupling, then think the MIB Instance Name that carries in the message of being received with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
7. method according to claim 6, it is characterized in that, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A1, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b1, otherwise think operation result with transmit MIB number of writing down in the rule and do not match;
B1, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
8. method according to claim 6, it is characterized in that, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A2, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b2, otherwise execution in step c2;
B2, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
The digital number that the MIB Instance Name that carries in the message that c2, judgement are received is comprised, whether greater than transmitting the digital number that the MIB mask that write down in the rule is comprised, if greater than, execution in step d2 then, otherwise think operation result with transmit MIB number of writing down in the rule and do not match;
D2, get in the MIB Instance Name that carries in the message of being received, the MIB mask that is write down in a preceding n numeral and the described forwarding rule carries out step-by-step and computing, and wherein n is the digital number that MIB number of writing down in the described forwarding rule comprised;
Whether the result that step-by-step and computing obtain among e2, the comparison step d2 with to transmit MIB number of being write down in the rule identical, if identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
9. method according to claim 6, it is characterized in that, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A3, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b3, otherwise execution in step c3;
B3, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
C3, judge the digital number that the MIB Instance Name that carries in the message received is comprised, whether greater than transmitting the digital number that the MIB mask that write down in the rule is comprised, if greater than, execution in step d3 then, otherwise execution in step f3;
D3, get in the MIB Instance Name that carries in the message of being received, the MIB mask that is write down in a preceding n numeral and the described forwarding rule carries out step-by-step and computing, and wherein n is the digital number that MIB number of writing down in the described forwarding rule comprised;
Whether the result that step-by-step and computing obtain among e3, the comparison step d3 with to transmit MIB number of being write down in the rule identical, if identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
F3, get in the MIB mask that writes down in the described forwarding rule, the MIB Instance Name that carries in preceding m numeral and the message of being received carries out step-by-step and computing, and wherein m is the digital number that the MIB Instance Name that carries in the message of being received is comprised;
Whether step-by-step and the result who obtains with to transmit MIB number preceding m the numeral that is write down in the rule identical among g3, the comparison step f3, if identical, then think operation result with transmit MIB number of writing down in the rule and mate, otherwise think and do not match.
10. method according to claim 6, it is characterized in that, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A4, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b4, otherwise execution in step c4;
B4, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
C4, judge the digital number that the MIB Instance Name that carries in the message received is comprised, whether greater than transmitting the digital number that the MIB mask that write down in the rule is comprised, if greater than, execution in step d4 then, otherwise execution in step f4;
D4, get in the MIB Instance Name that carries in the message of being received, the MIB mask that is write down in a preceding n numeral and the described forwarding rule carries out step-by-step and computing, and wherein n is the digital number that MIB number of writing down in the described forwarding rule comprised;
Whether the result that step-by-step and computing obtain among e4, the comparison step d4 with to transmit MIB number of being write down in the rule identical, if identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
F4, the MIB Instance Name that carries in the message of being received is carried out zero padding operation, the digital number that the MIB mask that writes down in the digital number that the MIB Instance Name that carries in the message of being received is comprised and the described forwarding rule is comprised is identical;
G4, with the result that obtains among the step f4 with transmit the MIB mask that writes down in the rule and carry out step-by-step and computing, and whether the result that obtains of comparison step step-by-step and computing is with to transmit MIB number of being write down in the rule identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
11. method according to claim 6, it is characterized in that, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A5, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b5, otherwise execution in step c5;
B5, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
The digital number that the MIB Instance Name that carries in the message that c5, judgement are received is comprised, whether less than transmitting the digital number that the MIB mask that write down in the rule is comprised, if less than, execution in step d5 then, otherwise think operation result with transmit MIB number of writing down in the rule and do not match;
D5, get in the MIB mask that is write down in the described forwarding rule, the MIB Instance Name that carries in preceding m numeral and the message of being received carries out step-by-step and computing, and wherein m is the digital number that the MIB Instance Name that carries in the message of being received is comprised;
Whether the result that step-by-step and computing obtain among e5, the comparison step d5 with to transmit MIB number of being write down in the rule identical, if identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
12. method according to claim 6, it is characterized in that, described the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and this forwarding rule is carried out computing, comparison operation result then whether with transmit the MIB number coupling that writes down in the rule and be:
A6, judge that digital number that the MIB Instance Name that carries in the message received comprised is whether identical with the digital number that comprised of the MIB mask that write down in this forwarding rule, if identical then execution in step b6, otherwise execution in step c6;
B6, the MIB mask that is write down in the MIB Instance Name that carries in the message of being received and the described forwarding rule is carried out step-by-step and computing, and the result who relatively obtains with transmit rule in write down MIB number whether identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match;
The digital number that the MIB Instance Name that carries in the message that c6, judgement are received is comprised, whether less than transmitting the digital number that the MIB mask that write down in the rule is comprised, if less than, execution in step d6 then, otherwise think operation result with transmit MIB number of writing down in the rule and do not match;
D6, the MIB Instance Name that carries in the message of being received is carried out zero padding operation, the digital number that the MIB mask that writes down in the digital number that the MIB Instance Name that carries in the message of being received is comprised and the described forwarding rule is comprised is identical;
E6, with the result that obtains in the steps d 6 with transmit the MIB mask that writes down in the rule and carry out step-by-step and computing, and whether the result that obtains of comparison step step-by-step and computing is with to transmit MIB number of being write down in the rule identical, if it is identical, then think operation result with transmit the MIB number coupling that writes down in the rule, otherwise think and do not match.
13. method according to claim 1, it is characterized in that, described message is a Simple Network Management Protocol SNMP message, and described distributed system control centre preserves and transmits rule, in order to the corresponding relation of records management information storehouse MIB Instance Name and distributed system controlled device is:
Transmit MIB number, one a SNMP operation of record and a distributed system controlled device in the rule at each bar;
With before transmitting the MIB number coupling that writes down in the rule whether the MIB Instance Name that control centre carries in the message of relatively being received further comprise:
The operation that the SNMP message that judgement is received will carry out, whether with transmit rule in the SNMP operation of writing down identical, if MIB Instance Name identical then that carry in the message that continues relatively to be received, whether with transmit the MIB number coupling that writes down in the rule, otherwise directly think the MIB Instance Name that carries in the message of being received with transmit MIB number of writing down in the rule and do not match.
14. method according to claim 6, it is characterized in that, described message is a Simple Network Management Protocol SNMP message, and described distributed system control centre preserves and transmits rule, in order to the corresponding relation of records management information storehouse MIB Instance Name and distributed system controlled device is:
Transmit MIB number, one MIB mask of record in rule, a SNMP operation and a distributed system controlled device at each bar, wherein the digital number that is comprised with the MIB mask for MIB number is identical;
The MIB mask that is write down in MIB Instance Name that control centre carries in the message that will be received and the forwarding rule carries out further comprising before the computing:
The operation that the SNMP message that judgement is received will carry out, whether with transmit rule in the SNMP operation of writing down identical, if MIB Instance Name identical then that carry in the message that continues to be received with transmit the MIB mask that is write down in the rule and carry out computing, otherwise directly think the MIB Instance Name that carries in the message that will be received with transmit MIB number of being write down in the rule and do not match.
CNB200610083656XA 2006-06-02 2006-06-02 Method for managing distributing type system in network Expired - Fee Related CN100423493C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200610083656XA CN100423493C (en) 2006-06-02 2006-06-02 Method for managing distributing type system in network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200610083656XA CN100423493C (en) 2006-06-02 2006-06-02 Method for managing distributing type system in network

Publications (2)

Publication Number Publication Date
CN1889460A CN1889460A (en) 2007-01-03
CN100423493C true CN100423493C (en) 2008-10-01

Family

ID=37578720

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200610083656XA Expired - Fee Related CN100423493C (en) 2006-06-02 2006-06-02 Method for managing distributing type system in network

Country Status (1)

Country Link
CN (1) CN100423493C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008110462A2 (en) * 2007-03-09 2008-09-18 Telefonaktiebolaget Lm Ericsson (Publ) Discovery of disconnected components in a distributed communication network
CN112395468A (en) * 2020-11-27 2021-02-23 浙江诺诺网络科技有限公司 Number management method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6052724A (en) * 1997-09-02 2000-04-18 Novell Inc Method and system for managing a directory service
US6275853B1 (en) * 1998-05-27 2001-08-14 3Com Corporation System and method for extending communications features using generic management information base objects
CN1393801A (en) * 2001-06-28 2003-01-29 华为技术有限公司 Remote network monitor method for computer network
US6609155B1 (en) * 2000-05-25 2003-08-19 International Business Machines Corporation Method and apparatus for providing relationships in simple network management protocol management information base
CN1510865A (en) * 2002-12-24 2004-07-07 深圳市中兴通讯股份有限公司 Method for realizing network management and gateway
CN1549499A (en) * 2003-05-07 2004-11-24 中兴通讯股份有限公司 Proxy network management realizing method based on SNMP protocol
US6842781B1 (en) * 2000-03-09 2005-01-11 Nortel Networks Limited Download and processing of a network management application on a network device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6052724A (en) * 1997-09-02 2000-04-18 Novell Inc Method and system for managing a directory service
US6275853B1 (en) * 1998-05-27 2001-08-14 3Com Corporation System and method for extending communications features using generic management information base objects
US6842781B1 (en) * 2000-03-09 2005-01-11 Nortel Networks Limited Download and processing of a network management application on a network device
US6609155B1 (en) * 2000-05-25 2003-08-19 International Business Machines Corporation Method and apparatus for providing relationships in simple network management protocol management information base
CN1393801A (en) * 2001-06-28 2003-01-29 华为技术有限公司 Remote network monitor method for computer network
CN1510865A (en) * 2002-12-24 2004-07-07 深圳市中兴通讯股份有限公司 Method for realizing network management and gateway
CN1549499A (en) * 2003-05-07 2004-11-24 中兴通讯股份有限公司 Proxy network management realizing method based on SNMP protocol

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
分布式网络协议分析系统的设计与实现. 李信满,赵宏,马士军,潘宁川.小型微型计算机系统,第21卷第10期. 2000
分布式网络协议分析系统的设计与实现. 李信满,赵宏,马士军,潘宁川.小型微型计算机系统,第21卷第10期. 2000 *

Also Published As

Publication number Publication date
CN1889460A (en) 2007-01-03

Similar Documents

Publication Publication Date Title
CN104823428A (en) Method and device for processing operation request in storage system
CN101577679B (en) Configuration management method for realizing multicast service sharing among appointed routers and appliance thereof
CN100502354C (en) Data message transmission method and Ethernet bridge apparatus based on VLAN
US20060146835A1 (en) Platform independent implementation of private VLANS
CN101159712B (en) Method, system and equipment of implementing cooperative design based on instant communication instrument
CN103731368B (en) A kind of method and apparatus for handling message
CN105939324A (en) Message forwarding method and device
CN105556916A (en) Network flow information statistics method and apparatus
CN108768866A (en) Across the card retransmission method of multicast message, device, the network equipment and readable storage medium storing program for executing
CN111416865A (en) Protocol proxy processing method and system based on mimicry defense
CN109242458A (en) Approaches to IM and relevant device based on block chain
CN108259346A (en) A kind of equivalent route item establishing method and device
CN101171802B (en) Node, network, creating method of corresponding relation for transmitting information in network
CN107547346A (en) A kind of message transmitting method and device
CN102707696A (en) Multi-serial-port data transmission method and transmission center system
CN100423493C (en) Method for managing distributing type system in network
CN101771611A (en) Method for precisely forwarding IP multicast data in VLAN and forward device
CN107204924A (en) Link discovery method and device
CN101729351A (en) Method and system for finding topology information, query request device and awaiting query device
CN101227306A (en) Method and apparatus for copying message for multi-broadcast treatment
CN105227490A (en) A kind of method of many device link polymerizations and device
CN101459630B (en) IGP routing method and apparatus
CN102752144A (en) Method and device for processing topology change in soft restart in-service software upgrade process
CN104506331B (en) A kind of multicast message transmission method and multi-core network device
CN106330492A (en) Method, device and system of configuring user equipment forwarding table

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
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.

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

Granted publication date: 20081001

Termination date: 20200602