CN111147623A - Method for realizing whole-network host scanning, server and computer readable storage medium - Google Patents

Method for realizing whole-network host scanning, server and computer readable storage medium Download PDF

Info

Publication number
CN111147623A
CN111147623A CN201911403806.4A CN201911403806A CN111147623A CN 111147623 A CN111147623 A CN 111147623A CN 201911403806 A CN201911403806 A CN 201911403806A CN 111147623 A CN111147623 A CN 111147623A
Authority
CN
China
Prior art keywords
host
network
scanning
scanned
interaction
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
Application number
CN201911403806.4A
Other languages
Chinese (zh)
Inventor
冯伟
许胜众
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Fengrunda Technology Co ltd
Original Assignee
Shenzhen Fengrunda Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Fengrunda Technology Co ltd filed Critical Shenzhen Fengrunda Technology Co ltd
Priority to CN201911403806.4A priority Critical patent/CN111147623A/en
Publication of CN111147623A publication Critical patent/CN111147623A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping 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)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method for realizing whole-network host scanning, which comprises the following steps: receiving a host ARP message, and confirming a host interaction network segment of a host to be scanned according to the host ARP message; when the host interactive network segment is determined to be inconsistent with the current application network segment, generating network segment information based on the host interactive network segment; and generating a device interaction table for the host to be scanned based on the generated network segment information, and scanning the host to be scanned through the device interaction table. The invention also discloses a server and a computer readable storage medium. The invention carries out the connection interaction of the hosts in different network segments by actively generating the network segment information without appointed network scanning, thereby realizing the beneficial effect of the whole network host scanning.

Description

