Embodiment
Below, the execution mode that present invention will be described in detail with reference to the accompanying.
1. system configuration (execution mode 1)
Fig. 1 is the block diagram of expression network configuration.
As shown in Figure 1, network (150) has: the monitor server (100), network information management server (110), client computer (120), the client computer (130) that connect LAN (140).
Monitor server (100) carries out the supervision control of network information management server (110), client computer (120), client computer (130).Monitor server (100) has been installed snmp management device (101) and has been monitored control part (103) with form of software.
Snmp management device (101) have common snmp management device function and as with the supervision control and management portion (101a) of the interface that monitors control part (103).Monitor control and management portion (101a) according to from the request that monitors control part (103), and carry out SNMP between network information management server (110), client computer (120), the client computer (130) and communicate by letter.And, monitor that control and management portion (101a) when the SNMP Trap that receives from network information management server (110), client computer (120), client computer (130), is notified to and monitors control part (103).Monitor that control part (103) with reference to monitoring control table (102), by the SNMP communication of snmp management device (101), carries out the supervision control of network information management server (110), client computer (120), client computer (130).And, monitor that control part (103) according to from the request that monitors control and management portion (101a), writes supervision control table (102) to the information of client computer (120), client computer (130).
Fig. 2 is the figure that expression monitors control table.As shown in Figure 2, in monitoring control table (102), have the zone of shared name (203) of IP address (202), the SNMP proxy server of host name (201), the SNMP proxy server of record SNMP proxy server, and writing down the information of network information management server (110), client computer (120), client computer (130).
Then, network information management server (110) is to client computer (120), client computer (130) distributing IP information and SNMP information.And, carry out SNMP between network information management server (110) and the monitor server (100) and communicate by letter.
Network information management server (110) has been installed Dynamic Host Configuration Protocol server (111) and SNMP proxy server (112) with form of software.SNMP proxy server (112) has common SNMP Proxy function, communicates by letter with reference to carrying out SNMP between snmp management table (114) and the monitor server (100).
Dynamic Host Configuration Protocol server (111) has common DHCP function and SNMP Information Management Department (111a).Dynamic Host Configuration Protocol server (111) is from client computer (120), when client computer (130) receives the request for allocation of IP information, with reference to network information management table (113) distributing IP information, but when receiving the request for allocation of SNMP information, SNMP Information Management Department (111a) distributes SNMP information with reference to network information management table (113).
Fig. 3 is the figure of expression network information management table.As shown in Figure 3, the shared name (305), the access rights (306) of SNMP MIB, the notice of SNMP Trap of source IP (304), SNMP that has MAC Address (301), the IP address (302) of distributing to client computer, netmask (303), the SNMP of record client computer in network information management table (113) set the zone of (307).
Client computer (120), client computer (130) are obtained IP information and SNMP information from network information management server (110).And, carry out communicating by letter, and send the notice that the SNMP information setting is finished to monitor server (100) with the SNMP of monitor server (100).
DHCP client computer (120), DHCP client computer (130) have common DHCP client functionality and each SNMP information setting portion (121a), SNMP information setting portion (131a).When DHCP client computer (120), DHCP client computer (130) are carried out the request for allocation of IP information to network information management server (110), IP information is recorded in respectively in IP admin table (123), the IP admin table (133), but when carrying out the request for allocation of SNMP information, access SNMP information setting portion (121a), SNMP information setting portion (131a), carry out the depositing of request for allocation of SNMP information, to the record of the snmp management table (124,134) of SNMP information, send the notice that the SNMP information setting is finished to SNMP proxy server (122,132).
SNMP proxy server (122), SNMP proxy server (132) have the function of common SNMP proxy server and client information notice portion (122a), client information notice portion (132a).SNMP proxy server (122), SNMP proxy server (132) be respectively with reference to snmp management table (124), snmp management table (134), and carries out SNMP between the monitor server (100) and communicate by letter.Client information notice portion (122a), client information notice portion (132a) finish notice monitor server (100) to the setting of SNMP information respectively according to the notice from SNMP information setting portion (121a), SNMP information setting portion (131a).
Fig. 4 is the figure of expression snmp management table.As shown in Figure 4, in snmp management table (114), snmp management table (124), snmp management table (134), have record and comprise that the shared name (402) of source IP address (401), the SNMP of SNMP, the access rights (403) of SNMP MIB, the notice of SNMPTrap set the zone of the SNMP information of (404).
Fig. 5 is the figure of expression IP admin table.As shown in Figure 5, in IP admin table (123), IP admin table (133), has the zone that record comprises the IP information of IP address (501) and netmask (502).
Fig. 6 is illustrated in the form of the message of transmitting-receiving between Dynamic Host Configuration Protocol server (111) and DHCP client computer (121), the DHCP client computer (131).
Numeral in the dhcp message (600) is to utilize eight bit byte to represent the size of each field, and variable refers to variable-length.Title and content about each field please refer to RFC2131.Data designation method about relative options (601) please refer to RFC1533.
Fig. 7 is illustrated in the form of the message of transmitting-receiving between SNMP proxy server (112), SNMP proxy server (122), SNMP proxy server (132) and the snmp management device (101).Title and content about each field of snmp message (700) please refer to RFC1157.
Fig. 8 is the block diagram of expression network information management server (110) and client computer (120), client computer (130).
Dynamic Host Configuration Protocol server device (805) is communicated by letter with monitor server (100) by LAN (140) with client apparatus (805).Dynamic Host Configuration Protocol server device (805) and client apparatus (805) have storage device (801), memory (802), CPU (803) and I/O (806), and they are connected by internal bus (804).I/O (806) is used to connect the interface that LAN (140) communicates between device.CPU (803) whole control Dynamic Host Configuration Protocol server device (805) and client apparatus (805) carry out the program implementation of Dynamic Host Configuration Protocol server (111), SNMP proxy server (112), SNMP proxy server (122), SNMP proxy server (132), DHCP client computer (121), DHCP client computer (131) etc. and the transmitting-receiving of data by I/O (806).The operation program of memory (802) storage CPU (803) etc.The information of storage device (801) storage networking information management table (113), snmp management table (114), snmp management table (124), snmp management table (134), IP admin table (123), IP admin table (133) etc., and the program of Dynamic Host Configuration Protocol server (111), SNMP proxy server (112), SNMP proxy server (122), SNMP proxy server (132), DHCP client computer (121), DHCP client computer (131) etc.
Fig. 9 is the block diagram of expression monitor server (100).
Monitor service apparatus (907) is communicated by letter with client computer (120), client computer (130) with network information management server (110) by LAN (140).Monitor service apparatus (907) has storage device (901), memory (902), CPU (903), keyboard (904), monitor (905), I/O (908), and they are connected by internal bus (906).I/O (908) is the interface that connects LAN (140) and communicate with network information management server (110) and client computer (120), client computer (130).The whole control of CPU (903) monitor service apparatus (907) carries out the program implementation of snmp management device (101), supervision control part (103) etc. and the transmitting-receiving of data by I/O (908).The operation program of memory (902) storage CPU (903) etc.Storage device (901) storage monitors the program of control table (102) and snmp management device (101), supervision control part (103) etc.
2. action (execution mode 1)
Figure 10 is the sequence chart that expression is used to carry out the instant supervision of the automatic issue of network management information and monitor service apparatus.
Below, use Figure 10 explanation to be used to carry out the program of the instant supervision of the automatic issue of network management information of relative client computer (120) and monitor service apparatus (100).
Network information management server (110) the MAC Address login in network information management table (113) (1001) distributing to IP information and the SNMP information correspondence that client computer (120,130) etc. connects the client computer of LAN (140) in advance.The login of these information can be imported from input part, perhaps from forwardings such as proper device.
Herein, if client computer (120) connects LAN (140), DHCP client computer (121) starting, the DHCPDISCOVER (1003) of the request for allocation of IP information and SNMP information has been stored in broadcasting.
The Dynamic Host Configuration Protocol server (111) of network information management server (110) is if receive DHCPDISCOVER, retrieval network information management table (113) then, when login has the IP information consistent with the MAC Address of client computer (120), SNMP information, the information of network information management table (113) is left among the DHCPOFFER, and client computer (120) (1004) is given in clean culture.In addition, as hereinafter described, when not logining IP information, SNMP information, do not carry out this processing.
When the DHCP client computer (121) of client computer (120) received DHCPOFFER, for informing network information management server (110) uses this information, the DHCPREQUEST (1005) of the request for allocation of IP information and SNMP information had been deposited in broadcasting.
If the Dynamic Host Configuration Protocol server (111) of network information management server (110) receives DHCPREQUEST, retrieval network information management table (113) then, when login has the IP information consistent with the MAC Address of client computer (120), SNMP information, the information of network information management table (113) is left among the DHCPACK, and client computer (120) (1006) is given in clean culture.In addition, as hereinafter described, when not logining IP information, SNMP information, do not carry out this processing.
In addition, when having only a network information management server (110), these two steps of execution in step 1005 and step 1006 not.On the other hand, when having a plurality of network information management servers (110), in order to determine the network information management server, client computer (120) needs the processing of execution in step 105 and step 106.
When the DHCP client computer (121) of client computer (120) receives DHCPACK, comprising that the IP address left among the DHCPACK and the IP information of netmask leave in the IP admin table (123), the SNMP information that the Trap of the access rights of the shared name of the source IP, the SNMP that comprise SNMP, SNMP, SNMP notice is set leaves in the snmp management table (124) (1007).Herein, connection again by client computer (120) etc. has been logined under the situation of information in IP admin table (123) and snmp management table (124), will rewrite these information.
When the setting of the SNMP information of client computer (120) is finished, SNMP proxy server (122) leaves the IP address of reading, the host name of setting, the shared name of reading among the SNMP Trap in from snmp management table (124) in client computer (120) from IP admin table (123), send to monitor server (100) (1008).
When the snmp management device (101) of monitor server (100) received SNMP Trap, in monitoring control table (102) (1009), (1010) were controlled in the supervision of beginning client computer (120) to supervision control part (103) the information registration of client computer (120).
Figure 11 represents the process chart of the Dynamic Host Configuration Protocol server on the network information management server unit.At this moment, use Figure 11 to illustrate that the Dynamic Host Configuration Protocol server (111) on the network information management server (110) moves.
Dynamic Host Configuration Protocol server (111) receives DHCPDISCOVER or DHCPEQUEST (1102), contrasts the MAC Address of the client computer (120) among the ciaddr (602) that leaves DHCPDISCOVER or DHCPEQUEST in and the MAC Address (301) (1103) in the network information management table (113).
Dynamic Host Configuration Protocol server (111) checks in the consistent record whether deposit the IP information (1104) that comprises IP address (302), netmask (303) when MAC Address is consistent, obtain these IP information (1105) when logining.
Then, Dynamic Host Configuration Protocol server (111) accesses SNMP Information Management Department (111a) (1106), whether deposit the request for allocation (1107) of SNMP information among the options (601) of inspection DHCPDISCOVER or DHCPEQUEST, when depositing, whether inspection deposits the access rights (306) of shared name (305), the SNMP of the source IP (304), the SNMP that comprise SNMP in network information management table (113), the Trap notice of SNMP is set the SNMP information (1108) of (307), obtains these SNMP information (1109) when logining.
Then, Dynamic Host Configuration Protocol server (111) is judged the message (1110) that is received, and generates DHCPOFFER (1111) when the message that is received is DHCPDISCOVER, generates DHCPACK (1112) when the message that is received is DHCPEQUEST.DHCPOFFER and DHCPACK have the form of dhcp message (600), in yiaddr (603), deposit the IP address of client computer (120), in options (601), deposit the netmask of client computer (120), when step (1107) has the request for allocation of SNMP information, in options (601), deposit the shared name of source IP, the SNMP of SNMP, the access rights of SNMP, the Trap notice setting (1111,1112) of SNMP.
Then, give client computer (1113) DHCPOFFER or DHCPACK clean culture, and be in IDLE state (1114).
Herein, in step (1103), step (1104), step (1108), when in network information management table (113), not logining desired information, Interrupt Process, and be in IDLE state (1114).
And, when step (1107) is not carried out the request for allocation of SNMP information, do not carry out the processing of obtaining of the SNMP information of carrying out from step (1108) to step (1109).
Figure 12~Figure 14 represents the DHCP client computer on the client apparatus and process chart (1)~(3) of SNMP proxy server.Below, use Figure 12~Figure 14, the DHCP client computer (121) on the client computer (120) and the action of SNMP proxy server (122) are described.
When client computer (120) connects LAN (140), DHCP client computer (121) starting (1201), in the ciaddr (602) of the DHCPDISCOVER of form, deposit the MAC Address of client computer (120), the netmask request (1202) of in options (601), depositing client computer with dhcp message (600).
Then, DHCP client computer (121) accesses SNMP information setting portion (1203), in snmp management table (124), do not set SNMP information or be still under the situation of default setting state (1204), in the options (601) of DHCPDISCOVER, deposit the source IP request of SNMP, the shared name request of SNMP, the access rights request of SNMP, the Trap notice of SNMP and set request (1205).When step (1204) is not carried out the request of SNMP information, skips steps (1205).And in step (1204), when the SNMP proxy server carries out in (execution mode 6) the obtaining of SNMP information of narration, skips steps (1205).
Then, broadcasting DHCPDISCOVER (1206).
DHCP client computer (121) is after sending DHCPDISCOVER, wait for the DHCPOFFER (1207) of certain hour, when receiving DHCPOFFER at the appointed time, whether inspection information requested in DHCPDISCOVER leaves (1208) among the DHCPOFFER in, when depositing, in the ciaddr (602) of the DHCPREQUEST of form, deposit the MAC Address of client computer (120), the netmask request (1209) of in options (601), depositing client computer with dhcp message (600).
Then, DHCP client computer (121) accesses SNMP information setting portion (121a) (1210), in snmp management table (124), do not set SNMP information or be still under the situation of default setting state (1211), in the options (601) of DHCPREQUEST, deposit the source IP request of SNMP, the shared name request of SNMP, the access rights request of SNMP, the Trap notice of SNMP and set request (1212).When step (1211) is not carried out the request of SNMP information, skips steps (1212).And in step (1211), when the SNMP proxy server carries out in (execution mode 6) the obtaining of SNMP information of narration, skips steps (1212).
Then, broadcasting DHCPREQUEST (1213).
After sending DHCPREQUEST, wait for the DHCPACK (1214) of certain hour, when receiving DHCPACK at the appointed time, whether inspection information requested in DHCPREQUEST leaves (1215) among the DHCPACK in, when depositing, IP address of depositing in the yiaddr (603) of DHCPACK and the netmask deposited in options (601) are left in the IP admin table (123) (1216).
Then, DHCP client computer (121) accesses SNMP information setting portion (121a) (1217), under the situation of step (1211) request SNMP information (1218), the setting of the Trap of the access rights of the shared name of source IP, the SNMP of the SNMP that deposits in the options (601) of DHCPACK, SNMP, SNMP notice is left in the snmp management table (124) (1219), send the SNMP information setting to SNMP proxy server (122) and finish notice (1219), and end (1220).Herein, the SNMP information setting is finished notice use UDP/IP (User Datagram Protocol/InternetProtocol) and is sent to SNMP proxy server port.When step (1218) is judged to be the request that does not have SNMP information, change step (1221) over to, when carrying out in (execution mode 6) the obtaining of SNMP information of narration at the SNMP proxy server, DHCP client computer (121) sends SNMP information acquisition request (SNMP Trap) (1222) to SNMP proxy server (122), changes done state (1220) over to.
, when in step (1207), step (1214), not receiving desired DHCP bag at the appointed time, change done state (1220) over to herein, do not accept later DHCP bag.And,, when the SNMP proxy server does not carry out obtaining of SNMP information, change done state (1220) in step (1221).
And, in step (1208), step (1215), when in the DHCP bag, not depositing desired information, will wrap and discard, wait for the reception of bag once more.
Then, when SNMP proxy server (122) (1250) when DHCP client computer (121) receives the SNMP information setting and finishes notice (SNMP Trap), access client information notice portion (122a) (1251).SNMP proxy server (122) is judged the message (1252) that is received.Herein, when message is the SNMP information acquisition request, SNMP proxy server (122) sends the request for allocation (1253) of SNMP information to network information management server (110), when the distribution that receives SNMP information is at the appointed time replied (1254), in the snmp management table, deposit SNMP information (1255), and when not receiving (1254), change done state (1257) over to.Processing after step (1252) receives the SNMP information acquisition request, corresponding SNMP proxy server in (execution mode 6) narration carries out the processing of obtaining of SNMP information.In step (1252), if message is the SNMP information setting finish the notice or after the processing of step (1255), client information notice portion (122a) is left among the Community Name (701) of SNMP Trap (700) logining in the shared name (402) of snmp management table (124), the IP address of client computer (120) is left among the Agent Address (702), the host name of client computer (120) is left among the Variable Bindings (703), and send to monitor server (100) (1256).
Figure 15 represents the snmp management device on the monitor service apparatus and monitors the process chart of control part.Below, use Figure 15 illustrates the snmp management device (101) on the monitor server (100) and monitors the action of control part (103).
Snmp management device (101) receives the SNMP information setting from client computer (120) and finishes notice (SNMP Trap) (1301), and access the control and management portion (101a) (1302) that monitors, use UDP/IP to monitoring that control part (103) sends the content (1303) of the Trap that is received with port.
Then, monitor that control part (103) receives the SNMP information setting from snmp management device (101) and finishes notice (SNMP Trap) (1350), check to monitor in the control table (102) whether have the record (1351) identical with the IP address of client computer (120), when not existing, host name, IP address, the shared name (1352) of login client computer (120) in monitoring control table (102), the supervision control (1353) of beginning client computer (120).
Herein,, when login has the information of identical ip addresses in monitoring control table (102), utilize the new content that receives to rewrite and monitor control table (102) (1354), utilize fresh information to begin the supervision control (1355) of client computer (120) in step (1351).
3. other execution modes
(execution mode 2)
In above-mentioned execution mode 1, the network information management server (110) of Fig. 1 and client computer (120), client computer (130) are one group, but the group of network information management server and client computer also can constitute many groups.
(execution mode 3)
In above-mentioned execution mode 1, the monitor server of Fig. 1 (100) and network information management server (110) and client computer (120), client computer (130) are one group, but the group of monitor server and network information management server and client computer also can constitute many groups.
(execution mode 4)
In Figure 10 of above-mentioned execution mode 1, also can omit step (1005) and step (1006), after client computer (120) receives DHCPOFFER, carry out the setting (1007) of IP information and SNMP information.
(execution mode 5)
In Figure 10 of above-mentioned execution mode 1, also can omit the later step of step (1008), to client computer (120) information that the supervision control table (102) of monitor server (100) is logined, also can directly import by the attendant.
(execution mode 6)
In Figure 10 of above-mentioned execution mode 1, client computer (120) also can be after utilizing DHCP to obtain the setting of IP information, the setting of obtaining SNMP information.
Sequence chart when Figure 16 represents this situation.In step (1403), DHCP client computer (121) is not carried out the request for allocation of SNMP information when broadcasting DHCPDISCOVER, only request comprises the IP information of IP address and netmask, in step (1404), Dynamic Host Configuration Protocol server (111) distributing IP address and netmask.
After step (1405) step identical with step (1406) execution, DHCP client computer (121) is carried out the setting of IP information in step (1407).
Then, in step (1408), the SNMP proxy server (122) of client computer (120) is to the request for allocation of network information management server (110) transmission SNMP information, and in step (1409), the SNMP proxy server (112) of network information management server (110) distributes SNMP information.
Then, the SNMP proxy server (122) of client computer (120) carries out the setting (1410) of SNMP information.Step (1411) is the step identical with Figure 10 later.
According to execution mode 6, the step of setting SNMP information is a different step with the step of setting IP information, and obtaining by the SNMP proxy server of SNMP information undertaken, thus when not remembering moving DHCP processor etc. relatively effectively.
(execution mode 7)
About being suitable for of other communication protocols, in communication protocols such as CMIP and HTTP, TL1, according to the installation method of using, needed network management information difference, but can by with the identical step automatic setting network management information of implementation method among the SNMP.
4. being suitable in wireless communication networks
(execution mode 8)
Below, the execution mode that the present invention is applicable to wireless communication networks is described.
Figure 17 is the block diagram of the structure and the action example of expression wireless communication networks.
A plurality of transportable terminal MS 1, MS2 (1538,1539) are connected by wireless communications path (not shown) with a plurality of radio communication devices (hereinafter referred to as the base station) BS1~BS8 (1530~1537).Specifically, each base station BS 1~BS8 (1530~1537) has the coverage area of the electric wave that is called as honeycomb (1522~1529), for example, uses the terminal MS 1 of CDMA or the radio communication of MS2.The honeycomb of each base station BS 1~BS8 (1530~1537) is overlapped, for example can set the communication path (1520,1521) that passes through a plurality of base station Bs6 and BS8 (1536,1537) from terminal MS 2 (1539).In addition, in the present embodiment, the zone that can communicate by letter these a plurality of base station BS 1~BS8 (1530~1537) with terminal MS calls mobile communicating net 1540.
Each base station BS 1~BS8 (1530~1537) of mobile communicating net 1540 connects the intensive router in base station (1510,1511) by communication network (1513) or industrial siding (1518~1521).Communication network (1513) is used ethernet wan etc.The intensive router in base station (1510,1511) intensive a plurality of base station BS 1~BS8 (1530~1537), and carry out route between the network administration apparatus (1501), base-station control apparatus (1507), L3 interchanger (1505) and handle.L3 interchanger (1505) has layer 3 function of exchange, and carries out route between the network administration apparatus (1501), base-station control apparatus (1507), the intensive router in base station (1510,1511) and handle.The terminal authentication of bag Data Control function that base-station control apparatus (1507) execution is corresponding with the wireless conditions of base station BS 1~BS8 (1530~1537) and data session information management, terminal MS 1, MS2 (1538,1539) etc.Network administration apparatus (1501) connects L3 interchanger (1505) by communication network (1503), utilizes SNMP to carry out the supervision control of each base station BS 1~BS8 (1530~1537), L3 interchanger (1505), base-station control apparatus (1507), the intensive router in base station (1510,1511).
Base station BS 1~BS8 (1530~1537) has and client computer shown in Figure 1 (120,130) identical functions, the intensive router in base station (1510,1511) has and network information management server (110) identical functions, and network administration apparatus (1501) has and monitor server (100) identical functions.
Promptly, shown in the sequence chart of Figure 10, base station BS 1~BS8 (1530~1537) is by communication network (1513) or industrial siding (1518~1521) and the intensive router (1510 in base station, when 1511) connecting (1002), base station BS 1~BS8 (1530~1537) is to the intensive router (1510 in the base station of connecting object, 1511) request for allocation (1003 of transmission IP information and network management information (SNMP information), 1005), the intensive router (1510 in base station, 1511) to base station BS 1~BS8 (1530~1537) distributing IP information and network management information (SNMP information) (1004,1006).Base station BS 1~BS8 (1530~1537) is after the setting of carrying out IP information and network management information (SNMP information) (1007), and informing network management devices (1501) has been finished the setting (1008) of network management information.The information (1009) of network administration apparatus (1501) login base station BS 1~BS8 (1530~1537), and monitor (1010).
(execution mode 9)
In addition, as above-mentioned execution mode 6, base station BS 1~BS8 (1530~1537) also can be after utilizing DHCP to obtain the setting of IP information, the setting of obtaining SNMP information.
Under this situation, as shown in figure 16, in step (1403), at first, base station BS 1~BS8 (1530~1537) is connected (1402) by communication network (1513) or industrial siding (1518~1521) with the intensive router in base station (1510,1511).Then, when base station BS 1~BS8 (1530~1537) broadcasts DHCPDISCOVER to the intensive router in the base station of connecting object (1510,1511), do not carry out the request for allocation of network management information (SNMP information), only request comprises the IP information of IP address and netmask.In step (1404), the intensive router in base station (1510,1511) distributing IP address and netmask.
After step (1405) step identical with step (1406) execution, base station BS 1~BS8 (1530~1537) carries out the setting of IP information in step (1407).
Then, in step (1408), the SNMP proxy server (122) of base station BS 1~BS8 (1530~1537) sends the request for allocation of SNMP information to the intensive router in base station (1510,1511), in step (1409), the SNMP proxy server (112) of the intensive router in base station (1510,1511) distributes SNMP information.
Then, the SNMP proxy server (122) of base station BS 1~BS8 (1530~1537) carries out the setting (1410) of SNMP information.Step (1411) is the step identical with Figure 10 later.
The above-mentioned execution mode client apparatus decentralized configuration like that very many in similar large scale network and wireless base station be in each region, utilizes in the system that a plurality of monitor service apparatuses manage concentratedly very effective.And, when client apparatus being connected the such network of ethernet wan, require in the system of confidentiality very effective.