Network asset automatic discovery method and system and computer readable storage medium

Through the automatic discovery system and methods of network assets, the equipment information is obtained using asset detectors, which solves the problem of inefficiency of traditional methods, realizes automated management and real-time updates of network assets, and improves management efficiency and accuracy.

CN118944927APending Publication Date: 2024-11-12新华水力发电有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411005788.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Traditional network asset discovery methods are inefficient and error-prone, unable to meet the dynamic and complex needs of complex networks, unable to actively discover new equipment, and inefficient management.

Method used

A network asset automatic discovery system and method is designed to obtain the IP address, MAC address and manufacturer information of network equipment through asset detectors, update the asset library, combine port, service and operating system scanning to realize the automated management of network assets and Real-time update.

Benefits of technology

Automatic discovery and management of new access devices is realized, the efficiency and accuracy of network asset management is improved, the asset information of already accessed devices is timely updated, and management efficiency and accuracy are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118944927A_ABST
    Figure CN118944927A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a network asset automatic discovery method and system and a computer readable storage medium. The efficiency of network asset management can be improved. The method provided by the embodiment of the invention comprises the following steps: acquiring an IP address of network equipment in a working area through a network segment switch; generating network asset information according to the IP address and storing the network asset information in a local asset library; broadcasting a request message for acquiring an MAC address of equipment corresponding to the IP address in a target network segment, so that the network equipment in the target network segment generates a response message containing the MAC address according to the IP address; the response message is received, and the MAC address is analyzed; obtaining manufacturer information of the network equipment according to the MAC address; and updating the network asset information according to the MAC address and the manufacturer information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of network asset management, and in particular, to a network asset automatic discovery method, system, and computer-readable storage medium. Background Art

[0002] In today's network environment, the scale of networks continues to expand, and the number of network assets managed by enterprises and organizations is huge and complex. In order to effectively manage and protect these assets, automated asset discovery technology has become essential. Traditional manual asset discovery methods are inefficient and prone to errors, so it is necessary to develop automated and efficient asset discovery methods to cope with the increasingly complex network environment.

[0003] Traditional network asset discovery methods rely on passively monitoring network traffic or scanning based on static device lists. These methods have problems of missed reports and false positives and cannot meet the dynamic and complex requirements of complex networks. In the existing technology, some commercial enterprise network security products provide the function of passively monitoring network traffic, but they cannot actively discover new devices in the network, resulting in low management efficiency. Summary of the invention

[0004] The embodiments of the present application provide a method, system and computer-readable storage medium for automatically discovering network assets, which can improve the efficiency of network asset management.

[0005] A first aspect of an embodiment of the present application provides a network asset automatic discovery system, including a firewall, a router, a central switch, a management area, and at least two work areas;

[0006] The central switch is connected to the management area, all the work areas and the router respectively; the router is connected to the Internet through the firewall;

[0007] For any work area, the work area includes a network segment switch, an asset detector and a plurality of network devices, the network segment switch is connected to the central switch, and the network segment switch is connected to the asset detector and the plurality of network devices;

[0008] The management area includes a network segment switch, a management server, an asset detector and a plurality of network devices;

[0009] The management area and each of the work areas exclusively occupy a network segment, and the management area is used to manage network devices in the network asset automatic discovery system.

[0010] A second aspect of the present application provides a method for automatically discovering network assets, which is applied to an asset detector in the automatic discovery system for network assets as described in the first aspect. The method includes:

[0011] Obtain the IP addresses of network devices in the work area through the network segment switch;

[0012] Generate network asset information according to the IP address and store it in a local asset library;

[0013] Broadcasting a request message for obtaining the MAC address of the device corresponding to the IP address in the target network segment, so that the network device in the target network segment generates a response message including the MAC address according to the IP address;

[0014] Receive the response message and parse out the MAC address;

[0015] Acquire the manufacturer information of the network device according to the MAC address;

[0016] The network asset information is updated according to the MAC address and the vendor information.