Method for realizing whole-network host scanning, server and computer readable storage medium
Technical Field
The present invention relates to the field of network device applications, and in particular, to a method for implementing a full-network host scan, a server, and a computer-readable storage medium.
Background
The existing network terminal platform can only scan a specified network or scan a specified protocol, can not independently learn to scan and judge the type of a host, can not systematically scan all network equipment, and can not realize the scanning function of the all network host.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method for realizing whole-network host scanning, a server and a computer readable storage medium, and aims to solve the technical problem that the whole-network host scanning cannot be realized in the prior art.
In order to achieve the above object, the present invention provides a method for implementing full-network host scanning, which includes the following steps:
receiving a host ARP message, and confirming a host interaction network segment of a host to be scanned according to the host ARP message;
when the host interactive network segment is determined to be inconsistent with the current application network segment, generating network segment information based on the host interactive network segment;
and generating a device interaction table for the host to be scanned based on the generated network segment information, and scanning the host to be scanned through the device interaction table.
Optionally, after the step of receiving a host ARP packet and determining a host interaction network segment of a host to be scanned according to the host ARP packet, the method further includes:
and when the host interactive network segment is confirmed to be consistent with the current application network segment, generating a device interactive table of the host to be scanned.
Optionally, the step of generating a device interaction table for the host to be scanned based on the generated network segment information, and scanning the host to be scanned through the device interaction table includes:
and connecting the host to be scanned according to the host ARP message, and scanning the host to be scanned based on the connection relation.
Optionally, after the step of generating a device interaction table for the host to be scanned based on the generated network segment information and scanning the host to be scanned through the device interaction table, the method further includes:
registering a scanning result to the equipment interaction table;
and storing the equipment interaction table to enable the host to be scanned to carry out data interaction operation.
Optionally, the step of storing the device interaction table to enable the host to be scanned to perform data interaction operation includes:
confirming a device interaction table storage area, and storing the registered device interaction table in the device interaction table storage area.
Optionally, after the step of storing the device interaction table to enable the host to be scanned to perform data interaction operation, the method further includes:
and receiving a host interaction message, and updating the equipment aging time of the equipment interaction table according to the message information of the host interaction message.
Optionally, the implementation method of the full-network host scanning further includes:
inquiring the equipment aging time of the stored equipment interaction table, and determining whether the corresponding host to be scanned is aged or not according to the equipment aging time;
and removing the equipment interaction table when the host to be scanned is confirmed to be aged.
Optionally, the implementation method of the full-network host scanning further includes:
starting the whole network scanning service;
and receiving a host ARP message according to the whole network scanning service.
In addition, to achieve the above object, the present invention also provides a server, including: the system comprises a memory and a processor, wherein the memory stores a computer program capable of being called by the processor, and the computer program realizes the steps of the method for realizing the full-network host scanning when being executed by the processor.
The invention also provides a computer readable storage medium, the storage medium stores a whole network host scanning implementation program, and the whole network host scanning implementation program is executed by a processor to implement the steps of the whole network host scanning implementation method.
The embodiment of the invention provides a method for realizing whole-network host scanning, which comprises the steps of receiving a host ARP message, and confirming a host interaction network segment of a host to be scanned according to the host ARP message; when the host interactive network segment is determined to be inconsistent with the current application network segment, generating network segment information based on the host interactive network segment; and generating a device interaction table for the host to be scanned based on the generated network segment information, and scanning the host to be scanned through the device interaction table. The invention carries out the connection interaction of the hosts in different network segments by actively generating the network segment information without appointed network scanning, thereby realizing the beneficial effect of the whole network host scanning.
Drawings
FIG. 1 is a schematic diagram of a terminal/server structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for implementing full-network host scanning according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a method for implementing full network host scanning according to the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a method for implementing full network host scanning according to the present invention;
fig. 5 is a flowchart illustrating a fourth embodiment of a method for implementing full network host scanning according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: receiving a host ARP message, and confirming a host interaction network segment of a host to be scanned according to the host ARP message; when the host interactive network segment is determined to be inconsistent with the current application network segment, generating network segment information based on the host interactive network segment; and generating a device interaction table for the host to be scanned based on the generated network segment information, and scanning the host to be scanned through the device interaction table.
Because the prior art network terminal platform can only scan the appointed network or scan the appointed protocol, the prior art network terminal platform cannot independently learn to scan and judge the type of the host, and the network terminal platform does not systematically scan the whole network equipment.
The invention provides a solution, which realizes the beneficial effect of whole network host scanning by actively generating network segment information to carry out the connection interaction of non-same network segment hosts without appointed network scanning.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal \ device structure of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a mobile/non-mobile terminal device such as a smart phone, a tablet computer, an electronic book reader and a portable computer.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an implementation program of the full-network host scanning.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call an implementation program of the full-network host scanning stored in the memory 1005, and perform the following operations:
receiving a host ARP message, and confirming a host interaction network segment of a host to be scanned according to the host ARP message;
when the host interactive network segment is determined to be inconsistent with the current application network segment, generating network segment information based on the host interactive network segment;
and generating a device interaction table for the host to be scanned based on the generated network segment information, and scanning the host to be scanned through the device interaction table.
Further, the processor 1001 may call an implementation program of the full-network host scanning stored in the memory 1005, and further perform the following operations:
and when the host interactive network segment is confirmed to be consistent with the current application network segment, generating a device interactive table of the host to be scanned.
Further, the processor 1001 may call an implementation program of the full-network host scanning stored in the memory 1005, and further perform the following operations:
and connecting the host to be scanned according to the host ARP message, and scanning the host to be scanned based on the connection relation.
Further, the processor 1001 may call an implementation program of the full-network host scanning stored in the memory 1005, and further perform the following operations:
registering a scanning result to the equipment interaction table;
and storing the equipment interaction table to enable the host to be scanned to carry out data interaction operation.
Further, the processor 1001 may call an implementation program of the full-network host scanning stored in the memory 1005, and further perform the following operations:
confirming a device interaction table storage area, and storing the registered device interaction table in the device interaction table storage area.
Further, the processor 1001 may call an implementation program of the full-network host scanning stored in the memory 1005, and further perform the following operations:
and receiving a host interaction message, and updating the equipment aging time of the equipment interaction table according to the message information of the host interaction message.
Further, the processor 1001 may call an implementation program of the full-network host scanning stored in the memory 1005, and further perform the following operations:
inquiring the equipment aging time of the stored equipment interaction table, and determining whether the corresponding host to be scanned is aged or not according to the equipment aging time;
and removing the equipment interaction table when the host to be scanned is confirmed to be aged.
Further, the processor 1001 may call an implementation program of the full-network host scanning stored in the memory 1005, and further perform the following operations:
starting the whole network scanning service;
and receiving a host ARP message according to the whole network scanning service.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a method for implementing full-network host scanning according to the present invention, where the method for implementing full-network host scanning includes:
step S10, receiving a host ARP message, and confirming a host interaction network segment of a host to be scanned according to the host ARP message;
receiving a host ARP message according to a current application network, wherein the host ARP message is initiated by equipment with a current interaction requirement to the current application network, and the equipment with the interaction requirement is hardware equipment required by a network application environment and a network application type based on the current application network or electronic equipment required by network connection and the like. The method comprises the steps of confirming a host to be scanned which initiates a host ARP message according to a received host ARP message, confirming a host interaction network segment applied by the host to be scanned based on the host ARP message, wherein in practical application, hardware equipment which initiates the host ARP message has a network connection function, and the interaction network segments applied by the hardware equipment are multiple based on different function application requirements of the network connection function. Therefore, when the network interaction network segment of the host to be scanned is confirmed according to the received host ARP message, the interaction network segment of the host to be scanned can be confirmed based on the message information of the read host ARP message. And confirming whether the interactive network segment is consistent with the network segment of the current application network or not according to the confirmed interactive network segment of the host to be scanned, and directly establishing interactive connection with the host to be scanned by using the network of the current application network when the interactive network segment is consistent with the network segment of the current application network. Further, after the step of receiving a host ARP packet and determining a host interaction network segment of a host to be scanned according to the host ARP packet, the method further includes:
and when the host interactive network segment is confirmed to be consistent with the current application network segment, generating a device interactive table of the host to be scanned.
Based on the host ARP message that the host computer that waits to scan at present initiates, when confirming based on host ARP message the interactive network segment of waiting to scan the host computer is unanimous, do wait to scan the host computer and generate the mutual table of equipment based on the network interaction, the mutual table of equipment includes IP + MAC host computer table and timestamp, wherein, IP + MAC host computer table is for wait to scan the equipment's equipment address information, the timestamp is the time node based on mutual time registration.
Step S20, when the host interactive network segment is confirmed to be inconsistent with the current application network segment, network segment information based on the host interactive network segment is generated;
and confirming the host interaction network segment of the equipment to be scanned based on the host ARP message according to the received host ARP message of the equipment to be scanned. Reading message information of the host ARP message to confirm a host interaction network segment of the host to be scanned, confirming that the host interaction network segment cannot be connected with a current network application network segment when confirming that the host interaction network segment is inconsistent with the current network application network segment, generating network segment information based on the host interaction network segment based on the condition, wherein the network segment information is IP information based on network connection, and executing generation operation of the network segment information based on a network IP generation rule of the current application network when generating the network segment information.
Step S30, generating a device interaction table for the host to be scanned based on the generated network segment information, and scanning the host to be scanned through the device interaction table.
And generating network segment information based on the host interaction network segment of the host to be scanned when the network segment of the host to be scanned of the received host ARP message is determined to be inconsistent with the network segment of the current application network, thus generating an equipment interaction table for the host to be scanned according to the generated network segment information for realizing the interaction connection relationship of the host to be scanned, wherein the equipment interaction table comprises an IP + MAC host table and a timestamp, and the IP information in the IP + MAC host table is generated based on the generated network segment information and is provided with the network segment identification information of the network segment information.
As described above, according to the device interaction table generated by the host to be scanned, the host to be scanned is scanned, and the device type of the host to be scanned is determined according to the scanning result, where the device type refers to an application function of the host to be scanned, such as an image pickup device, a playback device, and the like. Therefore, when the host to be scanned is scanned, the scanning operation is performed through the functional scanning modules of the relevant types, including LLDP acquisition and scanning, ONVIF protocol scanning, NETBIOS scanning and SNMP scanning, and different device functions can be confirmed through different scanning types.
In addition, when scanning the host to be scanned based on the generated device interaction table, the step of connecting the tape scanning device, that is, generating the device interaction table for the host to be scanned based on the generated network segment information, and scanning the host to be scanned through the device interaction table, includes:
and connecting the host to be scanned according to the host ARP message, and scanning the host to be scanned based on the connection relation.
Based on the received host ARP message of the host to be scanned, establishing a connection relation between the host ARP message and the host to be scanned, and scanning the host to be scanned based on the connection relation.
In the embodiment, the network segment information is actively generated to carry out the connection interaction of the hosts in different network segments, and the beneficial effect of the whole network host scanning is realized without appointed network scanning.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a method for implementing a full network host scan according to the present invention, where based on the first embodiment shown in fig. 2, after the step of generating a device interaction table for the host to be scanned based on the generated network segment information, and scanning the host to be scanned through the device interaction table, the method further includes:
step S40, registering the scanning result to the device interaction table;
and step S50, storing the device interaction table to enable the host to be scanned to perform data interaction operation.
And step S60, receiving the host interaction message, and updating the equipment aging time of the equipment interaction table according to the message information of the host interaction message.
In this embodiment, according to a scanning result of a current host to be scanned, the scanning result is registered in an equipment interaction table generated by the host to be scanned. When the scanning result is registered to the device interaction table, the scanning result is registered based on the generated device parameters in the device interaction table, or a new device parameter is generated in the device interaction table to register the scanning result. According to the currently generated and registered device interaction table of the scanning result, the step of storing the device interaction table to a preset device interaction table storage area, namely, storing the device interaction table to enable the host to be scanned to perform data interaction operation, includes:
confirming a device interaction table storage area, and storing the registered device interaction table in the device interaction table storage area.
And confirming the equipment interaction table storage area of the current equipment interaction table based on the current network relation application, and storing the equipment interaction table with the registered scanning result to the confirmed equipment interaction table storage area according to the equipment interaction table storage area. The device information may be stored for identification based on the device interaction table in view of device connectivity. Therefore, according to the host to be scanned of the stored equipment interaction table, the interactive connection relation is established with the host to be scanned, and the data interactive operation of the host to be scanned is realized. Therefore, after the interactive connection relationship between the host to be scanned and the current application network is established, when the host to be scanned realizes data interaction, data interaction operation is realized in a mode of initiating host interaction messages, so that when the host interaction messages of the host to be scanned are received, the data interaction relationship of the host to be scanned is established, and the equipment aging time is updated in the equipment interaction table of the host to be scanned based on the data interaction relationship so as to register the equipment connection time of the host to be scanned.
Referring to fig. 4, fig. 4 is a schematic flowchart of a third embodiment of a method for implementing full-network host scanning according to the present invention, and based on the first and second embodiments shown in fig. 2 and 3, the method for implementing full-network host scanning further includes:
step S70, inquiring the equipment aging time of the stored equipment interaction table, and determining whether the corresponding host to be scanned is aged according to the equipment aging time;
and step S80, removing the device interaction table when the host to be scanned is confirmed to be aged.
In this embodiment, the device aging time of the device interaction table is queried according to the currently stored device interaction table, where the device aging time is a device update time or a data interaction time calculated based on the latest interaction time for data interaction between the host and the current application network corresponding to the device interaction table. When the device aging time is confirmed, it may be calculated based on the data interaction time stored in the device interaction table, for example, that the latest host data interaction time registered in the current device interaction table is 12-1, and the device active time set for the latest host data interaction time is 24 hours, so when the device aging time is confirmed, the device online time which is the host within 24 hours after 12-1 is pushed backward is taken as the device online time, and the time after exceeding 12-1 is pushed backward by 24 is taken as the device aging time, that is, the host is confirmed to be in the device aging state after 12-1 is pushed backward by 24 hours to be 12-2. And in consideration of system simplification of the current application network, removing the device interaction table of the host from the current device interaction table storage area to avoid invalid connection relation of the application network. In addition, considering the data interaction stop condition caused by the equipment power saving mode or the sleep mode when the equipment is applied, when the equipment interaction table is removed, a data interaction prompt is sent to the corresponding host based on the equipment interaction table to confirm the current connection of the host, under the general condition, when the host receives the data interaction prompt, a relevant interaction message is returned, and based on the condition, the equipment aging time of the equipment interaction table is updated by the interaction message, and the equipment interaction table of the host is reserved; and when the interaction message returned by the host cannot be received based on the data interaction prompt, confirming that the data connection of the host is disconnected, and removing the equipment interaction table of the host.
Referring to fig. 5, fig. 5 is a schematic flowchart of a fourth embodiment of a method for implementing full-network host scanning according to the present invention, and based on the first, second, and third embodiments shown in fig. 2, 3, and 4, the method for implementing full-network host scanning further includes:
step S90, starting the whole network scanning service;
and step S10, receiving a host ARP message according to the whole network scanning service.
In this embodiment, a network application based on the current device environment starts a network-wide scanning service of the network application, where the device required by the network application based on the current device environment includes, but is not limited to, a server, a switch, and other host devices with data interaction requirements. The method comprises the steps of starting the whole network scanning service of the current equipment environment network application according to a whole network scanning function module configured in a current server, and receiving a host ARP message based on the whole network scanning service, wherein the host ARP message is from a data interaction request and terminal equipment needing to be added into the current environment network application. The method comprises the steps that a whole network scanning function module configured by a current server receives a host ARP message initiated by whole network equipment, wherein the host ARP message comprises information such as but not limited to an application network segment, equipment identification and the like, and the received host ARP message comprises a plurality of network segments, so that when a host ARP message based on a non-same network segment is received, network segment information based on the host ARP message is generated so as to facilitate host connection, the configured whole network scanning function module needs to learn legal network segment information creating capability before generating new network segment information, and when the network segment information is created, the network segment information is created in a code collision and multi-IP mode, so that the network segment information comprises legal IP information and the like.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where an implementation program for full-network host scanning is stored on the computer-readable storage medium, and when executed by a processor, the implementation program for full-network host scanning implements the following operations:
receiving a host ARP message, and confirming a host interaction network segment of a host to be scanned according to the host ARP message;
when the host interactive network segment is determined to be inconsistent with the current application network segment, generating network segment information based on the host interactive network segment;
and generating a device interaction table for the host to be scanned based on the generated network segment information, and scanning the host to be scanned through the device interaction table.
Further, the implementation program of the full-network host scanning further implements the following operations when executed by the processor:
and when the host interactive network segment is confirmed to be consistent with the current application network segment, generating a device interactive table of the host to be scanned.
Further, the implementation program of the full-network host scanning further implements the following operations when executed by the processor:
and connecting the host to be scanned according to the host ARP message, and scanning the host to be scanned based on the connection relation.
Further, the implementation program of the full-network host scanning further implements the following operations when executed by the processor:
registering a scanning result to the equipment interaction table;
and storing the equipment interaction table to enable the host to be scanned to carry out data interaction operation.
Further, the implementation program of the full-network host scanning further implements the following operations when executed by the processor:
confirming a device interaction table storage area, and storing the registered device interaction table in the device interaction table storage area.
Further, the implementation program of the full-network host scanning further implements the following operations when executed by the processor:
and receiving a host interaction message, and updating the equipment aging time of the equipment interaction table according to the message information of the host interaction message.
Further, the implementation program of the full-network host scanning further implements the following operations when executed by the processor:
inquiring the equipment aging time of the stored equipment interaction table, and determining whether the corresponding host to be scanned is aged or not according to the equipment aging time;
and removing the equipment interaction table when the host to be scanned is confirmed to be aged.
Further, the implementation program of the full-network host scanning further implements the following operations when executed by the processor:
starting the whole network scanning service;
and receiving a host ARP message according to the whole network scanning service.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for realizing whole network host scanning is characterized in that the method for realizing whole network host scanning comprises the following steps:
receiving a host ARP message, and confirming a host interaction network segment of a host to be scanned according to the host ARP message;
when the host interactive network segment is determined to be inconsistent with the current application network segment, generating network segment information based on the host interactive network segment;
and generating a device interaction table for the host to be scanned based on the generated network segment information, and scanning the host to be scanned through the device interaction table.
2. The method for implementing the whole network host scanning according to claim 1, wherein after the step of receiving the host ARP packet and confirming the host interaction network segment of the host to be scanned according to the host ARP packet, the method further comprises:
and when the host interactive network segment is confirmed to be consistent with the current application network segment, generating a device interactive table of the host to be scanned.
3. The method for implementing the global network host scanning according to claim 1, wherein the step of generating a device interaction table for the host to be scanned based on the generated network segment information and scanning the host to be scanned through the device interaction table includes:
and connecting the host to be scanned according to the host ARP message, and scanning the host to be scanned based on the connection relation.
4. The method for implementing network-wide host scanning according to claim 1, wherein after the step of generating a device interaction table for the host to be scanned based on the generated network segment information and scanning the host to be scanned through the device interaction table, the method further includes:
registering a scanning result to the equipment interaction table;
and storing the equipment interaction table to enable the host to be scanned to carry out data interaction operation.
5. The method for implementing network-wide host scanning according to claim 4, wherein the step of storing the device interaction table to enable the host to be scanned to perform data interaction operations includes:
confirming a device interaction table storage area, and storing the registered device interaction table in the device interaction table storage area.
6. The method for implementing network-wide host scanning according to claim 4, wherein after the step of storing the device interaction table to enable the host to be scanned to perform data interaction operation, the method further includes:
and receiving a host interaction message, and updating the equipment aging time of the equipment interaction table according to the message information of the host interaction message.
7. The method for implementing network-wide host scanning according to claim 1, further comprising:
inquiring the equipment aging time of the stored equipment interaction table, and determining whether the corresponding host to be scanned is aged or not according to the equipment aging time;
and removing the equipment interaction table when the host to be scanned is confirmed to be aged.
8. The method for implementing network-wide host scanning according to any one of claims 1 to 7, further comprising:
starting the whole network scanning service;
and receiving a host ARP message according to the whole network scanning service.
9. A server, characterized in that the server comprises: memory, a processor, said memory having stored thereon a computer program which can be invoked by the processor, said computer program, when executed by the processor, implementing the steps of a method for implementing a full network host scan according to any of claims 1 to 8.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores thereon a program for implementing a full-network mainframe scanning, and when the program is executed by a processor, the method for implementing the full-network mainframe scanning according to any one of claims 1 to 8 is implemented.
CN201911403806.4A 2019-12-27 2019-12-27 Method for realizing whole-network host scanning, server and computer readable storage medium Pending CN111147623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911403806.4A CN111147623A (en) 2019-12-27 2019-12-27 Method for realizing whole-network host scanning, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911403806.4A CN111147623A (en) 2019-12-27 2019-12-27 Method for realizing whole-network host scanning, server and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111147623A true CN111147623A (en) 2020-05-12

