CN103905429A - Method for achieving automatic discovery through network device on basis of DHCP extension label - Google Patents
Method for achieving automatic discovery through network device on basis of DHCP extension label Download PDFInfo
- Publication number
- CN103905429A CN103905429A CN201410074622.9A CN201410074622A CN103905429A CN 103905429 A CN103905429 A CN 103905429A CN 201410074622 A CN201410074622 A CN 201410074622A CN 103905429 A CN103905429 A CN 103905429A
- Authority
- CN
- China
- Prior art keywords
- network equipment
- management system
- network
- extension tag
- network management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method for automatically discovering a network management system through a network device on the basis of a DHCP extension label. The method comprises the steps that the network device sends a request specific extension label information message to a DHCP server; the network device receives a response message containing the specific extension label; the network device actively registers to the network management system. The invention further provides a system for automatically discovering the network management system through the network device on the basis of the DHCP extension label. By the application of the network device, the information of the network management system does not need to be reserved in advance, and the information of the network management system can be automatically obtained by sending the request message to the DHCP server, so that the network device automatically registers to the network management system, the network device is automatically brought into automatic management, and maintenance workload consumed when the network device is brought into management is greatly simplified.
Description
Technical field
The present invention relates to a kind of method that the network equipment is found automatically that realizes.
Background technology
Ethernet (Ethernet) is a kind of LAN (Local Area Network) networking technology.In Ethernet, can manage by network management system the corresponding network management system of each network equipment or a network management system cluster to the network equipment.The mode that network management system discovering network adopts conventionally: operation network management system, arranges scans I P section, discovering network equipment, the network equipment is added to management; Therefore, existing network management system is a kind of passive management mode to network device management mode, its flow process is as shown in Figure 1: first network management system is determined the network equipment to be managed, according to the IP address range of this network equipment scan for networks equipment in network management system, this network equipment is added management by network management system, and the network equipment that corresponding network management system is managed manages.The defect of this mode maximum is that network management system attendant needs the moment to pay close attention to and whether has new equipment to add network, is difficult to accomplish unattended operation.
Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of and realizes based on DHCP extension tag the method that the network equipment is found automatically, effectively reduces that network manager manually adds, the workload of discovering network equipment, increases work efficiency.
The present invention is achieved in that a kind of method that realizes the automatic discovery of the network equipment based on DHCP extension tag, the network equipment sends the request message with DHCP extension tag content, Dynamic Host Configuration Protocol server checks the DHCP extension tag information that whether has configuration corresponding after receiving this request message, then return to concrete response message, response message comprises concrete network management system IP and port information, the network equipment is according to the essential information of this network management system IP and the communication port information transmission network equipment to network management system, and network management system adds management by this network equipment automatically.
Further, the present invention specifically comprises the steps:
Step 10, DHCP extension tag is set and fills in DHCP extension tag content at Dynamic Host Configuration Protocol server, DHCP extension tag content is network management system information, comprises network management system IP information and the communication port information of certain format;
Acting on behalf of after Agent operation of step 20, the network equipment, starts and automatically finds network management system thread;
Whether the IP obtain manner of step 30, described automatic discovery network management system thread Sampling network equipment is DHCP mode, if not process ends, otherwise execution step 40;
Step 40, the wait network equipment get the dynamic IP addressing that Dynamic Host Configuration Protocol server distributes;
Step 50, send the request message with request DHCP extension tag content to Dynamic Host Configuration Protocol server;
Step 60, wait for that Dynamic Host Configuration Protocol server returns to the response message with DHCP extension tag content, and verify whether this extension tag content is described DHCP extension tag content, if not process ends, otherwise execution step 70;
The network management system information that step 70, basis are obtained, the network equipment writes IP information and the communication port information of this network management system to local profile, communicate for the network management system to corresponding IP;
Step 80, the network equipment are acted on behalf of the essential information of Agent to the network management system transmission network equipment, and the essential information of this network equipment comprises UUID, the local IP of the network equipment and network equipment type information;
Step 90, network management system are resolved the network equipment and are sent the essential information of the network equipment, and UUID, the local IP of the network equipment and network equipment model are recorded in database, whether add successful message to network equipment response simultaneously.
Further, the DHCP extension tag content in described step 10 and step 60 is 232 label substances, and its content and form are: CCCMSERVER: network management system IP: communication port.
Further, the Agent that acts on behalf of of the described network equipment comprises:
Sending module, sends the request message with DHCP extension tag content, the DHCP extension tag content that request is specified to Dynamic Host Configuration Protocol server;
Receiver module, the response message with extension tag content of reception Dynamic Host Configuration Protocol server;
Judge module, judges that extension tag content has the DHCP extension tag content in the request message of DHCP extension tag content described in being whether, if it is simultaneously at IP and the port information of network equipment local record network management system.
Further, described network management system comprises:
Webmaster sending module, for sending request message to the network equipment, to carry out alternately the COS that this request message comprises network management system with the network equipment; And also add network equipment success or failed message for sending;
Webmaster receiver module, for receiving the request message of the network equipment and replying, the COS that described request message comprises network management system;
Webmaster judge module, for judging whether it is network equipment information, is if it is recorded to network appliance IP, uuid, network equipment model in database.
Tool of the present invention has the following advantages: the present invention sends the request message with DHCP particular extension label substance by DHCP extension tag, the network equipment are set at Dynamic Host Configuration Protocol server, Dynamic Host Configuration Protocol server checks the DHCP extension tag information that whether has configuration corresponding after receiving this request message, then return to concrete response message, response message comprises concrete network management system IP and port information, the network equipment is according to the essential information of this network management system IP and the communication port information transmission network equipment to network management system, and network management system adds management by this network equipment automatically.Effective minimizing network manager manually adds, the workload of discovering network equipment, increases work efficiency.In addition, the advantage of acting on behalf of Agent network equipment setting is can the bootable process control of limiting network equipment or the performance data of forcing long-range propelling movement application software to mourn in silence installation, monitor and add up each network equipment, network appliance IP, uuid, network equipment model are recorded in database, this way advantage is to can be the pre-judgement that follow-up daily operation management is done screening as carried out system firmware upgrading according to device type, only the firmware version information of adaptive specific model is pushed to the specific model network equipment, unnecessary file transfer avoids waste.
Accompanying drawing explanation
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the flow chart of prior art.
Fig. 2 is the inventive method flowchart.
Embodiment
The method that realizes the automatic discovery of the network equipment based on DHCP extension tag of the present invention, the network equipment sends the request message with DHCP extension tag content, Dynamic Host Configuration Protocol server checks the DHCP extension tag information that whether has configuration corresponding after receiving this request message, then return to concrete response message, response message comprises concrete network management system IP and port information, the network equipment is according to the essential information of this network management system IP and the communication port information transmission network equipment to network management system, and network management system adds management by this network equipment automatically.
As shown in Figure 2, the present invention specifically comprises the steps:
Step 10, DHCP extension tag is set and fills in DHCP extension tag content at Dynamic Host Configuration Protocol server, DHCP extension tag content is network management system information, comprises network management system IP information and the communication port information of certain format; Wherein, described DHCP extension tag content is 232 label substances, and its content and form are: CCCMSERVER: network management system IP: communication port;
Acting on behalf of after Agent operation of step 20, the network equipment, starts and automatically finds network management system thread; Whether had management server information, if so, send TC essential information message, the IP that comprises the network equipment, UUID, type information by TPC/IP agreement to network management system if detecting this locality; If not, execution step 30
Whether the IP obtain manner of step 30, described automatic discovery network management system thread Sampling network equipment is DHCP mode, if not process ends, otherwise execution step 40;
Step 40, the wait network equipment get the dynamic IP addressing that Dynamic Host Configuration Protocol server distributes;
Step 50, send the request message with request DHCP extension tag content to Dynamic Host Configuration Protocol server;
Step 60, wait Dynamic Host Configuration Protocol server return to response message (the ACK message with extension tag content, the content that comprises extension tag 232), and verify whether this extension tag content is described DHCP extension tag content, it is CCCMSERVER: network management system IP: communication port, as CCCMSERVER:192.168.1.5:8081, if not process ends, otherwise execution step 70;
The network management system information that step 70, basis are obtained, the network equipment writes IP information and the communication port information of this network management system to local profile, communicate for the network management system to corresponding IP;
Step 80, the network equipment are acted on behalf of the essential information of Agent to the network management system transmission network equipment, and the essential information of this network equipment comprises UUID, the local IP of the network equipment and network equipment type information;
Step 90, network management system are resolved the network equipment and are sent the essential information of the network equipment, and UUID, the local IP of the network equipment and network equipment model are recorded in database, whether add successful message to network equipment response simultaneously.
Wherein, the Agent that acts on behalf of of the described network equipment comprises:
Sending module, sends the request message with DHCP extension tag content, the DHCP extension tag content that request is specified to Dynamic Host Configuration Protocol server;
Receiver module, the response message with extension tag content of reception Dynamic Host Configuration Protocol server;
Judge module, judges that extension tag content has the DHCP extension tag content in the request message of DHCP extension tag content described in being whether, if it is simultaneously at IP and the port information of network equipment local record network management system.
Described network management system comprises:
Webmaster sending module, for sending request message to the network equipment, to carry out alternately the COS that this request message comprises network management system with the network equipment; And also add network equipment success or failed message for sending;
Webmaster receiver module, for receiving the request message of the network equipment and replying, the COS that described request message comprises network management system;
Webmaster judge module, for judging whether it is network equipment information, is if it is recorded to network appliance IP, uuid, network equipment model in database.
Tool of the present invention has the following advantages: the present invention sends the request message with DHCP extension tag content by DHCP extension tag, the network equipment are set at Dynamic Host Configuration Protocol server, Dynamic Host Configuration Protocol server checks the DHCP extension tag information that whether has configuration corresponding after receiving this request message, then return to concrete response message, response message comprises concrete network management system IP and port information, the network equipment is according to the essential information of this network management system IP and the communication port information transmission network equipment to network management system, and network management system adds management by this network equipment automatically.Effective minimizing network manager manually adds, the workload of discovering network equipment, increases work efficiency.In addition, the advantage of acting on behalf of Agent network equipment setting is can the bootable process control of limiting network equipment or the performance data of forcing long-range propelling movement application software to mourn in silence installation, monitor and add up each network equipment, network appliance IP, uuid, network equipment model are recorded in database, this way advantage is to can be the pre-judgement that follow-up daily operation management is done screening as carried out system firmware upgrading according to device type, only the firmware version information of adaptive specific model is pushed to the specific model network equipment, unnecessary file transfer avoids waste.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than for the restriction to scope of the present invention; those of ordinary skill in the art are in equivalent modification and the variation done according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.
Claims (5)
1. realize based on DHCP extension tag the method that the network equipment is found automatically for one kind, it is characterized in that: the network equipment sends the request message with DHCP extension tag content, Dynamic Host Configuration Protocol server checks the DHCP extension tag information that whether has configuration corresponding after receiving this request message, then return to concrete response message, response message comprises concrete network management system IP and port information, the network equipment is according to the essential information of this network management system IP and the communication port information transmission network equipment to network management system, and network management system adds management by this network equipment automatically.
2. the method that realizes the automatic discovery of the network equipment based on DHCP extension tag according to claim 1, is characterized in that: specifically comprise the steps:
Step 10, DHCP extension tag is set and fills in DHCP extension tag content at Dynamic Host Configuration Protocol server, DHCP extension tag content is network management system information, comprises network management system IP information and the communication port information of certain format;
Acting on behalf of after Agent operation of step 20, the network equipment, starts and automatically finds network management system thread;
Whether the IP obtain manner of step 30, described automatic discovery network management system thread Sampling network equipment is DHCP mode, if not process ends, otherwise execution step 40;
Step 40, the wait network equipment get the dynamic IP addressing that Dynamic Host Configuration Protocol server distributes;
Step 50, send the request message with request DHCP extension tag content to Dynamic Host Configuration Protocol server;
Step 60, wait for that Dynamic Host Configuration Protocol server returns to the response message with DHCP extension tag content, and verify whether this extension tag content is described DHCP extension tag content, if not process ends, otherwise execution step 70;
The network management system information that step 70, basis are obtained, the network equipment writes IP information and the communication port information of this network management system to local profile, communicate for the network management system to corresponding IP;
Step 80, the network equipment are acted on behalf of the essential information of Agent to the network management system transmission network equipment, and the essential information of this network equipment comprises UUID, the local IP of the network equipment and network equipment type information;
Step 90, network management system are resolved the network equipment and are sent the essential information of the network equipment, and UUID, the local IP of the network equipment and network equipment model are recorded in database, whether add successful message to network equipment response simultaneously.
3. the method that realizes the automatic discovery of the network equipment based on DHCP extension tag according to claim 2, it is characterized in that: the DHCP extension tag content in described step 10 and step 60 is 232 label substances, and its content and form are: CCCMSERVER: network management system IP: communication port.
4. the method that realizes the automatic discovery of the network equipment based on DHCP extension tag according to claim 2, is characterized in that: the Agent that acts on behalf of of the described network equipment comprises:
Sending module, sends the request message with DHCP extension tag content, the DHCP extension tag content that request is specified to Dynamic Host Configuration Protocol server;
Receiver module, the response message with extension tag content of reception Dynamic Host Configuration Protocol server;
Judge module, judges that extension tag content has the DHCP extension tag content in the request message of DHCP extension tag content described in being whether, if it is simultaneously at IP and the port information of network equipment local record network management system.
5. the method that realizes the automatic discovery of the network equipment based on DHCP extension tag according to claim 2, is characterized in that: described network management system comprises:
Webmaster sending module, for sending request message to the network equipment, to carry out alternately the COS that this request message comprises network management system with the network equipment; And also add network equipment success or failed message for sending;
Webmaster receiver module, for receiving the request message of the network equipment and replying, the COS that described request message comprises network management system;
Webmaster judge module, for judging whether it is network equipment information, is if it is recorded to network appliance IP, uuid, network equipment model in database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410074622.9A CN103905429B (en) | 2014-03-03 | 2014-03-03 | Method for achieving automatic discovery through network device on basis of DHCP extension label |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410074622.9A CN103905429B (en) | 2014-03-03 | 2014-03-03 | Method for achieving automatic discovery through network device on basis of DHCP extension label |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103905429A true CN103905429A (en) | 2014-07-02 |
CN103905429B CN103905429B (en) | 2017-02-22 |
Family
ID=50996583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410074622.9A Active CN103905429B (en) | 2014-03-03 | 2014-03-03 | Method for achieving automatic discovery through network device on basis of DHCP extension label |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103905429B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683162A (en) * | 2015-03-27 | 2015-06-03 | 福州大学 | Middle domain name-based system and method for achieving automatic discovery of network equipment |
CN108259549A (en) * | 2017-05-18 | 2018-07-06 | 西安邮电大学 | A kind of implementation method of Networked Instrument instrument front-end proxy agent |
WO2020107199A1 (en) * | 2018-11-27 | 2020-06-04 | 刘馥祎 | Information configuration method and apparatus, electronic equipment, storage medium, and program product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080089244A1 (en) * | 2006-10-12 | 2008-04-17 | Cameo Communications, Inc. | Method for discovering network device |
CN101188514A (en) * | 2007-11-09 | 2008-05-28 | 华为技术有限公司 | Method, device and system for automatically discovering network element device |
CN101360094A (en) * | 2007-08-03 | 2009-02-04 | 中兴通讯股份有限公司 | Method for server automatic discovery configuring by house base station |
CN102271050A (en) * | 2010-06-04 | 2011-12-07 | 华为技术有限公司 | Method and system for automatically configuring network equipment in Internet protocol version 6 (IPv6) network, and network equipment |
-
2014
- 2014-03-03 CN CN201410074622.9A patent/CN103905429B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080089244A1 (en) * | 2006-10-12 | 2008-04-17 | Cameo Communications, Inc. | Method for discovering network device |
CN101360094A (en) * | 2007-08-03 | 2009-02-04 | 中兴通讯股份有限公司 | Method for server automatic discovery configuring by house base station |
CN101188514A (en) * | 2007-11-09 | 2008-05-28 | 华为技术有限公司 | Method, device and system for automatically discovering network element device |
CN102271050A (en) * | 2010-06-04 | 2011-12-07 | 华为技术有限公司 | Method and system for automatically configuring network equipment in Internet protocol version 6 (IPv6) network, and network equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683162A (en) * | 2015-03-27 | 2015-06-03 | 福州大学 | Middle domain name-based system and method for achieving automatic discovery of network equipment |
CN108259549A (en) * | 2017-05-18 | 2018-07-06 | 西安邮电大学 | A kind of implementation method of Networked Instrument instrument front-end proxy agent |
WO2020107199A1 (en) * | 2018-11-27 | 2020-06-04 | 刘馥祎 | Information configuration method and apparatus, electronic equipment, storage medium, and program product |
US11533228B2 (en) | 2018-11-27 | 2022-12-20 | Hong Kong Sunstar Technology Co., Limited | Method for information configuration, apparatus, electronic device, storage medium and program product |
Also Published As
Publication number | Publication date |
---|---|
CN103905429B (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022001674A1 (en) | Communication system, method and device for miniature intelligent sensor | |
US9693092B2 (en) | Method and system for transmitting network video | |
CN102833323B (en) | Method and system for remote control of controlled terminal by server | |
US20170244596A1 (en) | Configuration Information Management Method, Device, Network Element Management System and Storage Medium | |
CN100563174C (en) | A kind of method and agent apparatus of managing dynamic address equipment | |
US10609125B2 (en) | Method and system for transmitting communication data | |
TW201344580A (en) | Firmware update management system and firmware update management method | |
CN102404306B (en) | Protocol configuration method and device | |
WO2015062228A1 (en) | Method and device for accessing shared memory | |
CN104320347B (en) | A kind of method and apparatus for actively updating LLDP | |
CN104168140A (en) | VTEP abnormal condition processing method and device | |
EP2693691B1 (en) | Method and apparatus for initializing gateway in device management system | |
CN105812406A (en) | Information transmission method and device based on WEB simulation terminal system | |
US20110058491A1 (en) | System and method for managing network connectivity of a cpe using a cmts | |
WO2021057802A1 (en) | Das system management method and device, electronic device, and storage medium | |
US8504702B2 (en) | Providing server identification to a client | |
CN101909346A (en) | DHCP (Dynamic Host Configuration Protocol) broadcasting method and wireless access controller | |
CN103905429A (en) | Method for achieving automatic discovery through network device on basis of DHCP extension label | |
CN105607606A (en) | Data acquisition device and data acquisition method based on double-mainboard framework | |
CN106559236B (en) | Equipment resource management method and device of service board, main control board and frame type equipment | |
CN104243198A (en) | Network management method and system based on network configuration protocol | |
CN103812672A (en) | Method for discovering newly-added network element device, correlative device, and system | |
CN102148702B (en) | Method for managing network by utilizing network configuration protocol | |
CN101621526B (en) | iSCSI method and apparatus for preventing useless connection from occupying system resources | |
CN100505735C (en) | Conversation managing method for multi-node intelligent network application service system |
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 |