[0017] Optionally, after acquiring the manufacturer information of the network device according to the MAC address, the method further includes:

[0018] Perform port scanning on the IP address to obtain the port number and port status;

[0019] The updating of the network asset information according to the MAC address and the manufacturer information comprises:

[0020] The network asset information is updated according to the port quantity, the port status, the MAC address and the manufacturer information.

[0021] Optionally, after acquiring the manufacturer information of the network device according to the MAC address, the method further includes:

[0022] Performing a service scan on the IP address to identify a service at the IP address;

[0023] The updating of the network asset information according to the MAC address and the manufacturer information comprises:

[0024] The network asset information is updated according to the service, the MAC address and the vendor information.

[0025] Optionally, after acquiring the manufacturer information of the network device according to the MAC address, the method further includes:

[0026] Performing an operating system scan on the IP address to identify the operating system of the IP address;

[0027] The updating of the network asset information according to the MAC address and the manufacturer information comprises:

[0028] The network asset information is updated according to the operating system, the MAC address, and the manufacturer information.

[0029] Optionally, the method further includes:

[0030] Report the information of the asset library to the management server.

[0031] Optionally, reporting the information of the asset library to the management server includes:

[0032] When reporting the information of the asset library to the management server for the first time, reporting all the network asset information stored in the asset library;

[0033] When it is not the first time to report the information of the asset library to the management server, the reporting time of the last report is obtained, and all update information of the asset library from the reporting time to the current time is reported to the management server.

[0034] A third aspect of an embodiment of the present application provides an asset detector, including:

[0035] A first acquisition unit, used to acquire the IP address of the network device in the work area through the network segment switch;

[0036] A storage unit, used to generate network asset information according to the IP address and store it in a local asset library;

[0037] A broadcast unit, configured to broadcast a request message for obtaining a MAC address of a device corresponding to the IP address in a target network segment, so that the network device in the target network segment generates a response message including the MAC address according to the IP address;

[0038] A receiving unit, configured to receive the response message and parse out the MAC address;

[0039] A second acquiring unit, configured to acquire the manufacturer information of the network device according to the MAC address;

[0040] An updating unit is used to update the network asset information according to the MAC address and the manufacturer information.

[0041] Optionally, the asset detector further includes:

[0042] A port scanning unit, used to perform port scanning on the IP address to obtain the port number and port status;

[0043] The updating unit is specifically used for:

[0044] The network asset information is updated according to the port quantity, the port status, the MAC address and the manufacturer information.

[0045] Optionally, the asset detector further includes:

[0046] A service scanning unit, configured to perform a service scan on the IP address to identify a service of the IP address;

[0047] The updating unit is specifically used for:

[0048] The network asset information is updated according to the service, the MAC address and the vendor information.

[0049] Optionally, the asset detector further includes:

[0050] An operating system scanning unit, configured to perform an operating system scan on the IP address to identify the operating system of the IP address;

[0051] The updating unit is specifically used for:

[0052] The network asset information is updated according to the operating system, the MAC address, and the manufacturer information.

[0053] Optionally, the asset detector further includes:

[0054] The reporting unit is used to report the information of the asset library to the management server.

[0055] Optionally, the reporting unit is specifically used for:

[0056] When reporting the information of the asset library to the management server for the first time, reporting all the network asset information stored in the asset library;

[0057] When it is not the first time to report the information of the asset library to the management server, the reporting time of the last report is obtained, and all update information of the asset library from the reporting time to the current time is reported to the management server.

[0058] A fourth aspect of the embodiments of the present application provides an asset detector, including:

[0059] Processor, memory, input-output unit, and bus;

[0060] The processor is connected to the memory, the input and output unit, and the bus;

[0061] A program is stored in the memory, and the processor calls the program to execute the method in the second aspect and any possible implementation manner of the second aspect.

[0062] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, the computer executes the method in the second aspect and any possible implementation of the second aspect.

