CN110213395A - The method and system of local area network online equipment is searched under WINDOWS system - Google Patents
The method and system of local area network online equipment is searched under WINDOWS system Download PDFInfo
- Publication number
- CN110213395A CN110213395A CN201910425752.5A CN201910425752A CN110213395A CN 110213395 A CN110213395 A CN 110213395A CN 201910425752 A CN201910425752 A CN 201910425752A CN 110213395 A CN110213395 A CN 110213395A
- Authority
- CN
- China
- Prior art keywords
- address
- local area
- area network
- protocol analysis
- online equipment
- 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
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000003745 diagnosis Methods 0.000 claims abstract description 33
- 238000012545 processing Methods 0.000 claims abstract description 17
- 238000012360 testing method Methods 0.000 claims abstract description 13
- 238000002405 diagnostic procedure Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 description 12
- 238000004590 computer program Methods 0.000 description 6
- 230000004069 differentiation Effects 0.000 description 4
- 230000007547 defect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2801—Broadband local area networks
-
- 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/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to the method and systems that local area network online equipment is searched under a kind of offer WINDOWS system, comprising the following steps: S1: carrying out gui interface processing to server, and configures control relevant to gui interfaceization processing;S2: network diagnosis test is carried out to IP address section to be detected;S3: the IP address tested by network diagnosis obtains its address protocol analysis table;S4: establishing new tabulated relationship, and address protocol analysis table is matched with IP address;S5: the MAC Address of online IP address is matched in address protocol analysis table.
Description
Technical field
The invention belongs to the inquiring technology fields of local area network online equipment, and in particular to search under a kind of WINDOWS system
The method and system of local area network online equipment.
Background technique
In the prior art, in server test environment, in order to determine BMC (BaseboardManagement
Controller IP address), it usually needs BMC information is checked using ipmitool under into the interface BIOSSetup or OS,
Or the address BMCIP.However the case where for cannot be started up the interface BIOSsetup, both the above acquisition methods are invalid.
It designs a kind of method for searching local area network online equipment under WINDOWS system in view of this, the present invention provides and is
System;It is existing in the prior art when server is in off-mode to solve, the defect of the address BMCIP can not be obtained.
Summary of the invention
The defect of the address BMCIP can not be obtained when server is in off-mode for existing in the prior art, this
Invention provides the method and system that local area network online equipment is searched under a kind of WINDOWS system, realizes when server is in shutdown
The address BMCIP can be obtained when state.
To achieve the above object, the present invention provides following technical scheme:
In a first aspect, the present invention is a kind of to provide the method for searching local area network online equipment under WINDOWS system, including following
Step:
S1: gui interface processing is carried out to server, and configures control relevant to gui interfaceization processing;
S2: network diagnosis test is carried out to IP address section to be detected;
S3: the IP address tested by network diagnosis obtains its address protocol analysis table;
S4: establishing new tabulated relationship, and address protocol analysis table is matched with IP address;
S5: the MAC Address of online IP address is matched in address protocol analysis table.
Preferably, the step S3 is further comprising the steps of:
The IP address that do not tested by network diagnosis is stored to offline list.By the IP tested by network diagnosis
Location and not by network diagnosis test IP address distinguish, by no longer local area network IP address reject.
Preferably, the step S5 specifically includes the following steps:
Program function is created, the value of IP sections of INPUT controls and thread INPUT control is read, call _
GetIpAddressList function judges whether IP address section input is reasonable.
Preferably, the step S5 is further comprising the steps of:
Calling _ MSPingIsReady, _ MSPingGetHostname_MSPingGetResult function, carry out mostly into
IP sections of journey diagnostic test, IP presence is obtained, the MAC Address of online IP address is matched from ARP table.
Preferably, this method is further comprising the steps of:
S6: server indicator light corresponding to the IP address filtered out is lighted;With carry out in local area network online equipment with
The differentiation of non-online equipment.
Second aspect, the present invention provide a kind of system for providing and searching local area network online equipment under WINDOWS system, packet
It includes:
Interface processing module carries out gui interface processing to server, and configures relevant to gui interfaceization processing
Control;
Network diagnosis test module carries out network diagnosis test to IP address section to be detected;
Address protocol analysis table obtains module, and the IP address tested by network diagnosis obtains its address protocol analysis table;
Address matching module establishes new tabulated relationship, and address protocol analysis table is matched with IP address;
Address search module matches the MAC Address of online IP address in address protocol analysis table.
Preferably, the address protocol analysis table obtains in module, the IP address that do not tested by network diagnosis is deposited
It puts to offline list.Area is carried out by the IP address tested by network diagnosis and not by the IP address that network diagnosis is tested
Point, the IP address in no longer local area network is rejected.
Preferably, creating program function in the address search module, IP sections of INPUT controls and thread are read
The value of INPUT control, calling _ GetIpAddressList function judge whether IP address section input is reasonable.
Preferably, in the address search module, calling _ MSPingIsReady, _
MSPingGetHostname_MSPingGetResult function carries out IP sections of multi-process diagnostic test, obtains IP presence,
The MAC Address of online IP address is matched from ARP table.
Preferably, the system further include:
Module is lighted, server indicator light corresponding to the IP address filtered out is lighted;It is online in local area network to carry out
The differentiation of equipment and non-online equipment.
The third aspect provides a kind of terminal, comprising:
Processor, memory, the memory are used to store computer program,
The processor from memory for calling and running the computer program, so that terminal executes the above method.
Fourth aspect provides a kind of computer storage medium, instruction is stored in the computer storage medium, when it
When running on computers, so that computer executes the above method.
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that
Computer executes the above method.
The beneficial effects of the present invention are carry out diagnostic test by the IP address of entire network segment, obtain the IP detected
The address protocol analysis table of address, and it is corresponding with IP address progress match, solve in the case where server is not switched on, obtain
The technical issues of taking the MAC Address of online equipment in local area network.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart of the embodiment of the present invention 1.
Fig. 2 is the control principle block diagram of the embodiment of the present invention 2.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real
The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention
Range.
Embodiment 1:
As shown in Figure 1, searching the side of local area network online equipment under a kind of offer WINDOWS system provided in this embodiment
Method, comprising the following steps:
S1: gui interface processing is carried out to server, and configures control relevant to gui interfaceization processing;
S2: network diagnosis test is carried out to IP address section to be detected;
S3: the IP address tested by network diagnosis obtains its address protocol analysis table;It is not tested by network diagnosis
IP address is stored to offline list.The IP not tested the IP address tested by network diagnosis and by network diagnosis
Address distinguishes, and the IP address in no longer local area network is rejected.
S4: establishing new tabulated relationship, and address protocol analysis table is matched with IP address;
S5: the MAC Address of online IP address is matched in address protocol analysis table.
Program function is created, the value of IP sections of INPUT controls and thread INPUT control is read, call _
GetIpAddressList function judges whether IP address section input is reasonable.
Calling _ MSPingIsReady, _ MSPingGetHostname_MSPingGetResult function, carry out mostly into
IP sections of journey diagnostic test, IP presence is obtained, the MAC Address of online IP address is matched from ARP table.
S6: server indicator light corresponding to the IP address filtered out is lighted;With carry out in local area network online equipment with
The differentiation of non-online equipment.
Embodiment 2:
As shown in Fig. 2, search local area network online equipment under a kind of offer WINDOWS system provided in this embodiment is
System, comprising:
Interface processing module carries out gui interface processing to server, and configures relevant to gui interfaceization processing
Control;
Network diagnosis test module carries out network diagnosis test to IP address section to be detected;
Address protocol analysis table obtains module, and the IP address tested by network diagnosis obtains its address protocol analysis table;
The IP address that do not tested by network diagnosis is stored to offline list.By the IP address tested by network diagnosis and not
It is distinguished by the IP address that network diagnosis is tested, the IP address in no longer local area network is rejected.
Address matching module establishes new tabulated relationship, and address protocol analysis table is matched with IP address;
Address search module matches the MAC Address of online IP address in address protocol analysis table.Program function is created,
The value of IP sections of INPUT controls and thread INPUT control is read, calling _ GetIpAddressList function judges that IP address section is defeated
Whether rationally to enter.Calling _ MSPingIsReady, _ MSPingGetHostname_MSPingGetResult function carry out
IP sections of multi-process diagnostic test, IP presence is obtained, the MAC Address of online IP address is matched from ARP table.
Module is lighted, server indicator light corresponding to the IP address filtered out is lighted;It is online in local area network to carry out
The differentiation of equipment and non-online equipment.
Embodiment 3:
The present embodiment provides a kind of terminals, comprising:
Processor, memory, the memory are used to store computer program,
The processor from memory for calling and running the computer program, so that terminal executes the above method.
Embodiment 4:
A kind of computer storage medium is present embodiments provided, instruction is stored in the computer storage medium, when it
When running on computers, so that computer executes the above method.
Embodiment 5:
A kind of computer program product comprising instruction is present embodiments provided, when run on a computer, so that
Computer executes the above method.
Although by reference to attached drawing and combining the mode of preferred embodiment to the present invention have been described in detail, the present invention
It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention
Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should in covering scope of the invention/appoint
What those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, answer
It is included within the scope of the present invention.Therefore, protection scope of the present invention is answered described is with scope of protection of the claims
It is quasi-.
Claims (10)
1. a kind of provide the method for searching local area network online equipment under WINDOWS system, which comprises the following steps:
S1: gui interface processing is carried out to server, and configures control relevant to gui interfaceization processing;
S2: network diagnosis test is carried out to IP address section to be detected;
S3: the IP address tested by network diagnosis obtains its address protocol analysis table;
S4: establishing new tabulated relationship, and address protocol analysis table is matched with IP address;
S5: the MAC Address of online IP address is matched in address protocol analysis table.
2. the method for searching local area network online equipment under a kind of offer WINDOWS system according to claim 1, feature
It is, the step S3 is further comprising the steps of:
The IP address that do not tested by network diagnosis is stored to offline list.
3. the method that local area network online equipment is provided under a kind of offer WINDOWS system according to claim 1 or 2,
Be characterized in that, the step S5 specifically includes the following steps:
Program function is created, the value of IP sections of INPUT controls and thread INPUT control, calling _ GetIpAddressList are read
Function judges whether IP address section input is reasonable.
4. the method for searching local area network online equipment under a kind of offer WINDOWS system according to claim 3, feature
It is, the step S5 is further comprising the steps of:
Calling _ MSPingIsReady, _ MSPingGetHostname_MSPingGetResult function carry out multi-process and examine
Disconnected IP sections of test, obtains IP presence, the MAC Address of online IP address is matched from ARP table.
5. the method for searching local area network online equipment under a kind of offer WINDOWS system according to claim 4, feature
It is, this method is further comprising the steps of:
S6: server indicator light corresponding to the IP address filtered out is lighted.
6. a kind of provide the system for searching local area network online equipment under WINDOWS system characterized by comprising
Interface processing module carries out gui interface processing to server, and configures control relevant to gui interfaceization processing;
Network diagnosis test module carries out network diagnosis test to IP address section to be detected;
Address protocol analysis table obtains module, and the IP address tested by network diagnosis obtains its address protocol analysis table;
Address matching module establishes new tabulated relationship, and address protocol analysis table is matched with IP address;
Address search module matches the MAC Address of online IP address in address protocol analysis table.
7. the system for searching local area network online equipment under a kind of offer WINDOWS system according to claim 6, feature
It is, the address protocol analysis table obtains in module, the IP address that do not tested by network diagnosis, storage to offline list
It is interior.It is not distinguished by the IP address that network diagnosis is tested by the IP address tested by network diagnosis and, it will no longer office
IP address in the net of domain is rejected.
8. the system that local area network online equipment is provided under a kind of offer WINDOWS system according to claim 6 or 7,
It is characterized in that, in the address search module, creates program function, read IP sections of INPUT controls and thread INPUT control
Value, calling _ GetIpAddressList function judge whether IP address section input is reasonable.
9. the system for searching local area network online equipment under a kind of offer WINDOWS system according to claim 8, feature
It is, in the address search module, calling _ MSPingIsReady, _ MSPingGetHostname_
MSPingGetResult function carries out IP sections of multi-process diagnostic test, obtains IP presence, online IP is matched from ARP table
The MAC Address of address.
10. the system for searching local area network online equipment under a kind of offer WINDOWS system according to claim 9, special
Sign is, the system further include:
Module is lighted, server indicator light corresponding to the IP address filtered out is lighted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910425752.5A CN110213395A (en) | 2019-05-21 | 2019-05-21 | The method and system of local area network online equipment is searched under WINDOWS system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910425752.5A CN110213395A (en) | 2019-05-21 | 2019-05-21 | The method and system of local area network online equipment is searched under WINDOWS system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110213395A true CN110213395A (en) | 2019-09-06 |
Family
ID=67788031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910425752.5A Pending CN110213395A (en) | 2019-05-21 | 2019-05-21 | The method and system of local area network online equipment is searched under WINDOWS system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110213395A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112291776A (en) * | 2020-10-23 | 2021-01-29 | 四川长虹电器股份有限公司 | Method for searching equipment in multi-screen cooperative system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6732165B1 (en) * | 2000-08-31 | 2004-05-04 | International Business Machines Corporation | Simultaneous network configuration of multiple headless machines |
CN102098188A (en) * | 2011-01-11 | 2011-06-15 | 深圳创维-Rgb电子有限公司 | Method and system for detecting IP (Internet Protocol) connection |
CN104410554A (en) * | 2014-12-31 | 2015-03-11 | 浪潮电子信息产业股份有限公司 | Method or testing WOL (Wake On Lan) function of server |
CN105827443A (en) * | 2016-03-15 | 2016-08-03 | 成都市极米科技有限公司 | Network device discovery method and device |
CN108833605A (en) * | 2018-05-30 | 2018-11-16 | 四川斐讯信息技术有限公司 | A kind of method and system for checking local area network all devices IP and MAC |
-
2019
- 2019-05-21 CN CN201910425752.5A patent/CN110213395A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6732165B1 (en) * | 2000-08-31 | 2004-05-04 | International Business Machines Corporation | Simultaneous network configuration of multiple headless machines |
CN102098188A (en) * | 2011-01-11 | 2011-06-15 | 深圳创维-Rgb电子有限公司 | Method and system for detecting IP (Internet Protocol) connection |
CN104410554A (en) * | 2014-12-31 | 2015-03-11 | 浪潮电子信息产业股份有限公司 | Method or testing WOL (Wake On Lan) function of server |
CN105827443A (en) * | 2016-03-15 | 2016-08-03 | 成都市极米科技有限公司 | Network device discovery method and device |
CN108833605A (en) * | 2018-05-30 | 2018-11-16 | 四川斐讯信息技术有限公司 | A kind of method and system for checking local area network all devices IP and MAC |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112291776A (en) * | 2020-10-23 | 2021-01-29 | 四川长虹电器股份有限公司 | Method for searching equipment in multi-screen cooperative system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102271053B (en) | Automating network reconfiguration method and system during migrations | |
CN108566296A (en) | Network equipment layered approach, network management device and computer readable storage medium | |
CN108040354A (en) | A kind of method, system, electronic equipment and server for connecting bluetooth equipment | |
CN114265666B (en) | Network shooting range data acquisition system and method | |
CN113542074B (en) | Method and system for visually managing east-west network flow of kubernets cluster | |
CN114866358B (en) | Automatic penetration testing method and system based on knowledge graph | |
CN110336808A (en) | A kind of attack source tracing method and system towards electric power industry control network | |
CN106651112A (en) | Method and system for reverse approval of workflow | |
CN108053174A (en) | Scene edit methods and system | |
CN106302864A (en) | A kind of IP in order arranges system | |
CN110213395A (en) | The method and system of local area network online equipment is searched under WINDOWS system | |
CN109327343B (en) | Automatic inspection method and system for openstack cloud environment | |
CN106603330A (en) | Cloud platform virtual machine connection state checking method | |
CN108089968A (en) | A kind of method of host's machine monitoring virtual-machine data storehouse state | |
CN205725837U (en) | A kind of Laboratory Instruments equipment management system based on Zigbee networking technology | |
CN113542092A (en) | Openstack-based automatic drainage method | |
CN109064342A (en) | Client identity recognition methods and device | |
CN116962197A (en) | Topology graph generation method and device | |
CN106789407A (en) | A kind of method that cloud platform checks virtual machine connection status | |
CN110232099A (en) | It is associated with map generation method, device, computer equipment and storage medium | |
CN113852658B (en) | OpenStack IPv6 deployment method and system | |
CN109684034A (en) | Start the method and device of container application | |
CN109672987A (en) | A kind of community management method and system | |
CN110620682B (en) | Resource information acquisition method and device, storage medium and terminal | |
CN112422371A (en) | Big data-based computer network test system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190906 |
|
RJ01 | Rejection of invention patent application after publication |