Nothing Special   »   [go: up one dir, main page]

CN111490910A - Device information scanning method, terminal device and computer readable storage medium - Google Patents

Device information scanning method, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN111490910A
CN111490910A CN202010235295.6A CN202010235295A CN111490910A CN 111490910 A CN111490910 A CN 111490910A CN 202010235295 A CN202010235295 A CN 202010235295A CN 111490910 A CN111490910 A CN 111490910A
Authority
CN
China
Prior art keywords
network
packet
information
scanning
data response
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
CN202010235295.6A
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 Rongan Networks Technology Co ltd
Original Assignee
Shenzhen Rongan Networks 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 Rongan Networks Technology Co ltd filed Critical Shenzhen Rongan Networks Technology Co ltd
Priority to CN202010235295.6A priority Critical patent/CN111490910A/en
Publication of CN111490910A publication Critical patent/CN111490910A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/103Active monitoring, e.g. heartbeat, ping or trace-route with adaptive polling, i.e. dynamically adapting the polling rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • 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/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a device information scanning method, terminal equipment and a computer readable storage medium. The scanning method of the equipment information provided by the invention comprises the following steps: the server acquires attribute information input by a user through a setting interface, wherein the attribute information comprises the length of a data packet; sending the network data packet to each terminal device in a system network according to the attribute information so that the terminal device returns a corresponding data response packet according to the network data packet; and after receiving the data response packet, acquiring the equipment information of the terminal equipment according to the data response packet. The user manually sets the data packet length of the network data packet sent to the terminal equipment according to the requirement, so that the data packet length accords with the terminal equipment in the industrial network, and the accuracy of equipment information scanning is improved.

Description