[0063] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0064] 1. When a new device is connected, the asset detector can obtain the IP address of the new device through the network segment switch and store it in the local asset library, then obtain the MAC address and manufacturer information, and then use the MAC address and manufacturer information to update the IP address in the asset library. Therefore, it can automatically discover the newly connected device for network asset identification and management, effectively improving the efficiency of network asset management.

[0065] 2. The asset detector can timely update the network asset information of the connected devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 This is a schematic diagram of the structure of an embodiment of a network asset automatic discovery system in an embodiment of the present application;

[0067] Figure 2 A flowchart of an embodiment of a method for automatically discovering network assets in an embodiment of the present application;

[0068] Figure 3 This is a flow chart of another embodiment of the method for automatically discovering network assets in the embodiment of the present application;

[0069] Figure 4 This is a schematic diagram of the structure of an embodiment of an asset detector in the embodiments of the present application;

[0070] Figure 5 This is a structural diagram of another embodiment of the asset detector in the embodiments of the present application. DETAILED DESCRIPTION

[0071] The embodiments of the present application provide a method, system and computer-readable storage medium for automatically discovering network assets, which can improve the efficiency of network asset management.

[0072] See also Figure 1 In the embodiment of the present application, an embodiment of the network asset automatic discovery system includes:

[0073] Firewall 101, router 102, central switch 103, management area 104 and at least two work areas 105;

[0074] The central switch 103 is connected to the management area 104, all the work areas 105 and the router 102 respectively; the router 102 is connected to the Internet through the firewall 101;

[0075] For any work area 105, the work area 105 includes a network segment switch, an asset detector and multiple network devices, the network segment switch is connected to the central switch, and the network segment switch is connected to the asset detector and multiple network devices;

[0076] Management area 104 includes segment switches, management servers, asset detectors, and multiple network devices;

[0077] The management area 104 and each work area 105 exclusively occupy a network segment, and the management area 104 is used to manage network devices in the network asset automatic discovery system.

[0078] See also Figure 2 In one embodiment of the present application, a method for automatically discovering network assets includes:

[0079] 201. Obtain the IP address of the network device in the work area through the network segment switch;

[0080] In actual applications, for a certain work area, the asset detector can obtain the IP address of the network device in the work area through the network segment switch. It should be noted that the IP address obtained by the asset detector can include both the IP address of the network device newly connected to the work area and the IP address of the network device that has been connected. For the management area, the asset detector in the management area can also play the same role. In order to reduce unnecessary repeated descriptions, this embodiment takes the asset detector in the work area as an example for detailed description.

[0081] 202. Generate network asset information based on the IP address and store it in a local asset library;

[0082] After obtaining the IP addresses of other network devices in the workspace, the asset detector can generate network asset information based on the IP addresses, and then store the network asset information in the local asset library for persistent storage. For network devices in the workspace, the network segment switch will assign a new IP address to the newly connected network device, and the IP address will not be changed once assigned. When the asset detector generates and stores network asset information, it first compares the obtained IP address with the IP address included in the network asset information in the asset library. If the obtained IP address has been included in the network asset information, it does not need to be stored again. If the obtained IP address is a brand new IP address, network asset information can be generated and stored based on the IP address.

[0083] 203. Broadcast a request message for obtaining the MAC address of the device corresponding to the IP address in the target network segment;

[0084] After storing the IP address, the asset detector can broadcast in the target network segment, and broadcast the request message for obtaining the MAC address corresponding to the IP address to all network devices in the network segment. The target network segment is the network segment where the asset detector is located, and it is also the network segment of the work area. After receiving the request message, the network device checks whether the IP address included in the request message includes the IP address of the local machine. If it does, it obtains its own MAC address and generates a response message using the MAC address, and then sends the response message to the asset detector via a TCP connection.

[0085] 204. Receive the response message and parse out the MAC address;