Family

ID=70522382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911403806.4A Pending CN111147623A (en) 2019-12-27 2019-12-27 Method for realizing whole-network host scanning, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111147623A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116587A (en) * 2021-11-30 2022-03-01 上汽通用五菱汽车股份有限公司 Interaction method and device for vehicle-mounted serial peripheral interface and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120278471A1 (en) * 2011-04-26 2012-11-01 Motorola Mobility, Inc. Devices and Methods for Two Step Searches for Servers by a Communication Device
CN103873301A (en) * 2014-03-20 2014-06-18 浙江宇视科技有限公司 System and method for automatically finding and adding devices
CN104301451A (en) * 2014-10-17 2015-01-21 福建星网锐捷网络有限公司 Cross-network-segment host communication method, device and system
CN106341656A (en) * 2016-08-31 2017-01-18 浙江远望信息股份有限公司 Video equipment monitoring method, device and system
CN107347046A (en) * 2016-05-04 2017-11-14 北京化工大学 A kind of datagram header compression implementation method of cross-network segment
CN107919999A (en) * 2017-11-21 2018-04-17 天津英田视讯科技有限公司 The discovery of different segment digital camera and connection method in a kind of LAN
CN108063839A (en) * 2017-12-29 2018-05-22 深圳市九洲电器有限公司 A kind of method for accessing network and the device for accessing network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120278471A1 (en) * 2011-04-26 2012-11-01 Motorola Mobility, Inc. Devices and Methods for Two Step Searches for Servers by a Communication Device
CN103873301A (en) * 2014-03-20 2014-06-18 浙江宇视科技有限公司 System and method for automatically finding and adding devices
CN104301451A (en) * 2014-10-17 2015-01-21 福建星网锐捷网络有限公司 Cross-network-segment host communication method, device and system
CN107347046A (en) * 2016-05-04 2017-11-14 北京化工大学 A kind of datagram header compression implementation method of cross-network segment
CN106341656A (en) * 2016-08-31 2017-01-18 浙江远望信息股份有限公司 Video equipment monitoring method, device and system
CN107919999A (en) * 2017-11-21 2018-04-17 天津英田视讯科技有限公司 The discovery of different segment digital camera and connection method in a kind of LAN
CN108063839A (en) * 2017-12-29 2018-05-22 深圳市九洲电器有限公司 A kind of method for accessing network and the device for accessing network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116587A (en) * 2021-11-30 2022-03-01 上汽通用五菱汽车股份有限公司 Interaction method and device for vehicle-mounted serial peripheral interface and readable storage medium
CN114116587B (en) * 2021-11-30 2024-02-13 上汽通用五菱汽车股份有限公司 Interaction method and device of vehicle-mounted serial peripheral interface and readable storage medium

