CN105430111A - Automatic configuration method of network computer names - Google Patents
Automatic configuration method of network computer names Download PDFInfo
- Publication number
- CN105430111A CN105430111A CN201510735149.9A CN201510735149A CN105430111A CN 105430111 A CN105430111 A CN 105430111A CN 201510735149 A CN201510735149 A CN 201510735149A CN 105430111 A CN105430111 A CN 105430111A
- Authority
- CN
- China
- Prior art keywords
- computer
- mac address
- name
- network computer
- network
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/30—Managing network names, e.g. use of aliases or nicknames
- H04L61/3005—Mechanisms for avoiding name conflicts
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses an automatic configuration method of network computer names. The method comprises the steps that 1) pre-established computer name management modules are loaded in all target network computers which need configuration respectively; and 2) when the target network computers are started, the computer name management modules in the target network computers are started to obtain MAC addresses, and configure the computer names according to the obtained MAC addresses; The method has the advantages that realization is simple, the configuration efficiency is high, the computer names can be configured automatically, and the configured names are unique.
Description
Technical field
The present invention relates to computer management and network information communication technical field, particularly relate to a kind of method of automatic configuration of network computer title.
Background technology
Along with the high speed development of network technology, increasing equipment needs to use network service to realize information sharing.No matter be handheld terminal or industrial computer, all likely need in access or Small-scale LAN or wide area network at any time, for these computer equipments in access network, upper layer application sometimes needs to use computer name and is referred to as access foundation, shares, identifies and the function such as data interaction to carry out network file.When through engineering approaches is constructed, normally adopt the method for clone to realize computer system software to dispose, namely the configuration of computer and title are all the same, the Computer application of same names is used in networking and then there will be computer duplication of name, and the network application depending on computer name practical function cannot be realized.Thus how making the arbitrary equipment title of random access network have uniqueness, is that guarantee equipment applies the key that can normally realize.
In order to solve above computer the Uniqueness, at present normally by manually carrying out statistics allocation manager, again by manual configuration computer name to make computer name unique, but the mode of such human configuration, be easy to cause duplication of name phenomenon by mistake on the one hand, make computer name not unique; Need loaded down with trivial details configuration operation process on the other hand, particularly be applied in the network of large-scale wide area network or the access of equipment randomness, owing to needing all to carry out manual configuration to the computer name of every platform access network, for ensureing that the uniqueness of network computer title then needs very large workload, being not easy to practical application and implementing.
Summary of the invention
The technical problem to be solved in the present invention is just: the technical problem existed for prior art, the invention provides that a kind of implementation method is simple, allocative efficiency is high, can realize computer name and automatically to configure and the title configured has the method for automatic configuration of the network computer title of uniqueness.
For solving the problems of the technologies described above, the technical scheme that the present invention proposes is:
A method of automatic configuration for network computer title, step comprises:
1) in all objective network computers needing configuration, a computer name administration module set up in advance is loaded;
2) when objective network computer starting, MAC Address is obtained by starting computer name administration module described in objective network computer, and according to the MAC Address configuration computer name obtained.
Be specially according to the MAC Address configuration computer name obtained as a further improvement on the present invention: described step 2): the MAC Address of acquisition is configured as computer name.
As a further improvement on the present invention, described step 2) concrete steps be:
2.1) when objective network computer starting, computer name administration module described in objective network computer is started;
2.2) described computer name administration module obtains the current name of objective network computer;
2.3) described computer name administration module obtains the MAC Address of objective network computer, by the MAC Address obtained and described step 2.2) current name that obtains mates, if the match is successful, then exits, otherwise proceed to execution step 2.4);
2.4) MAC Address of acquisition is configured as objective network computer name.
As a further improvement on the present invention, described step 2) described in computer name administration module obtain before MAC Address and also comprise net card failure monitoring and alarming step, concrete steps are: described computer name administration module judges that whether the network interface card of objective network computer is abnormal, if abnormal, send net card failure warning message, if normal, proceed to and perform acquisition MAC Address.
As a further improvement on the present invention, the whether normal concrete steps of the described network interface card judging objective network computer are: the network card status checking an objective network computer at interval of the fixed time, until inspection reaches preset times, if check result is exception, then be judged to be that network interface card is abnormal, otherwise be judged to be that network interface card is normal.
Compared with prior art, the invention has the advantages that:
1) method of automatic configuration of network computer title of the present invention, computer based MAC Address configuration computer name, computer name is made to have uniqueness, simultaneously by loading a computer name administration module set up in advance in the network computer needing configuration, obtain MAC Address by this computer name administration module and configure computer name, the computer name that can realize based on MAC Address configures automatically, the troublesome operation configuring computer name manually can be exempted, also can avoid because mistake configures the duplication of name phenomenon caused, allocative efficiency is high and can guarantee the uniqueness of computer name,
2) method of automatic configuration of network computer title of the present invention, loading calculation machine title administration module in all objective network computers needing configuration, then each network computer can realize obtaining MAC Address configuration computer name by start-up simulation machine title administration module automatically, the configuration of batch computer name can be realized easily, while ensureing title uniqueness, greatly reduce the workload needed for configuration, be applicable to very much being applied in large-scale wide area network or networking to be configured batch computer;
3) method of automatic configuration of network computer title of the present invention, take a step forward in configuration and comprise net card failure monitoring and alarming step, net card failure monitoring and warning function is performed further by computer name administration module, make it possible to the fault of Timeliness coverage network interface card and carry out alarm, so that can Timeliness coverage and process network interface card hardware fault in layoutprocedure.
Accompanying drawing explanation
Fig. 1 is the realization flow schematic diagram of the method for automatic configuration of the present embodiment network computer title.
Fig. 2 is step 2 in the present embodiment) specific implementation schematic flow sheet.
Embodiment
Below in conjunction with Figure of description and concrete preferred embodiment, the invention will be further described, but protection range not thereby limiting the invention.
As shown in Figure 1, the method for automatic configuration of the present embodiment network computer title, step comprises:
1) in all objective network computers needing configuration, a computer name administration module set up in advance is loaded;
2) when objective network computer starting, MAC Address is obtained by starting objective network computer Computer title administration module, and according to the MAC Address configuration computer name obtained.
When accessing same real-time performance network service, the MAC Address of computer must ensure it is unique, otherwise cannot communicate, namely the present embodiment is utilize computer to have the feature of uniqueness for the MAC Address of the network interface card of access network, computer based MAC Address configures computer name, makes the computer name after by configuration have uniqueness; Simultaneously by loading a computer name administration module set up in advance in advance in the network computer needing configuration, obtain MAC Address when computer starting by this computer name administration module and configure computer name, the computer name that can realize based on MAC Address configures automatically, the troublesome operation configuring computer name manually can be exempted, also can avoid because mistake configures the duplication of name phenomenon caused, allocative efficiency is high and can guarantee the uniqueness of computer name.
The present embodiment is loading calculation machine title administration module in all objective network computers needing configuration, then each network computer can realize obtaining MAC Address configuration computer name by start-up simulation machine title administration module automatically, the configuration of batch computer name can be realized easily, while ensureing title uniqueness, greatly reduce the workload needed for configuration, be applicable to very much being applied in large-scale wide area network or networking to be configured similar batch computer equipment.
In the present embodiment, set up the computer name administration module that there is MAC Address acquisition function, configure computer name function according to the MAC Address obtained in advance, specifically can realize above-mentioned functions by program, be encapsulated as computer name administration module by program and be carried in the objective network computer needing configuration.After computer starting, the program of moving calculation machine title Configuration Manager, performs MAC Address by this program and obtains and configure computer name according to the MAC Address obtained.For similar batch computer equipment, computer name administration module can adopt cloning process to carry out batch and install, and automatically performs computer name and configures, do not need artificially to participate in layoutprocedure, greatly reduce required cost of labor after installation by program.
In the present embodiment, step 2) according to obtain MAC Address configuration computer name be specially: the MAC Address of acquisition is configured as computer name, namely direct using MAC Address as computer name, each computer name can be made to have uniqueness, realize simple to operate, without the need to the layoutprocedure of complexity simultaneously.Certainly in other embodiments, also according to the actual requirements, the mode of texturing configuration computer name based on MAC Address can be adopted under ensureing that there is the prerequisite of uniqueness.
As shown in Figure 2, step 2 in the present embodiment) concrete steps be:
2.1) when objective network computer starting, objective network computer Computer title administration module is started;
2.2) computer name administration module obtains the current name of objective network computer;
2.3) computer name administration module obtains the MAC Address of objective network computer, by the MAC Address obtained and step 2.2) current name that obtains mates, if the match is successful, then exits, otherwise proceed to execution step 2.4);
2.4) MAC Address of acquisition is configured as objective network computer name.
The MAC Address of network interface card and computer current name are first mated by computer name administration module by the present embodiment, to determine whether to need to perform layoutprocedure to computer name, if MAC Address is mated mutually with computer name, illustrate and complete configuration, then be left intact, computer name administration module program exits; If do not mated, then illustrate and do not perform configuration, computer name administration module reconfigures computer name according to MAC Address.The present embodiment, after reconfiguring computer name, needs to restart computer and comes into force to make computer name.
In the present embodiment, step 2) Computer title administration module obtains before MAC Address and also comprises net card failure monitoring and alarming step, concrete steps are: computer name administration module judges that whether the network interface card of objective network computer is abnormal, if abnormal, send net card failure warning message, if normal, proceed to and perform acquisition MAC Address.The present embodiment realizes net card failure monitoring and warning function especially by program, with above-mentioned acquisition MAC Address function, configures program corresponding to computer name function be encapsulated as computer name administration module together according to MAC Address.By computer name administration module layoutprocedure take a step forward perform net card failure monitoring and warning function, make it possible to the fault of Timeliness coverage network interface card and carry out alarm, so that administrative staff's Timeliness coverage and process network interface card hardware fault in layoutprocedure.
In the present embodiment, judge that the whether normal concrete steps of the network interface card of objective network computer are: the network card status checking an objective network computer at interval of the fixed time, until inspection reaches preset times, if check result is exception, then be judged to be that network interface card is abnormal, otherwise be judged to be that network interface card is normal.In the present embodiment, running time between inspections specifically gets 60 seconds, check that number of times gets 3 times, even attempt checking that the network state of objective network computer is all abnormal for 3 times, be then judged to be that network interface card is abnormal, need to send abnormal alarm prompting, to inform that administrative staff carry out network interface card hardware check and failture evacuation.
Above-mentioned just preferred embodiment of the present invention, not does any pro forma restriction to the present invention.Although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention.Therefore, every content not departing from technical solution of the present invention, according to the technology of the present invention essence to any simple modification made for any of the above embodiments, equivalent variations and modification, all should drop in the scope of technical solution of the present invention protection.
Claims (5)
1. a method of automatic configuration for network computer title, is characterized in that, step comprises:
1) in all objective network computers needing configuration, a computer name administration module set up in advance is loaded;
2) when objective network computer starting, MAC Address is obtained by starting computer name administration module described in objective network computer, and according to the MAC Address configuration computer name obtained.
2. the method for automatic configuration of network computer title according to claim 1, is characterized in that: described step 2) according to obtain MAC Address configuration computer name be specially: the MAC Address of acquisition is configured as computer name.
3. the method for automatic configuration of network computer title according to claim 2, is characterized in that, described step 2) concrete steps be:
2.1) when objective network computer starting, computer name administration module described in objective network computer is started;
2.2) described computer name administration module obtains the current name of objective network computer;
2.3) described computer name administration module obtains the MAC Address of objective network computer, by the MAC Address obtained and described step 2.2) current name that obtains mates, if the match is successful, then exits, otherwise proceed to execution step 2.4);
2.4) MAC Address of acquisition is configured as objective network computer name.
4. the method for automatic configuration of the network computer title according to claim 1 or 2 or 3, it is characterized in that: described step 2) described in computer name administration module obtain before MAC Address and also comprise net card failure monitoring and alarming step, concrete steps are: described computer name administration module judges that whether the network interface card of objective network computer is abnormal, if abnormal, send net card failure warning message, if normal, proceed to and perform acquisition MAC Address.
5. the method for automatic configuration of network computer title according to claim 4, it is characterized in that, the whether normal concrete steps of the described network interface card judging objective network computer are: the network card status checking an objective network computer at interval of the fixed time, until inspection reaches preset times, if check result is exception, then be judged to be that network interface card is abnormal, otherwise be judged to be that network interface card is normal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510735149.9A CN105430111A (en) | 2015-11-03 | 2015-11-03 | Automatic configuration method of network computer names |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510735149.9A CN105430111A (en) | 2015-11-03 | 2015-11-03 | Automatic configuration method of network computer names |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105430111A true CN105430111A (en) | 2016-03-23 |
Family
ID=55508047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510735149.9A Pending CN105430111A (en) | 2015-11-03 | 2015-11-03 | Automatic configuration method of network computer names |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105430111A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1512381A (en) * | 2002-12-31 | 2004-07-14 | 联想(北京)有限公司 | Network accession method of automatic matching net card |
CN1916861A (en) * | 2006-07-21 | 2007-02-21 | 华为技术有限公司 | Method for modifying configuration information of computer |
US7243224B2 (en) * | 2003-12-31 | 2007-07-10 | Intel Corporation | Preboot execution bootloading |
-
2015
- 2015-11-03 CN CN201510735149.9A patent/CN105430111A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1512381A (en) * | 2002-12-31 | 2004-07-14 | 联想(北京)有限公司 | Network accession method of automatic matching net card |
US7243224B2 (en) * | 2003-12-31 | 2007-07-10 | Intel Corporation | Preboot execution bootloading |
CN1916861A (en) * | 2006-07-21 | 2007-02-21 | 华为技术有限公司 | Method for modifying configuration information of computer |
Non-Patent Citations (2)
Title |
---|
任映雪: "基于 WMI的脚本编程在机房维护管理中的应用", 《实验科学与技术》 * |
向兰宣: "Maxdos+PXE+VBS 在机房管理中的应用", 《计算机光盘软件与应用》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3073676B1 (en) | Method, apparatus and system for controlling auto-provisioning of network device | |
CN102075347B (en) | Security configuration checking equipment and method, and network system adopting equipment | |
CN102083023B (en) | Method, system and equipment for restarting remote control equipment | |
CN103957138B (en) | A kind of method for monitoring network, device and its system | |
CN112291075B (en) | Network fault positioning method and device, computer equipment and storage medium | |
CN104618147A (en) | Longitudinally stacked system management method and system | |
CN109587005A (en) | Connecting detection method, apparatus, computer equipment and readable storage medium storing program for executing | |
CN101820359A (en) | Fault processing method and equipment for network equipment | |
CN108174400B (en) | Data processing method, system and equipment of terminal equipment | |
CN110532096B (en) | System and method for multi-node grouping parallel deployment | |
CN109379239B (en) | Method and device for configuring access switch in OpenStack environment | |
CN102905290B (en) | base station maintenance method and apparatus | |
CN107733717B (en) | Network configuration method for mobile operation and maintenance of cloud platform | |
CN104125079A (en) | Method and device for determining double-device hot-backup configuration information | |
CN114513419A (en) | Security policy configuration method and system | |
CN107529180B (en) | Base station cloud test environment construction device and method | |
RU2693903C1 (en) | Method, apparatus and processing system for expanded port | |
CN103441876B (en) | A kind of based on DHCP protocol and the network device management method of snmp protocol and system | |
CN108174398B (en) | Data processing method, system and equipment of terminal equipment | |
CN105430111A (en) | Automatic configuration method of network computer names | |
CN107566182A (en) | The adapting method and system of a kind of NFS | |
CN205510110U (en) | A network leak scanning system for distributed network platform | |
CN104811345A (en) | Internet service dial test method, correlation devices and system | |
CN111343193B (en) | Cloud network port security protection method and device, electronic equipment and storage medium | |
CN111385520B (en) | Automatic networking method and device of video monitoring equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160323 |