[0086] After the asset detector receives the response message, since the response message includes MAC address information and the network device sends the response message using a TCP connection, the asset detector can associate the IP address with the MAC address.

[0087] 205. Obtain the manufacturer information of the network device according to the MAC address;

[0088] After obtaining the MAC address, the asset detector can obtain the manufacturer information of the corresponding network device according to the MAC address. The asset detector can save the MAC address manufacturer fingerprint library locally in advance, or obtain a public and reliable MAC address manufacturer fingerprint library from the Internet, and then use the MAC address as a keyword to query the MAC address manufacturer fingerprint library to obtain the manufacturer information corresponding to the MAC address.

[0089] 206. Update network asset information based on MAC address and manufacturer information.

[0090] After the asset detector obtains the manufacturer information corresponding to the MAC address, it can use the manufacturer information to update the network asset information in the asset library. Furthermore, if a certain IP address is not a newly connected network device, but the MAC address corresponding to the IP address has changed, then the asset detector can generate a network asset change reminder corresponding to the IP address to remind the user that the MAC address corresponding to a certain IP address has changed abnormally and requires user confirmation. When the user confirms that the situation is normal, the user can mark the network asset change reminder as normal, and the asset detector can then update the network asset information corresponding to the IP address according to the user's annotation.

[0091] In this embodiment, when a new device is connected, the asset detector can obtain the IP address of the new device through the network segment switch and store it in the local asset library, then obtain the MAC address and manufacturer information, and then use the MAC address and manufacturer information to update the IP address in the asset library. Therefore, the newly connected device can be automatically discovered for network asset identification and management, effectively improving the efficiency of network asset management. In addition, the asset detector can timely update the network asset information of the connected device.

[0092] See also Figure 3 Another embodiment of the network asset automatic discovery method in the embodiment of the present application includes:

[0093] 301. Obtain the IP address of the network device in the work area through the network segment switch;

[0094] 302. Generate network asset information according to the IP address and store it in a local asset library;

[0095] 303. Broadcast a request message for obtaining the MAC address of the device corresponding to the IP address in the target network segment;

[0096] 304. Receive the response message and parse out the MAC address;

[0097] 305. Obtain the manufacturer information of the network device according to the MAC address;

[0098] In the embodiment of the present application, steps 301 to 305 are similar to steps 201 to 205 in the aforementioned embodiment and are not described again here.

[0099] 306. Perform port scanning on the IP address to obtain the port number and port status;

[0100] 307. Perform a service scan on the IP address to identify the service of the IP address;

[0101] 308. Perform an operating system scan on the IP address to identify the operating system of the IP address;

[0102] 309. Update network asset information based on port quantity, port status, service, operating system, MAC address and manufacturer information;

[0103] The asset detector can perform port scanning on the IP address to obtain the number of ports and the port status, perform service scanning on the IP address to identify the service of the IP address, perform operating system scanning on the IP address to identify the operating system of the IP address, and then update the network asset information in the local asset library based on the number of ports, port status, service, operating system obtained by the scan, and the MAC address and manufacturer information obtained previously. Among them, when performing a port scan, you can first use a scanning tool (such as Nmap or other scanning tools) to perform a port scan on the IP address, count the number of scanned ports, and then determine whether the status of each port is open or closed based on the response returned by the port. For example, when using the SYN scanning technology, if the port responds to a SYN / ACK packet, it indicates that the port is open, and if the port responds to a RST (reset) packet, it indicates that the port is closed. When performing a service scan, the asset detector may first use a scanning tool (such as Nmap or other scanning tools) to scan the running network services of the IP address to obtain the scanning results, and then the scanning tool guesses the service type based on the scanning results, and the asset detector then parses and verifies the guessed service type (for example, using a local service fingerprint library to perform feature value comparison), thereby finally identifying the service. When performing an operating system scan, the asset detector may first use a scanning tool (such as Nmap or other scanning tools) to scan the operating system running at the IP address, and the scanning tool may identify the operating system through the behavior of the TCP / IP stack of the IP address to obtain a preliminary identification result, and then the asset detector parses and verifies the preliminary identification result (for example, comparing the preliminary identification result with the local operating system fingerprint library to perform feature value comparison), thereby finally identifying the operating system.

