CN107612660A - Network node scanning method - Google Patents
Network node scanning method Download PDFInfo
- Publication number
- CN107612660A CN107612660A CN201710898394.0A CN201710898394A CN107612660A CN 107612660 A CN107612660 A CN 107612660A CN 201710898394 A CN201710898394 A CN 201710898394A CN 107612660 A CN107612660 A CN 107612660A
- Authority
- CN
- China
- Prior art keywords
- node
- echo
- scanning method
- acknowledgement state
- needing
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to a kind of network node scanning method, including:Step S1:Pre-configured address table, be at least registered with network acknowledgement state in need nodal information;Step S2:Core node sends echo request signal to the node for respectively needing acknowledgement state in address table successively, and monitors the Echo Reply of each node;Step S3:According to the Echo Reply situation of each node for needing acknowledgement state, scan report is generated.Compared with prior art, core node of the present invention carries out state confirmation to Intranet node one by one by way of scanning, can save network data, while state understanding of the core node to each node has certain guarantee.
Description
Technical field
The present invention relates to a kind of scan method, more particularly, to a kind of network node scanning method.
Background technology
IP address refers to Internet protocol address (or internet protocol address), is IP Address abbreviation.IP address
It is a kind of unified address format that IP agreement provides, it is each network and each host assignment one on internet
Logical address, the difference of physical address is shielded with this.
Reality enterprise network in, have many times it needs to be determined that each node whether " health ", in existing networking, this
The solution of one problem is that the broadcast in network is realized using each node, node can overseas broadcast to allow other nodes in LAN
Know that oneself is still online, state " health ", but this broadcast can consume certain Internet resources, and all nodes all exist
Broadcast is sent by phased manner, if frequency is too high, it can cause excessive Internet resources to be consumed, and especially LAN is larger
When.But if conversely, artificially reducing the frequency of broadcast, although the consumption for Internet resources can be reduced, can reduce
For the accuracy of this identification, it is assumed that the node of control centre's class in network be present, it needs respectively to save in Overall Network
The business of point, then it needs an accurate understanding to all nodes in each network, therefore at least the node needs
One refresh rate of a relatively high to other node situation frequencies, and other nodes are then not necessarily to.
The content of the invention
It is an object of the present invention to overcome the above-mentioned drawbacks of the prior art and provide a kind of network node scanning
Method.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of network node scanning method, including:
Step S1:Pre-configured address table, be at least registered with network acknowledgement state in need nodal information;
Step S2:Core node sends echo request signal to the node for respectively needing acknowledgement state in address table successively,
And monitor the Echo Reply of each node;
Step S3:According to the Echo Reply situation of each node for needing acknowledgement state, scan report is generated.
The nodal information comprises at least the IP address of node.
The nodal information also includes the MAC Address of node.
The node scan process for needing acknowledgement state to one in address table in the step S2 includes:
Step S21:Step core node sends echo request according to the nodal information of destination node to corresponding IP address
Signal;
Step S22:Echo Reply is monitored, if receiving the Echo Reply of destination node, step S23 is performed, if setting
Fix time and do not receive the Echo Reply of destination node in being spaced, then perform step S24
Step S23:The delay of Echo Reply is recorded, and performs step S24
Step S24:Whether the number for judging to send echo request signal for the destination node reaches setting number, if
It is then to select next node for needing acknowledgement state as destination node, if it has, then performing step S21.
The echo request signal is identical with the data package size of Echo Reply.
The number that sets is 4 time.
The step S3 is specifically included:
Step S31:Extraction is directed to the response situation of each node for needing acknowledgement state, wherein the response situation includes,
Each request whether there is response echo, and the delay of each response echo;
Step S32:According to the delay generation scanning report of each node response times for needing acknowledgement state, and each secondary response
Accuse.
The temporal information of present scan is included in the scan report.
Compared with prior art, the invention has the advantages that:
1) core node carries out state confirmation to Intranet node one by one by way of scanning, can save network data,
Core node, which is understood the state of each node, simultaneously certain guarantee.
2) nodal information comprises at least IP information, based on the scanning of IP information, can there is minimum resource impact.
3) also include MAC Address in nodal information, be easy to identify ARP spoofing attacks.
4) existence time information on scan report, it is convenient to consult.
Brief description of the drawings
Fig. 1 is the key step schematic flow sheet of the present invention.
Embodiment
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.The present embodiment is with technical solution of the present invention
Premised on implemented, give detailed embodiment and specific operating process, but protection scope of the present invention is not limited to
Following embodiments.
A kind of network node scanning method, as shown in figure 1, including:
Step S1:Pre-configured address table, be at least registered with network acknowledgement state in need nodal information, node
Information comprises at least the IP address of node, preferably can be with the MAC Address of envelope node;
Step S2:Core node sends echo request signal to the node for respectively needing acknowledgement state in address table successively,
And monitor the Echo Reply of each node, it is preferred that echo request signal is identical with the data package size of Echo Reply;
The node scan process for needing acknowledgement state to one in address table in step S2 includes:
Step S21:Step core node sends echo request according to the nodal information of destination node to corresponding IP address
Signal;
Step S22:Echo Reply is monitored, if receiving the Echo Reply of destination node, step S23 is performed, if setting
Fix time and do not receive the Echo Reply of destination node in being spaced, then perform step S24
Step S23:The delay of Echo Reply is recorded, and performs step S24
Step S24:Whether the number for judging to send echo request signal for the destination node reaches setting number, if
It is then to select next node for needing acknowledgement state as destination node, if it has, then step S21 is performed, wherein it is preferred that
, number is set as 4 times.
Step S3:According to the Echo Reply situation of each node for needing acknowledgement state, scan report is generated, is specifically included:
Step S31:Extraction is directed to the response situation of each node for needing acknowledgement state, wherein the situation of replying includes, each time
Request whether there is response echo, and the delay of each response echo;
Step S32:According to the delay generation scanning report of each node response times for needing acknowledgement state, and each secondary response
Accuse, it is preferred that the temporal information of present scan is included in scan report.
Claims (8)
- A kind of 1. network node scanning method, it is characterised in that including:Step S1:Pre-configured address table, be at least registered with network acknowledgement state in need nodal information;Step S2:Core node sends echo request signal to the node for respectively needing acknowledgement state in address table successively, and supervises Listen the Echo Reply of each node;Step S3:According to the Echo Reply situation of each node for needing acknowledgement state, scan report is generated.
- 2. a kind of network node scanning method according to claim 1, it is characterised in that the nodal information comprises at least The IP address of node.
- 3. a kind of network node scanning method according to claim 2, it is characterised in that the nodal information also includes section The MAC Address of point.
- 4. a kind of network node scanning method according to claim 2, it is characterised in that to address table in the step S2 In one need the node scan process of acknowledgement state to include:Step S21:Step core node sends echo request letter according to the nodal information of destination node to corresponding IP address Number;Step S22:Echo Reply is monitored, if receiving the Echo Reply of destination node, performs step S23, if during setting Between be spaced in do not receive the Echo Reply of destination node, then execution step S24Step S23:The delay of Echo Reply is recorded, and performs step S24Step S24:Whether the number for judging to send echo request signal for the destination node reaches setting number, if it is, Next node for needing acknowledgement state is then selected as destination node, if it has, then performing step S21.
- A kind of 5. network node scanning method according to claim 1 or 2 or 5, it is characterised in that the echo request letter It is number identical with the data package size of Echo Reply.
- 6. a kind of network node scanning method according to claim 5, it is characterised in that the number that sets is 4 time.
- 7. a kind of network node scanning method according to claim 5, it is characterised in that the step S3 is specifically included:Step S31:Extraction is directed to the response situation of each node for needing acknowledgement state, wherein the response situation includes, each time Request whether there is response echo, and the delay of each response echo;Step S32:According to the delay generation scan report of each node response times for needing acknowledgement state, and each secondary response.
- 8. a kind of network node scanning method according to claim 7, it is characterised in that comprising this in the scan report The temporal information of secondary scanning.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710898394.0A CN107612660A (en) | 2017-09-28 | 2017-09-28 | Network node scanning method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710898394.0A CN107612660A (en) | 2017-09-28 | 2017-09-28 | Network node scanning method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107612660A true CN107612660A (en) | 2018-01-19 |
Family
ID=61059438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710898394.0A Pending CN107612660A (en) | 2017-09-28 | 2017-09-28 | Network node scanning method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107612660A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101478459A (en) * | 2009-02-16 | 2009-07-08 | 北京星网锐捷网络技术有限公司 | Method for detecting network time delay and network node equipment |
CN102055616A (en) * | 2009-10-27 | 2011-05-11 | 英业达股份有限公司 | Method for detecting node state |
US20130336434A1 (en) * | 2011-06-30 | 2013-12-19 | Huawei Technologies Co., Ltd. | Method and device for establishing router neighbor |
CN106331190A (en) * | 2015-06-19 | 2017-01-11 | 中兴通讯股份有限公司 | IP address withdrawing method and device, and dynamic host configuration protocol server |
-
2017
- 2017-09-28 CN CN201710898394.0A patent/CN107612660A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101478459A (en) * | 2009-02-16 | 2009-07-08 | 北京星网锐捷网络技术有限公司 | Method for detecting network time delay and network node equipment |
CN102055616A (en) * | 2009-10-27 | 2011-05-11 | 英业达股份有限公司 | Method for detecting node state |
US20130336434A1 (en) * | 2011-06-30 | 2013-12-19 | Huawei Technologies Co., Ltd. | Method and device for establishing router neighbor |
CN106331190A (en) * | 2015-06-19 | 2017-01-11 | 中兴通讯股份有限公司 | IP address withdrawing method and device, and dynamic host configuration protocol server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2793448B1 (en) | Method, device, and system for short address use in wireless data communication networks | |
WO2016000362A1 (en) | Method, device, and system for configuring flow entries | |
WO2020147647A1 (en) | Message sending method and related device | |
JP5986292B2 (en) | Wireless network discovery method and apparatus | |
TWI757390B (en) | Method, device and system for beam selection | |
WO2018121589A1 (en) | Data link detection method, apparatus and system | |
US20160374114A1 (en) | Method and apparatus for indicating channel resource | |
JP2015519803A5 (en) | ||
CN103200646A (en) | Terminal and terminal initiatively scanning method | |
KR100943758B1 (en) | Method for making and managing a ranging response message in wireless communication system | |
WO2022267950A1 (en) | Communication method and apparatus | |
CN107404446A (en) | A kind of method and device for handling fragment message | |
CN104995882A (en) | Packet processing method and device | |
WO2013189209A1 (en) | Method, device and system for establishing transmission channel | |
US10609630B2 (en) | Discovery message processing method and apparatus | |
EP2698954A1 (en) | Message filtering method and access device | |
WO2018006684A1 (en) | Message processing method and device, and router | |
CN107612660A (en) | Network node scanning method | |
KR100849128B1 (en) | Method and system for allocating address in wireless network | |
US20220286853A1 (en) | Mobility management for aggressive devices | |
CN104507175B (en) | A kind of method of WIA PA network hand-holds equipment Network with Random Multiple Access System | |
CN114489730A (en) | Remote upgrading method, terminal equipment and computer readable storage medium | |
US9160560B2 (en) | CSMA time slot providing and obtaining method and device, networking method and device, and system | |
WO2022134840A1 (en) | Message transmission method and system, and network device and storage medium | |
WO2014187427A1 (en) | Inter-base station communication method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180119 |