Asset management method and device, storage medium and program product
By detecting active IP addresses in the network segment and managing QR code tags, the network topology map is generated, which solves the problem of inefficient asset information management, realizes the rapid entry and tracking of asset transfers, and ensures the accuracy of asset information. and network security.
Patent Information
- Application Number
- CN202410933112.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-09-20
AI Technical Summary
Asset information management in the existing technology is inefficient and can easily introduce human errors, resulting in inaccurate and outdated information, making it difficult to effectively manage a large number of assets in a complex network environment.
By detecting multiple active IP addresses in the target network segment, a network topology map is generated, and unique QR code labels are assigned to assets, asset information is automatically identified, asset transfers are quickly entered and tracked, and the network topology map is updated.
It improves the efficiency and accuracy of asset management, ensures the security and stability of the network, reduces the occurrence of human errors, and improves the timeliness of asset information.
Smart Images

Figure CN118677786A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of security management technology, and in particular to an asset management method, device, storage medium, and program product. Background Art
[0002] With the development of Internet technology, the network environment is becoming increasingly complex, and the number of assets continues to increase. Effective management of asset information has become a major challenge.
[0003] In the related art, asset information is usually input and updated manually.
[0004] However, in the process of implementing this application, the inventors found that there are at least the following problems in the prior art: the above-mentioned method is inefficient and easily introduces human errors, resulting in inaccurate and outdated asset information. Summary of the invention
[0005] The embodiments of the present application provide an asset management method, device, storage medium and program product to improve the efficiency, accuracy and timeliness of asset information management.
[0006] In a first aspect, an embodiment of the present application provides an asset management method, including:
[0007] Detecting the open ports of multiple active IP addresses in the target network segment to obtain the asset information of the target assets corresponding to the target network segment; assigning a unique QR code label to each of the target assets, scanning the QR code label of each asset, and associating and storing the scanned QR code information with the asset information of the corresponding asset; generating a network topology map of the target asset based on the asset information and network traffic data of the target asset;
[0008] Performing fault detection on the target asset and obtaining fault records;
[0009] If the fault record meets the preset conditions, the corresponding asset is marked as an asset to be transferred, and the asset to be transferred is displayed in a distinguished manner in the network topology map; in response to a touch operation on an associated control of the asset to be transferred in the network topology map, a transfer application for the asset to be transferred is generated; the transfer application includes a transfer destination stored in association with the QR code information of the asset to be transferred;
[0010] After the asset to be transferred arrives at the transportation destination, the QR code label of the asset to be transferred is scanned, and the corresponding QR code information is associated with the transportation destination; if the transportation destination is consistent with the transfer destination corresponding to the QR code information, the transfer of the asset to be transferred is confirmed to be successful, and the network topology map is updated based on the transfer destination.
[0011] In a possible design, detecting open ports of multiple active IP addresses in a target network segment to obtain asset information of a target asset corresponding to the target network segment includes:
[0012] Scan the target network segment based on the network scanning tool to obtain multiple responding active IP addresses;
[0013] Based on the service and version detection function, the open ports of the plurality of active IP addresses are detected to obtain the service type and version information running on each open port;
[0014] Based on the service types and version information of the multiple active IP addresses, the asset information of the target asset corresponding to the target network segment is obtained.
[0015] In a possible design, performing fault detection on the target asset to obtain a fault record includes:
[0016] Obtain event information collected by log collection tools and monitoring systems;
[0017] Performing abnormality judgment on the event information through a rule engine to obtain an abnormal event;
[0018] Based on the fault mode matching mapping table, determining multiple fault causes corresponding to the fault mode corresponding to the abnormal event;
[0019] According to the data change trends of the relevant parameters corresponding to the multiple fault causes, the final fault cause is determined, the first asset among the target assets corresponding to the final fault cause is set to a fault state in the network topology map, and the fault record of the first asset is updated.
[0020] In a possible design, determining the final fault cause according to the data change trends of the relevant parameters corresponding to the multiple fault causes respectively includes:
[0021] For each fault cause, acquiring historical fault event data related to the fault cause, wherein the historical fault event data includes data change trends of multiple candidate parameters;
[0022] For each candidate parameter, determining the degree of association between the candidate parameter and the fault cause according to a data change trend of the candidate parameter;
[0023] Determine the correlation scores of the multiple fault causes according to the correlation degree mapping table between the candidate parameters and the fault causes and the data change trends of the relevant parameters respectively corresponding to the multiple fault causes;
[0024] The fault cause with the highest correlation score is determined as the final fault cause.
[0025] In a possible design, updating the fault record of the first asset includes:
[0026] According to the final fault cause, matching a processing rule corresponding to the final fault cause from a fault processing rule library, and executing the processing rule;
[0027] After the processing rule is executed, relevant parameters corresponding to the final fault cause are obtained, and whether the fault is repaired successfully is verified according to the relevant parameters, and the fault record is updated.
[0028] In a possible design, generating a network topology map of the target asset according to the asset information and network traffic data of the target asset includes:
[0029] Acquiring network traffic data between each of the target assets based on a network monitoring tool;
[0030] Integrate the asset information of the target asset and the network traffic data to determine the nodes and edges of the network topology graph; the nodes are corresponding assets, and the edges are connection relationships between nodes;
[0031] The asset information and network traffic data of the target asset are preprocessed, and a network topology map is generated based on the preprocessed data.
[0032] In a possible design, before generating the transfer application of the asset to be transferred in response to the touch operation on the associated control of the asset to be transferred in the network topology map, the process further includes:
[0033] Building an asset management process based on a preset workflow engine; the asset management process includes a transfer application sub-process;
[0034] Setting a data model and a user interaction form for the transfer sub-process based on the form management function of the preset workflow engine;
[0035] The generating a transfer application for the asset to be transferred in response to a touch operation on a control associated with the asset to be transferred in the network topology map includes:
[0036] In response to a touch operation on a first control corresponding to an asset to be transferred in the network topology diagram, displaying a user interaction form of a transfer application sub-process corresponding to the asset to be transferred;
[0037] In response to a touch operation on the user interaction form of the transfer application sub-process, a transfer application for the to-be-transferred asset is generated.
[0038] In a second aspect, an embodiment of the present application provides an asset management device, including:
[0039] A generation module is used to detect the open ports of multiple active IP addresses in the target network segment to obtain the asset information of the target assets corresponding to the target network segment; assign a unique QR code label to each asset in the target assets, scan the QR code label of each asset, and associate and store the scanned QR code information with the asset information of the corresponding asset; generate a network topology map of the target asset based on the asset information and network traffic data of the target asset;
[0040] A detection module, used to perform fault detection on the target asset and obtain fault records;
[0041] A transfer application module, for marking the corresponding asset as an asset to be transferred if the fault record meets a preset condition, and displaying the asset to be transferred in a distinguishable manner in the network topology map; generating a transfer application for the asset to be transferred in response to a touch operation on an associated control of the asset to be transferred in the network topology map; the transfer application includes a transfer destination stored in association with the QR code information of the asset to be transferred;
[0042] The updating module is used to obtain the QR code information obtained by scanning the QR code label of the asset to be transferred after the asset to be transferred arrives at the transportation destination; if the transportation destination is consistent with the transfer destination corresponding to the QR code information, it is confirmed that the transfer of the asset to be transferred is successful, and the network topology map is updated based on the transfer destination.
[0043] In a third aspect, an embodiment of the present application provides an asset management device, including: at least one processor and a memory;
[0044] The memory stores computer-executable instructions;
[0045] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the method described in the first aspect and various possible designs of the first aspect.
[0046] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method described in the first aspect and various possible designs of the first aspect are implemented.
[0047] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the method described in the first aspect and various possible designs of the first aspect.
[0048] The asset management method, device, storage medium and program product provided in this embodiment detect the open ports of multiple active IP addresses in the target network segment to obtain the asset information of the target assets corresponding to the target network segment, assign a unique QR code label to each asset in the target assets, scan the QR code label of each asset, associate and store the scanned QR code information with the asset information of the corresponding asset, generate a network topology map of the target asset based on the asset information and network traffic data of the target asset, perform fault detection on the target asset, obtain fault records, and associate and display the fault records in the network topology map If the fault record meets the preset conditions, the corresponding asset will be marked as an asset to be transferred, and the asset to be transferred will be displayed in a distinguished manner in the network topology map. In response to the touch operation on the asset to be transferred in the network topology map, a transfer application for the asset to be transferred is generated, and the transfer application includes a transfer destination associated with the QR code information of the asset to be transferred. After the asset to be transferred arrives at the transportation destination, the QR code label of the asset to be transferred is scanned to obtain the QR code information of the asset to be transferred. If the transportation destination is consistent with the transfer destination corresponding to the QR code information, the transfer of the asset to be transferred is confirmed to be successful, and the network topology map is updated based on the transfer destination. The asset management method provided in this embodiment generates a network topology map by automatically identifying asset information through network scanning, and by scanning the unique QR code identifier assigned to the identified asset, when an asset transfer occurs, it can be quickly entered and tracked, and the network topology map is updated, thereby improving the efficiency and automation level of asset management, as well as the accuracy and timeliness of asset information, and ensuring the security, stability and efficient operation of the network. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0050] Figure 1 A schematic diagram of an application scenario of the asset management method provided in an embodiment of the present application;
[0051] Figure 2 Schematic diagram of the asset management method provided in this application embodiment Figure 1 ;
[0052] Figure 3 A schematic diagram of the structure of the asset management system provided in the embodiment of the present application;
[0053] Figure 4Schematic diagram of the asset management method provided in this application embodiment Figure 2 ;
[0054] Figure 5 A schematic diagram of the structure of the asset management device provided in the embodiment of the present application;
[0055] Figure 6 A schematic diagram of the hardware structure of the asset management device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0057] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0058] It should be noted that the asset management method, equipment, storage medium and program product provided in this application can be used in the field of security management technology, and can also be used in any field outside the field of security management technology. The application field of the asset management method, equipment, storage medium and program product provided in this application is not limited.
[0059] In today's rapidly developing information technology era, the enterprise network environment has become increasingly complex, and the number of assets has continued to increase and the types have become diverse; these assets include servers, storage devices, network equipment, application software, etc.; effectively managing the asset information of these assets has become a major challenge for enterprise information technology (IT) management.
[0060] Related technologies usually rely on manual entry and updating of asset information, which is inefficient and prone to human errors, resulting in inaccurate and outdated asset information. In addition, manually tracking and managing a large number of assets is a time-consuming and tedious task for IT managers, which limits their ability to perform more valuable work.
[0061] In order to solve the above technical problems, the inventors of this application have found that it is possible to automatically identify asset information by scanning the network to generate a network topology map, and by scanning the unique QR code identifier assigned to the identified asset, when an asset transfer occurs, it can be quickly entered and tracked, and the network topology map can be updated, thereby improving the efficiency and automation level of asset management, as well as the accuracy and timeliness of asset information, and ensuring the security, stability and efficient operation of the network. Based on this, the embodiments of this application provide an asset management method, device, storage medium and program product.
[0062] Figure 1 Schematic diagram of application scenario of the asset management method provided in the embodiment of the present application. Multiple devices 101 and device 102 are connected via the Internet, and device 101 is configured with a QR code label. Each device 101 is a target asset to be managed. Device 102 is used to install an asset management system to implement the asset management method provided in the embodiment of the present application.
[0063] In the specific implementation process, the device 102 detects the open ports of multiple active IP addresses in the target network segment to obtain the asset information of the target assets corresponding to the target network segment; assigns a unique QR code label to each asset in the target assets, scans the QR code label of each asset, and associates and stores the scanned QR code information with the asset information of the corresponding asset; generates a network topology map of the target asset based on the asset information and network traffic data of the target asset; performs fault detection on the target asset to obtain the fault record; if the fault record meets the preset conditions, marks the corresponding asset as an asset to be transferred, and The assets to be transferred are displayed distinctively in the network topology map; in response to the touch operation of the associated control of the assets to be transferred in the network topology map, a transfer application for the assets to be transferred is generated; the transfer application includes a transfer destination associated with the QR code information of the assets to be transferred; after the assets to be transferred arrive at the transportation destination, the QR code label of the assets to be transferred is scanned, and the corresponding QR code information is associated with the transportation destination; if the transportation destination is consistent with the transfer destination corresponding to the QR code information, the transfer of the assets to be transferred is confirmed to be successful, and the network topology map is updated based on the transfer destination. The asset management method provided in the embodiment of the present application generates a network topology map by automatically identifying asset information through network scanning, and by scanning the unique QR code identifier assigned to the identified assets, when an asset transfer occurs, it can be quickly entered and tracked, and the network topology map is updated, thereby improving the efficiency and automation level of asset management, as well as the accuracy and timeliness of asset information, and ensuring the security, stability and efficient operation of the network.
[0064] It should be noted that Figure 1The scenario diagram shown is merely an example. The asset management method and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art will appreciate that with the evolution of the system and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is equally applicable to similar technical problems.
[0065] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0066] Figure 2 Schematic diagram of the asset management method provided in this application embodiment Figure 1 .like Figure 2 As shown, the method includes:
[0067] 201. Detect the open ports of multiple active IP addresses in the target network segment to obtain the asset information of the target assets corresponding to the target network segment; assign a unique QR code label to each of the target assets, scan the QR code label of each asset, and associate and store the scanned QR code information with the asset information of the corresponding asset; generate a network topology map of the target asset based on the asset information and network traffic data of the target asset.
[0068] Specifically, when entering asset information, you can first determine the network segment where the asset to be entered is located, and then detect the active IP addresses in the network segment to obtain the asset information corresponding to different active IP addresses. After automatically identifying and obtaining the asset information, you can assign a QR code tag to each asset, and then store the asset's QR code information and asset information in association. After determining the asset information, by detecting the network communication data between each asset, you can determine the communication connection relationship between each asset, thereby generating a network topology map corresponding to the target asset under the target network segment.
[0069] In some embodiments, detecting the open ports of multiple active IP addresses in the target network segment to obtain asset information of the target assets corresponding to the target network segment may include: scanning the target network segment based on a network scanning tool to obtain multiple responding active IP addresses; based on the service and version detection function, detecting the open ports of multiple active IP addresses to obtain the service type and version information running on each open port; obtaining the asset information of the target assets corresponding to the target network segment based on the service type and version information of multiple active IP addresses.
[0070] The service type may include Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), etc. Different service types have multiple versions, and different versions use different tools, so the version information is obtained together.
[0071] Specifically, the specified network segment is scanned based on the network scanning tool, and all responding IP addresses are listed; based on the service and version detection function of Nmap (Network Mapper, an open source network detection and security auditing tool), the open ports of active IP addresses are detected to identify the services and version information running on the ports; for each identified service, the corresponding protocol and tools are used to collect detailed information on the assets, and the assets are classified and identified based on the collected detailed information. This enables the automatic collection of asset information.
[0072] In some embodiments, generating a network topology map of the target asset based on the asset information and network traffic data of the target asset may include: obtaining network traffic data between each asset in the target asset based on a network monitoring tool; integrating the asset information of the target asset and the network traffic data to determine the nodes and edges of the network topology map; the nodes are corresponding assets, and the edges are connection relationships between nodes; preprocessing the asset information and network traffic data of the target asset, and generating a network topology map based on the preprocessed data.
[0073] For example, an asset management system may be installed in a device to implement the asset management method provided in this embodiment. Figure 3As shown, the asset management system may include a configuration management module; the configuration module includes an automatic asset acquisition submodule, a visual topology submodule, and an asset entry submodule; the automatic asset acquisition submodule automatically identifies assets in the network based on a predetermined communication protocol, collects asset information, and stores the collected asset information in a NoSQL database; the asset entry submodule generates a unique QR code label for each asset, scans and enters asset information through a barcode scanner or a mobile device, and tracks the transfer of assets; the visual topology submodule dynamically generates a network topology map based on asset information and network traffic data. The steps for the automatic asset acquisition submodule to collect asset information are as follows: scan the specified network segment based on a network scanning tool and list all responding IP addresses; detect the open ports of active IP addresses based on the service and version detection function of Nmap, and identify the services and version information running on the ports; use the corresponding protocol and tools for each identified service to collect detailed information on the assets, and classify and identify the assets based on the collected detailed information. The steps of dynamically generating a network topology diagram in the visualization topology submodule are as follows: collecting network traffic data based on a network monitoring tool to obtain the communication status between assets; integrating the collected asset information and network traffic data, determining the nodes and edges in the network, and preprocessing the asset information and network traffic data; and generating a network topology diagram using a graphics drawing library based on the preprocessed data, in which nodes represent assets and edges represent the connection relationship between nodes.
[0074] 202. Perform fault detection on the target asset and obtain fault records.
[0075] Specifically, after generating the network topology map, the fault detection status of the target asset, i.e., the fault record, can be displayed in the topology map so that the user can intuitively understand the status of each asset. For example, the fault record can be set to be hidden, and when the cursor hovers over the corresponding asset, the fault record is displayed. The fault record can include the number of faults, the cause of each fault, and whether the maintenance method is automatic maintenance or manual maintenance.
[0076] 203. If the fault record meets the preset conditions, the corresponding asset will be marked as an asset to be transferred, and the asset to be transferred will be displayed distinctively in the network topology map; in response to the touch operation of the associated control of the asset to be transferred in the network topology map, a transfer application for the asset to be transferred is generated; the transfer application includes a transfer destination stored in association with the QR code information of the asset to be transferred.
[0077] In this embodiment, the preset condition may be that the number of faults recorded in the fault record reaches a preset number, or the number of manual repairs reaches a preset number, or the number of occurrences of a preset fault cause reaches a preset number, etc.
[0078] The distinguishing display method may be to distinguish the icon of the corresponding asset, for example, by adjusting the color, size, style, etc. of the icon to be different from other icons. A prompt box may also be displayed in the surrounding area of the icon of the corresponding asset, and a reminder message such as "Please submit a transfer application as soon as possible" may be displayed in the prompt box.
[0079] Specifically, after the fault record meets the preset conditions, the determined assets to be transferred can be marked in the network topology map to remind the user. The user can touch the associated controls of the assets to be transferred, such as icons, prompt boxes displayed in the area around icons, etc., to enter the transfer application interface, so as to enter the asset information and corresponding QR code information and generate a transfer application.
[0080] In some embodiments, an asset management process can be provided to the user so as to record each step of the asset processing. Before the generation of the transfer application of the asset to be transferred in response to the touch operation of the associated control of the asset to be transferred in the network topology map, it also includes: constructing an asset management process based on a preset workflow engine; the asset management process includes a transfer application sub-process; setting a data model and a user interaction form for the transfer sub-process based on the form management function of the preset workflow engine; accordingly, the generation of the transfer application of the asset to be transferred in response to the touch operation of the associated control of the asset to be transferred in the network topology map may include: in response to the touch operation of the first control corresponding to the asset to be transferred in the network topology map, displaying the user interaction form of the transfer application sub-process corresponding to the asset to be transferred; in response to the touch operation of the user interaction form of the transfer application sub-process, generating the transfer application of the asset to be transferred.
[0081] For example, Figure 3 As shown, the asset management system also includes a process management module. The process management module includes a process orchestration engine submodule and a form visualization submodule. The specific steps of the process orchestration engine submodule to build an asset management flowchart based on the workflow engine are as follows: build an asset management process in the selected workflow engine; use the visual process editor to import, edit and save the process definition through the API of the workflow engine; define the data model and user interaction form for each task in each process based on the form management function of the workflow engine.
[0082] The asset management process may include: demand identification, approval process, procurement execution, acceptance inspection, asset records, configuration settings, allocation registration, daily use, maintenance, transfer application, approval and execution, scrap application, approval and disposal, regular audit, and report generation. Through the above process, enterprises can effectively manage their assets and ensure the improvement of asset utilization and management efficiency throughout the entire life cycle from procurement to scrapping. Each step has clear operating specifications and record requirements to ensure the real-time accuracy and traceability of asset information.
[0083] The process orchestration engine submodule defines and manages the entire asset management process, and calls the form management function to configure the corresponding form for each task node. The form management function provides the basic structure and logic of the form, including data models and validation rules. The form visualization submodule is based on the interface of the process orchestration engine and provides a user-friendly graphical interface that enables users to intuitively create and edit forms.
[0084] 204. After the asset to be transferred arrives at the transportation destination, scan the QR code label of the asset to be transferred and associate the corresponding QR code information with the transportation destination; if the transportation destination is consistent with the transfer destination corresponding to the QR code information, confirm that the transfer of the asset to be transferred is successful, and update the network topology map based on the transfer destination.
[0085] Specifically, after the asset to be transferred is transported to the destination based on the transfer application, the QR code label of the asset to be transferred can be scanned again, and the transportation destination can be associated with the QR code label to confirm whether the transportation destination is the transfer destination in the transfer application, that is, whether the transfer location is correct, thereby realizing rapid entry and tracking of assets.
[0086] The asset management method provided in this embodiment generates a network topology map by automatically identifying asset information through network scanning, and scans the unique QR code identifier assigned to the identified asset to enable rapid entry and tracking when an asset transfer occurs, and to update the network topology map, thereby improving the efficiency and automation level of asset management, as well as the accuracy and timeliness of asset information, and ensuring the security, stability, and efficient operation of the network.
[0087] Figure 4 Schematic diagram of the asset management method provided in this application embodiment Figure 2 .like Figure 4 As shown, based on the above embodiments, for example, Figure 2 On the basis of the embodiment shown, this embodiment adds a detailed description of the process of automatically repairing a faulty asset, and the method includes:
[0088] 401. Detect the open ports of multiple active IP addresses in the target network segment to obtain the asset information of the target assets corresponding to the target network segment; assign a unique QR code label to each of the target assets, scan the QR code label of each asset, and associate and store the scanned QR code information with the asset information of the corresponding asset; generate a network topology map of the target asset based on the asset information and network traffic data of the target asset.
[0089] 402. Acquire event information collected by the log collection tool and the monitoring system; perform abnormal judgment on the event information through the rule engine to obtain abnormal events; determine multiple fault causes corresponding to the fault mode corresponding to the abnormal event based on the fault mode matching mapping table; determine the final fault cause according to the data change trends of the relevant parameters corresponding to the multiple fault causes, and set the first asset among the target assets corresponding to the final fault cause to a fault state in the network topology map.
[0090] 403. According to the final fault cause, obtain the processing rule corresponding to the final fault cause from the fault processing rule library, and execute the processing rule; after the processing rule is executed, obtain the relevant parameters corresponding to the final fault cause, verify whether the fault is repaired successfully according to the relevant parameters, and update the fault record; associate the fault record in the network topology diagram for display.
[0091] For example, Figure 3 As shown, the asset management system also includes an alarm and fault response module. The alarm and fault response module includes an alarm feature submodule and a rule matching fault self-healing submodule; the alarm feature submodule collects events based on the log collection tool and the monitoring system, and determines whether the event is abnormal based on the rule engine, and triggers an alarm if it is abnormal; the rule matching fault self-healing submodule automatically executes the fault diagnosis and repair process based on the abnormal time determined by the rule engine and the predefined fault handling rules.
[0092] As a possible implementation of this embodiment, the alarm feature submodule includes a data acquisition unit, a rule engine and an alarm unit;
[0093] The data acquisition unit is used to acquire event information collected by the log collection tool and the monitoring system;
[0094] The rule engine performs abnormal judgment based on the collected event information and predefined judgment rules;
[0095] The alarm unit issues an alarm based on the abnormal result output by the rule engine.
[0096] As a possible implementation of this embodiment, the rule matching fault self-healing submodule includes a rule matching unit, a fault diagnosis unit, an automatic fault repair unit and a verification unit;
[0097] The rule matching unit receives the abnormal event output by the rule engine, queries the fault mode defined in the fault handling rule base based on the abnormal event (fault mode refers to the specific behavior or phenomenon mode exhibited by the system or device when a fault occurs. It usually includes the following elements: Symptoms: the performance of the system when a fault occurs, such as slow response, abnormal log records, specific error codes, etc. Trigger conditions: the conditions or environment that cause the fault, such as specific operations, abnormal input data, changes in environmental conditions, etc. Impact scope: the impact of the fault on the system or business, such as the affected functional modules, the number of affected users, etc. Occurrence frequency: the frequency and historical data of the fault), and obtains the corresponding multiple fault causes;
[0098] The fault diagnosis unit determines a final fault cause based on the determined multiple fault causes and parameters associated with each fault cause;
[0099] The automatic fault repair unit matches the corresponding fault cause in the fault processing rule base based on the finally determined fault cause, outputs the processing rule corresponding to the fault cause, and executes the processing rule;
[0100] The verification unit obtains corresponding parameters after the processing rule is executed to verify whether the fault is repaired successfully; if the repair fails, a repair failure warning is generated.
[0101] As a possible implementation of this embodiment, a mapping table of fault modes and fault causes is provided in the rule matching unit; the fault mode in the mapping table is matched based on the abnormal mode given in the abnormal event, and the corresponding fault cause is determined based on the matched fault mode.
[0102] The process of determining the cause of the fault can be as follows: for each fault cause, collect the current value and historical data of its related parameters; compare the current value and historical data of each parameter, and analyze the change trend of the data; based on the relationship between the parameter change trend and the fault cause, calculate a correlation score for each fault cause; for each fault cause R i , there is a set of related parameters (P i =p1,p2,...,p m ) Each parameter p j Relative to the cause of the fault R i The sensitivity score is d ij , then the fault cause R i The relevance scores are as follows:
[0103]
[0104] Among them, Δp j is the parameter p j The change value of is the deviation from the historical average;
[0105] The sensitivity score d ij The determination method can be: collect historical fault event data related to the fault cause, the data contains parameter p j Statistical analysis of the collected data was performed to determine the parameter p j The correlation degree between the change in and the occurrence of the fault cause; the correlation degree is obtained based on the correlation analysis, and the correlation degree is the sensitivity score.
[0106] For example, in the historical data, the number of times the fault cause Ri occurs is n, and the parameter p j If there is no significant change, it is considered to be unrelated; if each time the parameter p j If all changes occur, it is considered that there is an association; the score is 1; if there are 3 changes, the association score is 3 / n, so the sensitivity score is 3 / n.
[0107] 404. If the fault record meets the preset conditions, the corresponding asset is marked as an asset to be transferred, and the asset to be transferred is displayed distinctively in the network topology map; in response to the touch operation of the associated control of the asset to be transferred in the network topology map, a transfer application for the asset to be transferred is generated; the transfer application includes a transfer destination stored in association with the QR code information of the asset to be transferred.
[0108] 405. After the asset to be transferred arrives at the transportation destination, scan the QR code label of the asset to be transferred and associate the corresponding QR code information with the transportation destination; if the transportation destination is consistent with the transfer destination corresponding to the QR code information, confirm that the transfer of the asset to be transferred is successful, and update the network topology map based on the transfer destination.
[0109] Steps 401, 404 and 405 in this embodiment are similar to steps 201, 203 and 204 in the above embodiment, and are not described again here.
[0110] The asset management method provided in this embodiment automatically identifies assets in the network and collects asset information based on a predetermined communication protocol, and generates a unique QR code label for each asset. The asset information can be quickly entered and tracked by scanning the code with a scanner or mobile device, so that asset transfers and status changes can be updated in real time, thereby maintaining the real-time accuracy of asset information; and dynamically generates a network topology map based on asset information and network traffic data, realizing dynamic drawing and updating of the network topology map, providing managers with an intuitive and real-time network view, and automatically detecting and identifying faults, thereby ensuring the stability and security of network operation.
[0111] Figure 5 This is a schematic diagram of the structure of the asset management device provided in the embodiment of the present application. Figure 5 As shown, the asset management device 50 includes: a framing module 501 , a detection module 502 and a determination module 503 .
[0112] The generation module 501 is used to detect the open ports of multiple active IP addresses in the target network segment to obtain the asset information of the target assets corresponding to the target network segment; assign a unique QR code label to each asset in the target assets, scan the QR code label of each asset, and associate and store the scanned QR code information with the asset information of the corresponding asset; and generate a network topology map of the target asset based on the asset information and network traffic data of the target asset.
[0113] The detection module 502 is used to perform fault detection on the target asset and obtain fault records.
[0114] The transfer application module 503 is used to mark the corresponding asset as an asset to be transferred if the fault record meets the preset conditions, and distinguish the asset to be transferred in the network topology map; in response to the touch operation of the associated control of the asset to be transferred in the network topology map, generate a transfer application for the asset to be transferred; the transfer application includes a transfer destination stored in association with the QR code information of the asset to be transferred.
[0115] The updating module 504 is used to obtain the QR code information obtained by scanning the QR code label of the asset to be transferred after the asset to be transferred arrives at the transportation destination; if the transportation destination is consistent with the transfer destination corresponding to the QR code information, it is confirmed that the transfer of the asset to be transferred is successful, and the network topology map is updated based on the transfer destination.
[0116] The asset management device provided in the embodiment of the present application generates a network topology map by automatically identifying asset information through network scanning, and scans the unique QR code identifier assigned to the identified asset to enable rapid entry and tracking when asset transfers occur, and update the network topology map, thereby improving the efficiency and automation level of asset management, as well as the accuracy and timeliness of asset information, and ensuring the security, stability, and efficient operation of the network.
[0117] In some embodiments, when the generation module 501 detects the open ports of multiple active IP addresses in the target network segment to obtain the asset information of the target asset corresponding to the target network segment, it is specifically used to:
[0118] Scan the target network segment based on the network scanning tool to obtain multiple responding active IP addresses;
[0119] Based on the service and version detection function, the open ports of the plurality of active IP addresses are detected to obtain the service type and version information running on each open port;
[0120] Based on the service types and version information of the multiple active IP addresses, the asset information of the target asset corresponding to the target network segment is obtained.
[0121] In some embodiments, when the detection module 502 performs fault detection on the target asset and obtains the fault record, it is specifically used to:
[0122] Obtain event information collected by log collection tools and monitoring systems;
[0123] Performing abnormality judgment on the event information through a rule engine to obtain an abnormal event;
[0124] Based on the fault mode matching mapping table, determining multiple fault causes corresponding to the fault mode corresponding to the abnormal event;
[0125] According to the data change trends of the relevant parameters corresponding to the multiple fault causes, the final fault cause is determined, the first asset among the target assets corresponding to the final fault cause is set to a fault state in the network topology map, and the fault record of the first asset is updated.
[0126] In some embodiments, when the detection module 502 determines the final fault cause according to the data change trends of the relevant parameters corresponding to the multiple fault causes, it is specifically used to:
[0127] For each fault cause, acquiring historical fault event data related to the fault cause, wherein the historical fault event data includes data change trends of multiple candidate parameters;
[0128] For each candidate parameter, determining the degree of association between the candidate parameter and the fault cause according to a data change trend of the candidate parameter;
[0129] Determine the correlation scores of the multiple fault causes according to the correlation degree mapping table between the candidate parameters and the fault causes and the data change trends of the relevant parameters respectively corresponding to the multiple fault causes;
[0130] The fault cause with the highest correlation score is determined as the final fault cause.
[0131] In some embodiments, when updating the fault record of the first asset, the detection module 502 is specifically configured to:
[0132] According to the final fault cause, matching a processing rule corresponding to the final fault cause from a fault processing rule library, and executing the processing rule;
[0133] After the processing rule is executed, relevant parameters corresponding to the final fault cause are obtained, and whether the fault is repaired successfully is verified according to the relevant parameters, and the fault record is updated.
[0134] In some embodiments, the generating module 502 generates a network topology diagram of the target asset according to the asset information and network traffic data of the target asset, including:
[0135] Acquiring network traffic data between each of the target assets based on a network monitoring tool;
[0136] Integrate the asset information of the target asset and the network traffic data to determine the nodes and edges of the network topology graph; the nodes are corresponding assets, and the edges are connection relationships between nodes;
[0137] The asset information and network traffic data of the target asset are preprocessed, and a network topology map is generated based on the preprocessed data.
[0138] In some embodiments, the device 50 further includes a process management module (not shown) for constructing an asset management process based on a preset workflow engine; the asset management process includes a transfer application sub-process;
[0139] Setting a data model and a user interaction form for the transfer sub-process based on the form management function of the preset workflow engine;
[0140] Accordingly, when the transfer application module 503 generates a transfer application for the asset to be transferred in response to a touch operation on a control associated with the asset to be transferred in the network topology diagram, it is specifically configured to:
[0141] In response to a touch operation on a first control corresponding to an asset to be transferred in the network topology diagram, displaying a user interaction form of a transfer application sub-process corresponding to the asset to be transferred;
[0142] In response to a touch operation on the user interaction form of the transfer application sub-process, a transfer application for the to-be-transferred asset is generated.
[0143] The asset management device provided in the embodiment of the present application can be used to execute the above-mentioned method embodiment, and its implementation principle and technical effects are similar, so this embodiment will not be repeated here.
[0144] Figure 6 This is a schematic diagram of the hardware structure of the asset management device provided in an embodiment of the present application. The device may be a computer, a tablet device, a mobile phone or other terminal device or a server.
[0145] The device 60 may include one or more of the following components: a processing component 601 , a memory 602 , a power component 603 , a multimedia component 604 , an audio component 605 , an input / output (I / O) interface 606 , a sensor component 607 , and a communication component 608 .
[0146] The processing component 601 generally controls the overall operation of the device 60, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 601 may include one or more processors 609 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 601 may include one or more modules to facilitate the interaction between the processing component 601 and other components. For example, the processing component 601 may include a multimedia module to facilitate the interaction between the multimedia component 604 and the processing component 601.
[0147] The memory 602 is configured to store various types of data to support operations on the device 60. Examples of such data include instructions for any application or method operating on the device 60, contact data, phone book data, messages, pictures, videos, etc. The memory 602 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0148] The power supply component 603 provides power to the various components of the device 60. The power supply component 603 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 60.
[0149] The multimedia component 604 includes a screen that provides an output interface between the device 60 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 604 includes a front camera and / or a rear camera. When the device 60 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0150] The audio component 605 is configured to output and / or input audio signals. For example, the audio component 605 includes a microphone (MIC), and when the device 60 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 602 or sent via the communication component 608. In some embodiments, the audio component 605 also includes a speaker for outputting audio signals.
[0151] I / O interface 606 provides an interface between processing component 601 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0152] The sensor assembly 607 includes one or more sensors for providing various aspects of status assessment for the device 60. For example, the sensor assembly 607 can detect the open / closed state of the device 60, the relative positioning of components, such as the display and keypad of the device 60, and the sensor assembly 607 can also detect the position change of the device 60 or a component of the device 60, the presence or absence of user contact with the device 60, the orientation or acceleration / deceleration of the device 60, and the temperature change of the device 60. The sensor assembly 607 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 607 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 607 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0153] The communication component 608 is configured to facilitate wired or wireless communication between the device 60 and other devices. The device 60 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 608 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 608 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0154] In an exemplary embodiment, the device 60 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0155] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 602 including instructions, and the instructions can be executed by a processor 609 of the device 60 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0156] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0157] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0158] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0159] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the asset management method performed by the above asset management device.
[0160] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An asset management method, characterized in that: include: Detecting open ports of multiple active IP addresses in a target network segment to obtain asset information of a target asset corresponding to the target network segment; Allocate a unique QR code label to each asset in the target assets, scan the QR code label of each asset, and associate and store the scanned QR code information with the asset information of the corresponding asset; generate a network topology map of the target asset based on the asset information and network traffic data of the target asset; Performing fault detection on the target asset and obtaining fault records; If the fault record meets the preset conditions, the corresponding asset is marked as an asset to be transferred, and the asset to be transferred is displayed in a distinguished manner in the network topology diagram; In response to a touch operation on an associated control of the asset to be transferred in the network topology map, a transfer application for the asset to be transferred is generated; the transfer application includes a transfer destination stored in association with the QR code information of the asset to be transferred; After the asset to be transferred arrives at the transportation destination, the QR code label of the asset to be transferred is scanned, and the corresponding QR code information is associated with the transportation destination; If the transportation destination is consistent with the transfer destination corresponding to the QR code information, the transfer of the asset to be transferred is confirmed to be successful, and the network topology map is updated based on the transfer destination.
2. The method according to claim 1, characterized in that The detecting open ports of multiple active IP addresses in the target network segment to obtain asset information of target assets corresponding to the target network segment includes: Scan the target network segment based on the network scanning tool to obtain multiple responding active IP addresses; Based on the service and version detection function, the open ports of the plurality of active IP addresses are detected to obtain the service type and version information running on each open port; Based on the service types and version information of the multiple active IP addresses, the asset information of the target asset corresponding to the target network segment is obtained.
3. The method according to claim 1, characterized in that The performing fault detection on the target asset to obtain a fault record includes: Obtain event information collected by log collection tools and monitoring systems; Performing abnormality judgment on the event information through a rule engine to obtain an abnormal event; Based on the fault mode matching mapping table, determining multiple fault causes corresponding to the fault mode corresponding to the abnormal event; According to the data change trends of the relevant parameters corresponding to the multiple fault causes, the final fault cause is determined, the first asset among the target assets corresponding to the final fault cause is set to a fault state in the network topology map, and the fault record of the first asset is updated.
4. The method according to claim 3, characterized in that Determining the final fault cause according to the data change trends of the relevant parameters corresponding to the multiple fault causes respectively includes: For each fault cause, acquiring historical fault event data related to the fault cause, wherein the historical fault event data includes data change trends of multiple candidate parameters; For each candidate parameter, determining the degree of association between the candidate parameter and the fault cause according to a data change trend of the candidate parameter; Determine the correlation scores of the multiple fault causes according to the correlation degree mapping table between the candidate parameters and the fault causes and the data change trends of the relevant parameters respectively corresponding to the multiple fault causes; The fault cause with the highest correlation score is determined as the final fault cause.
5. The method according to claim 3, characterized in that: The updating of the fault record of the first asset includes: According to the final fault cause, matching and obtaining a processing rule corresponding to the final fault cause from a fault processing rule library, and executing the processing rule; After the processing rule is executed, relevant parameters corresponding to the final fault cause are obtained, and whether the fault is repaired successfully is verified according to the relevant parameters, and the fault record is updated.
6. The method according to any one of claims 1 to 5, characterized in that: Generating a network topology diagram of the target asset according to the asset information and network traffic data of the target asset includes: Acquiring network traffic data between each of the target assets based on a network monitoring tool; Integrate the asset information of the target asset and the network traffic data to determine the nodes and edges of the network topology graph; the nodes are corresponding assets, and the edges are connection relationships between nodes; The asset information and network traffic data of the target asset are preprocessed, and a network topology map is generated based on the preprocessed data.
7. The method according to any one of claims 1 to 5, characterized in that: Before generating a transfer application for the asset to be transferred in response to a touch operation on an associated control of the asset to be transferred in the network topology map, the method further includes: Building an asset management process based on a preset workflow engine; the asset management process includes a transfer application sub-process; Setting a data model and a user interaction form for the transfer sub-process based on the form management function of the preset workflow engine; The generating a transfer application for the asset to be transferred in response to a touch operation on a control associated with the asset to be transferred in the network topology map includes: In response to a touch operation on a first control corresponding to an asset to be transferred in the network topology diagram, displaying a user interaction form of a transfer application sub-process corresponding to the asset to be transferred; In response to a touch operation on the user interaction form of the transfer application sub-process, a transfer application for the to-be-transferred asset is generated.
8. An asset management device, characterized in that: include: A generation module is used to detect the open ports of multiple active IP addresses in the target network segment to obtain the asset information of the target assets corresponding to the target network segment; assign a unique QR code label to each asset in the target assets, scan the QR code label of each asset, and associate and store the scanned QR code information with the asset information of the corresponding asset; generate a network topology map of the target asset based on the asset information and network traffic data of the target asset; A detection module, used to perform fault detection on the target asset and obtain fault records; A transfer application module, for marking the corresponding asset as an asset to be transferred if the fault record meets a preset condition, and displaying the asset to be transferred in a distinguishable manner in the network topology diagram; In response to a touch operation on an associated control of the asset to be transferred in the network topology map, a transfer application for the asset to be transferred is generated; the transfer application includes a transfer destination stored in association with the QR code information of the asset to be transferred; An updating module, configured to obtain the QR code information obtained by scanning the QR code label of the asset to be transferred after the asset to be transferred arrives at the transportation destination; If the transportation destination is consistent with the transfer destination corresponding to the QR code information, the transfer of the asset to be transferred is confirmed to be successful, and the network topology map is updated based on the transfer destination.
9. An asset management device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the asset management method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the asset management method according to any one of claims 1 to 7 is implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the asset management method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Equipment security management method and device, electronic equipment and storage medium
CN118886890A
Device safety management method, device, electronic device and storage medium
CN118886890B