[0104] 310. Report the asset library information to the management server.

[0105] In order to conduct unified network asset management for network devices in the network asset automatic discovery system, the asset detector can report the asset library information to the management server of the management area. When reporting the asset library information to the management server for the first time, all network asset information stored in the asset library is reported; when it is not the first time to report the asset library information to the management server, the reporting time of the last report is obtained, and all updated information on the asset library from the reporting time to the current time is reported to the management server.

[0106] In this embodiment, the asset detector can obtain port information, service information and operation information of the network device, which is conducive to improving the accuracy of network asset information.

[0107] See also Figure 4 In the embodiment of the present application, an asset detector includes:

[0108] The first acquisition unit 401 is used to acquire the IP address of the network device in the work area through the network segment switch;

[0109] The storage unit 402 is used to generate network asset information according to the IP address and store it in a local asset library;

[0110] The broadcast unit 403 is used to broadcast a request message for obtaining the MAC address of the device corresponding to the IP address in the target network segment, so that the network device in the target network segment generates a response message including the MAC address according to the IP address;

[0111] The receiving unit 404 is used to receive the response message and parse out the MAC address;

[0112] The second acquisition unit 405 is used to acquire the manufacturer information of the network device according to the MAC address;

[0113] The updating unit 406 is used to update the network asset information according to the MAC address and the manufacturer information.

[0114] In this embodiment, when a new device is connected, the first acquisition unit 401 can obtain the IP address of the new device through the network segment switch, the storage unit 402 uses the IP address to generate network asset information and stores it in the local asset library, then the broadcast unit 403 and the receiving unit 404 cooperate to obtain the MAC address, the second acquisition unit 405 obtains the manufacturer information, and the update unit 406 uses the MAC address and the manufacturer information to update the IP address in the asset library. Therefore, the asset detector can automatically discover the newly connected device to identify and manage the network assets, effectively improving the efficiency of network asset management. In addition, the asset detector can timely update the network asset information of the connected device.

[0115] Optionally, the asset detector also includes:

[0116] A port scanning unit, used to perform port scanning on an IP address and obtain the number of ports and the status of ports;

[0117] The updating unit 406 is specifically used for:

[0118] Update network asset information based on port quantity, port status, MAC address, and vendor information.

[0119] Optionally, the asset detector also includes:

[0120] A service scanning unit, used to perform service scanning on the IP address to identify the service of the IP address;

[0121] The updating unit 406 is specifically used for:

[0122] Update network asset information based on service, MAC address, and vendor information.

[0123] Optionally, the asset detector also includes:

[0124] An operating system scanning unit, used to perform an operating system scan on an IP address to identify an operating system of the IP address;

[0125] The updating unit 406 is specifically used for:

[0126] Update network asset information based on operating system, MAC address, and manufacturer information.

[0127] Optionally, the asset detector also includes:

[0128] The reporting unit is used to report the asset library information to the management server.

[0129] Optionally, the reporting unit is specifically used for:

[0130] When reporting the asset library information to the management server for the first time, all network asset information stored in the asset library is reported;

[0131] When it is not the first time to report the asset library information to the management server, the reporting time of the last report is obtained, and all updated information on the asset library from the reporting time to the current time is reported to the management server.

[0132] See also Figure 5 Another embodiment of the asset detector in the embodiment of the present application includes:

[0133] Processor 501, memory 502, input and output unit 503 and bus 504;

[0134] The processor 501 is connected to the memory 502, the input and output unit 503 and the bus 504;

[0135] The memory 502 stores a program, and the processor 501 calls the program to execute Figures 2 to 3 Steps in the illustrated embodiment.