Device information scanning method, terminal device and computer readable storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method for scanning device information, a terminal device, and a computer-readable storage medium.
Background
With the increasing number of various devices added to the industrial network, enterprises need to automatically scan various network devices for asset management. Because of different equipment types of industrial networks and different characteristics of industrial control equipment supporting networks, currently, when an enterprise manages the asset equipment, the enterprise sends a request packet to the terminal equipment and acquires equipment information according to a received response data packet, but because the sent request packet is default, some special safety equipment in the industrial network only responds to a network data packet with a specific size, the scanning accuracy of the terminal equipment is low.
Disclosure of Invention
The invention mainly aims to provide a device information scanning method, a terminal device and a computer readable storage medium, and aims to solve the problem that the scanning accuracy of the current terminal device is low.
In order to achieve the above object, the present invention provides a method for scanning device information, which includes the following steps:
the server acquires attribute information input by a user through a setting interface, wherein the attribute information comprises the length of a data packet;
sending the network data packet to each terminal device in a system network according to the attribute information so that the terminal device returns a corresponding data response packet according to the network data packet;
and after receiving the data response packet, acquiring the equipment information of the terminal equipment according to the data response packet.
Optionally, the step of sending the network data packet to each terminal device in the system network according to the attribute information includes:
acquiring network segment information corresponding to the terminal equipment in the system network;
acquiring a packet sending mode according to the network segment information, wherein the packet sending mode comprises the following steps: broadcast or protocol packets;
and sending the network data packet to each terminal device in a system network according to the packet sending mode and the attribute information.
Optionally, the step of sending the network data packet to each terminal device in the system network according to the packet sending method and the attribute information includes:
acquiring a scanning period and a scanning frequency in the attribute information;
and after the current time point reaches the time point corresponding to the scanning period, sending the network data packet to each terminal in the system network according to the packet sending mode and the scanning frequency.
Optionally, after receiving the data response packet, the step of obtaining associated device information according to the data response packet includes:
after receiving the data response packet, acquiring network address information and hardware address information according to the data response packet;
and acquiring the equipment information according to the network address information and the hardware address information.
Optionally, the step of obtaining network address information and hardware address information according to the data response packet includes:
and if the packet sending mode corresponding to the data response packet is broadcast packet sending, acquiring the network address information and the hardware address information contained in the data response packet.
Optionally, the step of obtaining network address information and hardware address information according to the data response packet further includes:
if the packet sending mode corresponding to the data response packet is protocol packet sending, acquiring the network address information according to the data response packet;
and acquiring a network management protocol of the system network, and acquiring the hardware address information according to the network address information and the network management protocol.
In order to achieve the above object, the present invention further provides a terminal device, which includes a memory, a processor, and a control program of a device information scanning method stored in the memory and executable on the processor, wherein the control program of the device information scanning method implements the steps of the device information scanning method as described above when executed by the processor.
To achieve the above object, the present invention further provides a computer-readable storage medium having stored thereon a control program of a scanning method of device information, which when executed by a processor, implements the steps of the scanning method of device information as described above.
In the technical scheme of the invention, the user manually sets the data packet length of the network data packet sent to the terminal equipment according to the requirement, so that the data packet length accords with the terminal equipment in the industrial network, and the accuracy of equipment information scanning is improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for scanning device information according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a method for scanning device information according to the present invention;
FIG. 4 is a flowchart illustrating a method for scanning device information according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating a fourth embodiment of a method for scanning device information according to the present invention;
FIG. 6 is a flowchart illustrating a fifth embodiment of a method for scanning device information according to the present invention;
fig. 7 is a flowchart illustrating a sixth embodiment of a method for scanning device information 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
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back) are involved in the embodiment of the present invention, the directional indications are only used for explaining the relative positional relationship, the motion situation, and the like between the components in a certain posture, and if the certain posture is changed, the directional indications are changed accordingly.
In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
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: the server acquires attribute information input by a user through a setting interface, wherein the attribute information comprises the length of a data packet;
sending the network data packet to each terminal device in a system network according to the attribute information so that the terminal device returns a corresponding data response packet according to the network data packet;
and after receiving the data response packet, acquiring associated equipment information according to the data response packet.
In the prior art, when an enterprise manages internal asset equipment, the enterprise sends a request packet to the terminal equipment and acquires equipment information according to a received response data packet, but because the sent request packet is default, some special safety equipment in an industrial network only responds to network data packets with specific sizes, the scanning accuracy of the terminal equipment is low.
The invention provides a method for scanning equipment information, which is characterized in that a user manually sets the data packet length of a network data packet sent to a terminal device according to requirements, so that the data packet length accords with the terminal device in an industrial network, and the accuracy of equipment information scanning is improved.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a server or terminal equipment with an information processing function.
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., a WiFi interface). The memory 1005 may be a high-speed RAM memory, or may be an NVM (non-volatile memory), such as a 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-readable storage medium, may include therein a control program of an operating system, a network communication module, and a scanning method of device information.
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 terminal device (device side) and performing data communication with the device side; and the processor 1001 may be configured to call a control program of a scanning method of the device information stored in the memory 1005, and perform the following operations:
the server acquires attribute information input by a user through a setting interface, wherein the attribute information comprises the length of a data packet;
sending the network data packet to each terminal device in a system network according to the attribute information so that the terminal device returns a corresponding data response packet according to the network data packet;
and after receiving the data response packet, acquiring the equipment information of the terminal equipment according to the data response packet.
Further, the processor 1001 may call a control program of the scanning method of the device information stored in the memory 1005, and also perform the following operations:
acquiring network segment information corresponding to the terminal equipment in the system network;
acquiring a packet sending mode according to the network segment information, wherein the packet sending mode comprises the following steps: broadcast or protocol packets;
and sending the network data packet to each terminal device in a system network according to the packet sending mode and the attribute information.
Further, the processor 1001 may call a control program of the scanning method of the device information stored in the memory 1005, and also perform the following operations:
acquiring a scanning period and a scanning frequency in the attribute information;
and after the current time point reaches the time point corresponding to the scanning period, sending the network data packet to each terminal in the system network according to the packet sending mode and the scanning frequency.
Further, the processor 1001 may call a control program of the scanning method of the device information stored in the memory 1005, and also perform the following operations:
after receiving the data response packet, acquiring network address information and hardware address information according to the data response packet;
and acquiring the equipment information according to the network address information and the hardware address information.
Further, the processor 1001 may call a control program of the scanning method of the device information stored in the memory 1005, and also perform the following operations:
and if the packet sending mode corresponding to the data response packet is broadcast packet sending, acquiring the network address information and the hardware address information contained in the data response packet.
Further, the processor 1001 may call a control program of the scanning method of the device information stored in the memory 1005, and also perform the following operations:
if the packet sending mode corresponding to the data response packet is protocol packet sending, acquiring the network address information according to the data response packet;
and acquiring a network management protocol of the system network, and acquiring the hardware address information according to the network address information and the network management protocol.
Based on the hardware architecture, the embodiment of the scanning method of the equipment information is provided.
Referring to fig. 2, fig. 2 is a first embodiment of a device information scanning method according to the present invention, which includes the following steps:
step S10, the server obtains the attribute information input by the user through the setting interface, the attribute information includes the length of the data packet;
step S20, sending the network data packet to each terminal device in the system network according to the attribute information, so that the terminal device returns a corresponding data response packet according to the network data packet;
in this embodiment, the terminal device is an asset device that can perform network connection in a specific system network (an enterprise, an organization, and the like). The network data packet is data information sent by the server for scanning and detecting the terminal equipment, the length of the data packet is the length of a character string in the data information, the character strings with different lengths correspond to different network data packets, different terminal equipment responds to the network data packet with a specific character string length, and a corresponding data response packet is generated. Specifically, a user can set the length of a character string by himself as required, the length of the character string can be 1, and can also be a natural number such as 2, 3, 4. In another case, after setting the data packet length of each network data packet, the user selects the network data packet to be sent, the system sorts the data packets according to the data packet length and sends the network data packets according to the sorting sequence; or the user sets the sending sequence of the network data packet by himself, and the system sends the network data packet according to the sending sequence set by the user.
In this embodiment, since the length of the data packet can be set by itself, the user only needs to set the length of the data packet as needed, and thus the network data packet sent by the server covers each terminal device in the system network multiple times.
Step S30, after receiving the data response packet, acquiring the device information of the terminal device according to the data response packet.
In this embodiment, different terminal devices respond to a network data packet with a specific length and generate a corresponding data response packet, so that the data response packet includes device information of the terminal device that sent the data response packet. The device information comprises network address information and hardware address information of the terminal device, and the server can manage and control the corresponding terminal device in the system network according to the network address information and the hardware address information.
In this embodiment, the user manually sets the packet length of the network packet sent to the terminal device as required, so that the packet length conforms to the terminal device in the industrial network, and the accuracy of device information scanning is improved.
Referring to fig. 3, fig. 3 is a second embodiment of the method for scanning device information according to the present invention, and based on the first embodiment, step S20 includes:
step S21, acquiring network segment information corresponding to the terminal device in the system network;
step S22, obtaining a packet sending mode according to the network segment information, wherein the packet sending mode comprises the following steps: broadcast or protocol packets;
step S23, sending the network data packet to each terminal device in the system network according to the packet sending mode and the attribute information.
In this embodiment, when scanning a terminal device of a detection system network, two-layer network scanning and three-layer network scanning are performed, where the two-layer network scanning is performed, that is, an industrial device (terminal device) and a scanning device (server) belong to the same network; three-layer network scanning, that is, industrial equipment (terminal equipment) needs to communicate with scanning equipment (server) through a router. The network segment information, namely the terminal equipment, belongs to a two-layer network or a three-layer network correspondingly.
In this embodiment, different network segment information corresponds to different packet sending modes, that is, the server sends the network data packet to the terminal device according to different packet sending modes. The mode of sending the bag comprises: broadcast packets or protocol packets. The packet sending mode corresponding to the two-layer network is broadcast packet sending, and the network data packet corresponding to the broadcast packet sending is a broadcast data packet; the packet sending mode corresponding to the three-layer network is protocol packet sending, and the network data packet corresponding to the protocol packet sending is a protocol data packet.
In this embodiment, when the packet sending manner is broadcast packet sending, the server sends a broadcast data packet with a specified data packet length to each terminal device in the system network, and a terminal device having a response capability to the broadcast data packet with the specified data packet length generates a corresponding broadcast data response packet according to the broadcast data packet.
In this embodiment, when the packet sending mode is protocol packet sending, the server sends a protocol data packet with a specified data packet length to each terminal device in the system network, and a terminal device having a capability corresponding to the protocol data packet with the specified data packet length generates a corresponding protocol data response packet according to the protocol data packet.
In the embodiment, the two-layer network segment or the three-layer network segment is automatically configured to send different types of network data packets to the terminal devices in different network segments, and the packet sending mode of the server is further subdivided, so that the safety and reliability of network scanning are improved, and the comprehensive monitoring capability of the server on all the terminal devices is further improved.
Referring to fig. 4, fig. 4 is a third embodiment of the method for scanning device information according to the present invention, and based on the second embodiment, step S23 includes:
step S231, acquiring a scanning period and a scanning frequency in the attribute information;
step S232, after the current time point reaches the time point corresponding to the scanning period, sending the network data packet to each terminal in the system network according to the packet sending method and the scanning frequency.
In this embodiment, after the system acquires the network segment information in a specific range, the system may first acquire a corresponding packet sending mode according to the specific network segment information, and send a network data packet to a corresponding network segment. The system needs to scan each specific network segment in the network segments within the specified range and determine the corresponding packet sending mode. For example, the specified network segment information is 192.168.1.1-192.168.1.255, the system starts scanning from 192.168.1.1, judges a packet sending mode corresponding to 192.168.1.1, and sends a corresponding network data packet to 192.168.1.1 according to the packet sending mode; scanning 192.168.1.2 again, judging a packet sending mode corresponding to 192.168.1.2, and sending a corresponding network data packet to 192.168.1.2 according to the packet sending mode; and the like until the network data packet corresponding to 192.168.1.255 is sent.
In this embodiment, the scanning frequency, that is, the time interval at which the system scans two specific adjacent network segments in the network segment in the specified range, may be set by the user, that is, the scanning frequency may be 1 second, 2 seconds, 10 seconds, or other time intervals. Correspondingly, the system starts scanning from 192.168.1.1, and after sending the corresponding network data packet to 192.168.1.1, the system scans 192.168.1.2 again at an interval of the specified time, and sends the corresponding network data packet to 192.168.1.2, wherein the interval of the specified time is the scanning frequency for scanning two adjacent specific network segments in the network segment in the specified range.
In this embodiment, for a network segment in an assigned range, after the system scans and transmits each specific network segment according to a scanning frequency, since all corresponding devices may not be online, only the devices that are online and have a normal network connection may return a corresponding data response packet according to a network data packet, at this time, the system may not obtain all device information corresponding to the network segment in the assigned range through one scanning, so that the system needs to repeatedly scan the network segment in the assigned range, the scanning period is a time interval for repeatedly scanning the network segment in the assigned range, and the network segment in the assigned range is repeatedly scanned immediately after the current time point reaches the time point corresponding to the scanning period.
In this embodiment, the user may also preset a plurality of network segments within the designated range, and preset a time point at which the network segment within each designated range starts scanning, so that the network segments within the designated range can be scanned.
In this embodiment, the number and frequency of network data packets sent by the server are controlled by controlling the packet sending period and the packet sending frequency, when the network data packets are processed by special industrial control devices (terminal devices) in the system network, the downtime caused by frequent processing of network interrupts can be reduced, and missed detection of the terminal devices is avoided by repeated scanning for many times.
In this embodiment, the automatic scanning of the server for the terminal devices in the system network is realized by setting the packet sending period and the packet sending frequency, so that the server does not affect the normal operation of the terminal devices in the system network, that is, does not affect the production and operation of enterprises while automatically scanning and managing the terminal devices.
Referring to fig. 5, fig. 5 is a fourth embodiment of the method for scanning device information according to the present invention, and based on any one of the first to third embodiments, step S30 includes:
step S31, after receiving the data response packet, obtaining network address information and hardware address information according to the data response packet;
step S32, obtaining the device information according to the network address information and the hardware address information.
In this embodiment, different terminal devices respond to a network data packet with a specific length, generate a corresponding data response packet, and return the data response packet to the server. The server may query the network address information (IP address) and the hardware address information (MAC address) according to the data response packet, and the network address information and the hardware address information may identify one of the terminal devices in the system network.
In this embodiment, the terminal device responds to the network data packet to generate a data response packet reflecting the device information of the terminal device, so that the server determines the device information of the terminal device according to the data response packet, thereby accurately positioning and managing the terminal device.
Referring to fig. 6, fig. 6 is a fifth embodiment of the method for scanning device information according to the present invention, and based on the fourth embodiment, step S31 includes:
step S311, if the packet sending mode corresponding to the data response packet is broadcast packet sending, obtaining the network address information and the hardware address information included in the data response packet.
In this embodiment, because different network segments correspond to different packet sending manners, when the packet sending manner is broadcast packet sending, the server sends a broadcast data packet to the terminal device in the system network, and the terminal device returns a corresponding broadcast data response packet.
Referring to fig. 7, fig. 7 is a sixth embodiment of the method for scanning device information according to the present invention, and based on the fifth embodiment, step S31 further includes:
step S312, if the packet sending mode corresponding to the data response packet is protocol packet sending, the network address information is obtained according to the data response packet;
step 313, acquiring a network management protocol of the system network, and acquiring the hardware address information according to the network address information and the network management protocol.
In this embodiment, when the packet sending manner is protocol packet sending, the server sends a protocol data packet to a terminal device in the system network, and the terminal device returns a corresponding protocol data response packet.
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 is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for scanning device information, the method comprising:
the server acquires attribute information input by a user through a setting interface, wherein the attribute information comprises the length of a data packet;
sending the network data packet to each terminal device in a system network according to the attribute information so that the terminal device returns a corresponding data response packet according to the network data packet;
and after receiving the data response packet, acquiring the equipment information of the terminal equipment according to the data response packet.
2. The method for scanning device information according to claim 1, wherein the step of sending the network packet to each terminal device in the system network according to the attribute information comprises:
acquiring network segment information of the terminal equipment in the system network;
acquiring a packet sending mode according to the network segment information, wherein the packet sending mode comprises the following steps: broadcast or protocol packets;
and sending the network data packet to each terminal device in a system network according to the packet sending mode and the attribute information.
3. The method for scanning device information according to claim 2, wherein the step of sending the network packet to each terminal device in a system network according to the packet sending method and the attribute information comprises:
acquiring a scanning period and a scanning frequency in the attribute information;
and after the current time point reaches the time point corresponding to the scanning period, sending the network data packet to each terminal in the system network according to the packet sending mode and the scanning frequency.
4. The method for scanning device information according to claim 1, wherein the step of obtaining the associated device information according to the data response packet after receiving the data response packet comprises:
after receiving the data response packet, acquiring network address information and hardware address information according to the data response packet;
and acquiring the equipment information according to the network address information and the hardware address information.
5. The method for scanning device information according to claim 4, wherein the step of obtaining the network address information and the hardware address information according to the data response packet includes:
and if the packet sending mode corresponding to the data response packet is broadcast packet sending, acquiring the network address information and the hardware address information contained in the data response packet.
6. The method for scanning device information according to claim 5, wherein the step of obtaining network address information and hardware address information from the data response packet further comprises:
if the packet sending mode corresponding to the data response packet is protocol packet sending, acquiring the network address information according to the data response packet;
and acquiring a network management protocol of the system network, and acquiring the hardware address information according to the network address information and the network management protocol.
7. A terminal device characterized by comprising a memory, a processor, and a control program of a scanning method of device information stored on the memory and executable on the processor, the control program of the scanning method of device information realizing the steps of the scanning method of device information according to any one of claims 1 to 6 when executed by the processor.
8. A computer-readable storage medium, characterized in that a control program of a scanning method of device information is stored thereon, which when executed by a processor implements the steps of the scanning method of device information according to any one of claims 1 to 6.
CN202010235295.6A 2020-03-27 2020-03-27 Device information scanning method, terminal device and computer readable storage medium Pending CN111490910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010235295.6A CN111490910A (en) 2020-03-27 2020-03-27 Device information scanning method, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010235295.6A CN111490910A (en) 2020-03-27 2020-03-27 Device information scanning method, terminal device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111490910A true CN111490910A (en) 2020-08-04