Similar Documents

Publication Publication Date Title
CN109803242B (en) Method, apparatus and readable storage medium for NF discovery through NRF
CN108039969B (en) Network automatic configuration method, device, system, storage medium and target computer
CN110446273B (en) Networking method and device based on electronic price tags
US20210084703A1 (en) Configuration system, client device, embedded device configuration method, and storage medium
CN113055976A (en) Wireless screen projection method, device, equipment and storage medium based on local area network
CN111147314A (en) Switch upgrading method, device and storage medium
CN112104757A (en) Method, equipment and system for configuring IP address
CN109768980B (en) Server access method, device, mobile terminal and computer readable storage medium
CN111147402A (en) Method and device for customizing factory setting items of switch, switch and system
CN112448873A (en) Equipment binding method and device and computer readable storage medium
CN111934961A (en) Intelligent household network configuration method, equipment and computer readable storage medium
CN111510353A (en) Detection method, device and equipment of online equipment and computer readable storage medium
CN104702678B (en) Document transmission method and device
CN109729346B (en) Remote debugging method and system for television, debugging terminal and television terminal
CN111147623A (en) Method for realizing whole-network host scanning, server and computer readable storage medium
CN104601448A (en) Method and device for handling virtual card
US20090296149A1 (en) Communication system, information storage device, management device, and terminal device
CN111930482A (en) Task processing method, device and equipment based on node cluster and storage medium
US20230126360A1 (en) Wifi network access method, communication method, peripheral apparatus, and storage medium
CN109067570B (en) Server information display method and device and server
CN113190565B (en) Data updating method and device, storage medium and electronic device
CN113645599A (en) Information processing method based on electronic equipment interaction and first electronic equipment
CN111030874B (en) Service arranging method, equipment, storage medium and device
CN110336693B (en) Method, device, equipment and storage medium for managing network block equipment
CN111490910A (en) Device information scanning method, terminal device and computer readable storage medium

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: 20200512

RJ01 Rejection of invention patent application after publication