[0136] In this embodiment, the function of the processor 501 is the same as that of the aforementioned Figures 2 to 3 The steps in the illustrated embodiments correspond to each other and will not be described again here.

[0137] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0138] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0139] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0140] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0141] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A network asset automatic discovery system, characterized in that: Includes firewall, router, central switch, management area and at least two work areas; The central switch is connected to the management area, all the work areas and the router respectively; the router is connected to the Internet through the firewall; For any work area, the work area includes a network segment switch, an asset detector and a plurality of network devices, the network segment switch is connected to the central switch, and the network segment switch is connected to the asset detector and the plurality of network devices; The management area includes a network segment switch, a management server, an asset detector and a plurality of network devices; The management area and each of the work areas exclusively occupy a network segment, and the management area is used to manage network devices in the network asset automatic discovery system.

2. A network asset automatic discovery method, applied to the asset detector of the network asset automatic discovery system as claimed in claim 1, characterized in that: include: Obtain the IP addresses of network devices in the work area through the network segment switch; Generate network asset information according to the IP address and store it in a local asset library; Broadcasting a request message for obtaining the MAC address of the device corresponding to the IP address in the target network segment, so that the network device in the target network segment generates a response message including the MAC address according to the IP address; Receive the response message and parse out the MAC address; Acquire the manufacturer information of the network device according to the MAC address; The network asset information is updated according to the MAC address and the vendor information.

3. The method for automatically discovering network assets according to claim 2, characterized in that: After acquiring the manufacturer information of the network device according to the MAC address, the method further includes: Perform port scanning on the IP address to obtain the port number and port status; The updating of the network asset information according to the MAC address and the manufacturer information comprises: The network asset information is updated according to the port quantity, the port status, the MAC address and the manufacturer information.

4. The method for automatically discovering network assets according to claim 2, characterized in that: After acquiring the manufacturer information of the network device according to the MAC address, the method further includes: Performing a service scan on the IP address to identify a service at the IP address; The updating of the network asset information according to the MAC address and the manufacturer information comprises: The network asset information is updated according to the service, the MAC address and the vendor information.

5. The method for automatically discovering network assets according to claim 2, characterized in that: After acquiring the manufacturer information of the network device according to the MAC address, the method further includes: Performing an operating system scan on the IP address to identify the operating system of the IP address; The updating of the network asset information according to the MAC address and the manufacturer information comprises: The network asset information is updated according to the operating system, the MAC address, and the manufacturer information.

6. The method for automatically discovering network assets according to any one of claims 2 to 5, characterized in that: The method further comprises: Report the information of the asset library to the management server.

7. The method for automatically discovering network assets according to claim 6, characterized in that: The reporting of the information of the asset library to the management server comprises: When reporting the information of the asset library to the management server for the first time, reporting all the network asset information stored in the asset library; When it is not the first time to report the information of the asset library to the management server, the reporting time of the last report is obtained, and all update information of the asset library from the reporting time to the current time is reported to the management server.

8. An asset detector, characterized in that: include: A first acquisition unit, used to acquire the IP address of the network device in the work area through the network segment switch; A storage unit, used to generate network asset information according to the IP address and store it in a local asset library; A broadcast unit, configured to broadcast a request message for obtaining a MAC address of a device corresponding to the IP address in a target network segment, so that the network device in the target network segment generates a response message including the MAC address according to the IP address; A receiving unit, configured to receive the response message and parse out the MAC address; A second acquiring unit, configured to acquire the manufacturer information of the network device according to the MAC address; An updating unit is used to update the network asset information according to the MAC address and the manufacturer information.

9. An asset detector, characterized in that: include: Processor, memory, input-output unit, and bus; The processor is connected to the memory, the input and output unit, and the bus; A program is stored in the memory, and the processor calls the program to execute the method according to any one of claims 2 to 7. 10 . A computer-readable storage medium having a program stored thereon, wherein when the program is executed on a computer, the computer is caused to execute the method according to claim 2 .