Family

ID=71812573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010235295.6A Pending CN111490910A (en) 2020-03-27 2020-03-27 Device information scanning method, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111490910A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162830A (en) * 2021-06-15 2021-07-23 杭州海康威视数字技术股份有限公司 Internet of things intelligent terminal equipment discovery method and device and electronic equipment

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1387191A (en) * 2001-05-17 2002-12-25 索尼公司 Coding method and device, decoding method and device, and transmission method and device
CN1421773A (en) * 2001-11-29 2003-06-04 三星电子株式会社 Network image scanning method and system
CN1574845A (en) * 2003-06-19 2005-02-02 三星电子株式会社 Data interface connecting equipment and method of network electronic device
CN102347879A (en) * 2011-05-23 2012-02-08 大连理工计算机控制工程有限公司 D-BUS high-speed bus technology based on ring type Ethernet and auxiliary network
CN102377634A (en) * 2010-08-06 2012-03-14 北京乾唐视联网络科技有限公司 Networking method and system for access network equipment
CN103561048A (en) * 2013-09-02 2014-02-05 北京东土科技股份有限公司 Method for determining TCP port scanning and device thereof
CN105553609A (en) * 2015-12-09 2016-05-04 中国民用航空飞行学院 Information processing method and device of airborne devices
CN106330968A (en) * 2016-10-31 2017-01-11 杭州迪普科技有限公司 Access device identity authentication method and device
CN107451498A (en) * 2016-06-01 2017-12-08 北京数码视讯科技股份有限公司 The offer method, apparatus and smart card of incidence relation between a kind of object
US20170374533A1 (en) * 2016-06-22 2017-12-28 Qualcomm Incorporated Systems and methods for back channel communication
CN108737275A (en) * 2018-05-29 2018-11-02 北京航空航天大学 One kind being based on the spaceborne network management of SpaceFibre plug and play
CN109635132A (en) * 2018-12-10 2019-04-16 Oppo(重庆)智能科技有限公司 A kind of Automatic Warehouse management method, system and terminal device
CN109981344A (en) * 2019-02-19 2019-07-05 新华三技术有限公司 Scan method, device and network forwarding equipment
CN110366858A (en) * 2017-01-17 2019-10-22 图特拉技术有限公司 System and method for assessing wireless device and/or wireless network performance
CN110661669A (en) * 2019-10-11 2020-01-07 云南电网有限责任公司德宏供电局 Network topology automatic discovery method of network equipment based on ICMP, TCP and UDP protocols

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1387191A (en) * 2001-05-17 2002-12-25 索尼公司 Coding method and device, decoding method and device, and transmission method and device
CN1421773A (en) * 2001-11-29 2003-06-04 三星电子株式会社 Network image scanning method and system
CN1574845A (en) * 2003-06-19 2005-02-02 三星电子株式会社 Data interface connecting equipment and method of network electronic device
CN102377634A (en) * 2010-08-06 2012-03-14 北京乾唐视联网络科技有限公司 Networking method and system for access network equipment
CN102347879A (en) * 2011-05-23 2012-02-08 大连理工计算机控制工程有限公司 D-BUS high-speed bus technology based on ring type Ethernet and auxiliary network
CN103561048A (en) * 2013-09-02 2014-02-05 北京东土科技股份有限公司 Method for determining TCP port scanning and device thereof
CN105553609A (en) * 2015-12-09 2016-05-04 中国民用航空飞行学院 Information processing method and device of airborne devices
CN107451498A (en) * 2016-06-01 2017-12-08 北京数码视讯科技股份有限公司 The offer method, apparatus and smart card of incidence relation between a kind of object
US20170374533A1 (en) * 2016-06-22 2017-12-28 Qualcomm Incorporated Systems and methods for back channel communication
CN106330968A (en) * 2016-10-31 2017-01-11 杭州迪普科技有限公司 Access device identity authentication method and device
CN110366858A (en) * 2017-01-17 2019-10-22 图特拉技术有限公司 System and method for assessing wireless device and/or wireless network performance
CN108737275A (en) * 2018-05-29 2018-11-02 北京航空航天大学 One kind being based on the spaceborne network management of SpaceFibre plug and play
CN109635132A (en) * 2018-12-10 2019-04-16 Oppo(重庆)智能科技有限公司 A kind of Automatic Warehouse management method, system and terminal device
CN109981344A (en) * 2019-02-19 2019-07-05 新华三技术有限公司 Scan method, device and network forwarding equipment
CN110661669A (en) * 2019-10-11 2020-01-07 云南电网有限责任公司德宏供电局 Network topology automatic discovery method of network equipment based on ICMP, TCP and UDP protocols

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162830A (en) * 2021-06-15 2021-07-23 杭州海康威视数字技术股份有限公司 Internet of things intelligent terminal equipment discovery method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US11711434B2 (en) Information transmission method and device
US8379537B2 (en) Network device management system, network device management device, and network device management program
CN112165520B (en) Screen projection control method, screen projection receiving end and storage medium
US10743252B2 (en) Method for identifying access point and hotspot and terminal
CN110446273B (en) Networking method and device based on electronic price tags
US10194047B2 (en) Information processing device and non-transitory recording medium
EP1388792A1 (en) Synchronization message processing method
US20140177615A1 (en) Method for scanning a wireless fidelity (wi-fi) direct device and terminal device for the same
CN111130902B (en) Switch management method, device and storage medium
EP2635073A1 (en) Access point selection based on number of successful connections
US8824321B2 (en) Multi-function device
CN107959920B (en) Wireless network-based sign-in method and equipment
CN111338710A (en) Application program control method and device, electronic equipment and storage medium
US20150019955A1 (en) Method and system for displaying literal contents, mobile terminal, cloud typesetting server, and storage medium
CN110519810B (en) Service relay switching method, terminal equipment, storage medium and device
CN102340539A (en) Communication control device, communication control system, communication control method, and program
CN111490910A (en) Device information scanning method, terminal device and computer readable storage medium
US8456671B2 (en) Communication system, information storage device, management device, and terminal device
CN112333062A (en) Control method and control device for household equipment and computer readable storage medium
CN111756817A (en) Device discovery method, device and computer-readable storage medium
US20230126360A1 (en) Wifi network access method, communication method, peripheral apparatus, and storage medium
CN112351420B (en) Networking identity creation method and equipment of terminal equipment and readable storage medium
CN114980266A (en) WiFi network access method, communication method, peripheral equipment and storage medium
CN115643276A (en) Data transmission method, device, system and computer readable storage medium
CN112399242A (en) Mobile network connection method, device, equipment and medium based on television

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