A method, system, device and medium for gathering same asset information of different platforms
By integrating asset information storage fields from different platforms, establishing form storage templates, and selecting fixed fields, the problem of scattered asset information storage was solved, enabling centralized display and efficient maintenance of the same asset information.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WUHAN SIPU TECH CO LTD
- Filing Date
- 2022-11-23
- Publication Date
- 2026-04-24
AI Technical Summary
Asset information from different security vendors is stored in a scattered manner, which requires users to log in to multiple platforms to view it, making it extremely cumbersome and affecting maintenance efficiency.
Integrate asset information storage fields from different platforms, establish a form storage template, select common fields as fixed fields, configure the data collection application, obtain asset information through simulated login, and aggregate asset information entries based on fixed fields to generate target asset data.
It enables centralized display of the same asset information, reduces data redundancy, lowers user maintenance costs, and improves the efficiency of viewing asset information.
Smart Images

Figure CN115794821B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer security technology, and in particular to a method for aggregating the same asset information across different platforms. Background Technology
[0002] With the development of information technology, enterprise networks are becoming increasingly larger, and the requirements for information security are also becoming more stringent. At the same time, the number of devices in enterprises is also increasing, with some large enterprises having hundreds, thousands, or even tens of thousands of devices.
[0003] Therefore, businesses today need professional vendors to provide security services to manage the security of their equipment and assets. However, different security vendors have different security capabilities, and a single enterprise may have multiple vendors serving it simultaneously. Furthermore, different vendors use different platforms, and the way asset and equipment data is stored on these platforms also differs. Users need to log into different security platforms to view asset information, which is extremely cumbersome and time-consuming, impacting maintenance efficiency.
[0004] Therefore, there is an urgent need for a method that can integrate asset information from different platforms, so that users can conveniently and centrally view asset information. Summary of the Invention
[0005] In view of this, it is necessary to provide a method, system, device and medium for aggregating the same asset information across different platforms, in order to solve the problem that asset information is too scattered across different platforms and is not easy to view in the existing technology.
[0006] To achieve the above-mentioned technical objectives, the present invention adopts the following technical solution:
[0007] In a first aspect, the present invention provides a method for aggregating the same asset information across different platforms, comprising:
[0008] Multiple template fields are obtained by integrating asset information storage fields from different platforms, and a form storage template is established based on the template fields. At the same time, based on the degree of commonality of the asset information storage fields corresponding to the template fields on different platforms, multiple fixed fields are selected from the multiple template fields.
[0009] Configure the data collection application according to the login conditions of different platforms, and obtain asset information data from different platforms;
[0010] Based on the form storage template, the storage format of the asset information data is specified to obtain multiple asset information entries;
[0011] Based on the fixed fields, multiple asset information entries representing the same asset are aggregated to obtain multiple target asset data.
[0012] Furthermore, the fixed fields include a MAC address field, an IP address field, and a hostname field.
[0013] Furthermore, the integration of asset information storage fields from different platforms yields multiple template fields, and a form storage template is established based on these template fields. Simultaneously, based on the degree of commonality of the asset information storage fields corresponding to the template fields across different platforms, multiple fixed fields are selected from the multiple template fields, including:
[0014] By filtering the asset information storage fields of different platforms, multiple target required fields are obtained;
[0015] By integrating the names of different target requirement fields that represent the same object, multiple template fields are obtained;
[0016] Configure the attribute characteristics of each of the template fields;
[0017] The form storage template is established based on the multiple template fields and the corresponding attribute features;
[0018] Obtain the degree of commonality of the asset information storage field corresponding to the template field on different platforms, and select multiple fixed fields from multiple template fields based on the degree of commonality.
[0019] Furthermore, based on the fixed field, multiple asset information entries representing the same asset are aggregated to obtain multiple target asset data, including:
[0020] Determine whether the MAC address field of the asset information entry is not empty;
[0021] If yes, the MAC address field is used as the base field, and the asset information entries are aggregated based on the data of the base field to obtain the target asset data; otherwise, it is determined whether the IP address field of the asset information entry is not empty.
[0022] If yes, the IP address field is used as the base field, and the asset information entries are aggregated based on the data in the base field to obtain the target asset data. If no, the hostname field is used as the base field, and the asset information entries are aggregated based on the data in the base field to obtain the target asset data.
[0023] Furthermore, the target asset data includes the MAC address field, the IP address field, and the hostname field; the process of aggregating the asset information entries based on the data in the baseline fields to obtain the target asset data includes:
[0024] Determine whether the data in the baseline field of the existing target asset data is consistent with the data in the baseline field of the asset information entry;
[0025] If yes, the asset information entries are aggregated into the existing target asset data; otherwise, a unique asset identifier is assigned to each asset information entry, and new target asset data is established based on the unique asset identifier, the asset information entry, and the corresponding baseline field data.
[0026] Furthermore, the configuration of the data collection application based on the login conditions of different platforms, and the acquisition of asset information data from different platforms, includes:
[0027] Obtain the login condition information from different platforms, and configure login information data in multiple data collection applications based on the login condition information;
[0028] Based on the login information data, multiple data acquisition applications are run to simulate login to different platforms, and asset information data of the different platforms are obtained through the API interfaces called during the simulated login.
[0029] Furthermore, the step of running multiple data collection applications to simulate logins to different platforms based on the login information data, and obtaining asset information data from the different platforms through API interfaces called during the simulated login, includes:
[0030] The execution script is arranged according to actual needs, and multiple data acquisition applications are run based on the execution script.
[0031] Secondly, the present invention also provides a system for aggregating the same asset information across different platforms, comprising:
[0032] The template creation unit is used to integrate asset information storage fields from different platforms to obtain multiple template fields, and to create a form storage template based on the template fields. At the same time, based on the degree of commonality of the asset information storage fields corresponding to the template fields on different platforms, multiple fixed fields are selected from the multiple template fields.
[0033] The data acquisition unit is used to configure the data acquisition application according to the login conditions of different platforms and to acquire asset information data from different platforms.
[0034] The information integration unit is used to standardize the storage format of the asset information data based on the form storage template to obtain multiple asset information entries;
[0035] The asset aggregation unit is used to aggregate multiple asset information entries representing the same asset based on the fixed fields, thereby obtaining multiple target asset data.
[0036] Thirdly, the present invention also provides an electronic device, including a memory and a processor, wherein,
[0037] Memory, used to store programs;
[0038] The processor, coupled to the memory, is used to execute programs stored in the memory to implement the steps in the different platform methods for aggregating the same asset information in any of the above implementations.
[0039] Fourthly, the present invention also provides a computer-readable storage medium for storing a computer-readable program or instruction, which, when executed by a processor, can implement the steps in the method for aggregating the same asset information on different platforms in any of the above implementations.
[0040] This invention provides a method, system, device, and medium for aggregating the same asset information across different platforms. The method integrates asset information storage fields from different platforms to obtain template fields. Based on the commonality of these template fields across different platforms, multiple fixed fields are derived. A form storage template including these fixed fields is established. After configuring a data acquisition application and collecting asset information data from different platforms, the storage format of the asset information data is first standardized based on the form storage template, resulting in multiple asset information entries. Then, the fixed fields are used to aggregate asset information entries representing the same asset, resulting in aggregated multiple target asset data sets. These multiple target asset data sets allow for the centralized display of an enterprise's asset information in the same format. Furthermore, due to the universality, uniqueness, and commonality of the fixed fields across multiple platforms, information on most of the same asset can be merged using these fixed fields, reducing data redundancy and perfectly presenting all asset information to the user, thus lowering user maintenance costs. Attached Figure Description
[0041] Figure 1 This is a flowchart illustrating an embodiment of the method for aggregating the same asset information across different platforms provided by the present invention.
[0042] Figure 2 for Figure 1 A flowchart of a method according to an embodiment of step S101;
[0043] Figure 3 for Figure 1 A flowchart of a method according to an embodiment of step S104;
[0044] Figure 4 A schematic diagram of the structure of an embodiment of the system for aggregating the same asset information across different platforms provided by the present invention;
[0045] Figure 5 A schematic diagram of the structure of an embodiment of the electronic device provided by the present invention. Detailed Implementation
[0046] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not intended to limit the scope of the present invention.
[0047] Before describing specific embodiments, this article will first explain some technical terms:
[0048] Assets: These are the equipment owned by a company. All equipment is an asset, and the asset information in this article refers to information related to equipment.
[0049] Supplier Platform / Platform: A supplier refers to a provider that offers network security protection capabilities. Each supplier corresponds to a platform that provides the service.
[0050] Application: A node with the ability to collect platform asset information. One platform corresponds to one application. In this embodiment, the data collection application can refer to the aforementioned application or a part of the application node that can perform data collection actions.
[0051] Script: A script is a technology that can arrange multiple operations and run them according to specific rules, such as SOAR scripts. It allows one or more applications to be dragged into the script for arrangement and connected by single arrows (application execution order). The script can automatically execute the internal applications in sequence.
[0052] Simulated login: A technique used in code programs to simulate a browser login system.
[0053] assets_uuid: A unique identifier for an asset, generated using UUID (Universally Unique Identifier) technology, ensuring that no two assets are duplicated.
[0054] In the description of this application, "multiple" means two or more, unless otherwise expressly and specifically defined.
[0055] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0056] This invention integrates asset information from different platforms by constructing a form storage template, and then aggregates asset information representing the same asset based on fixed fields in the form storage template, achieving the effect of aggregating the same asset information from different platforms.
[0057] Specifically, in combination Figure 1 As shown, the present invention provides a method, apparatus, device and storage medium for aggregating the same asset information across different platforms, which will be described below.
[0058] A specific embodiment of the present invention discloses a method for aggregating the same asset information across different platforms, the method comprising:
[0059] S101. Integrate asset information storage fields from different platforms to obtain multiple template fields, and establish a form storage template based on the template fields. At the same time, based on the degree of commonality of the asset information storage fields corresponding to the template fields on different platforms, select multiple fixed fields from the multiple template fields.
[0060] S102. Configure the data collection application according to the login conditions of different platforms, and obtain asset information data from different platforms;
[0061] S103. Based on the form storage template, standardize the storage format of the asset information data to obtain multiple asset information entries;
[0062] S104. Based on the fixed field, aggregate multiple asset information entries representing the same asset to obtain multiple target asset data.
[0063] This invention provides a method for aggregating the same asset information across different platforms. It integrates asset information storage fields from different platforms to obtain template fields, and based on the commonality of these template fields across different platforms, obtains multiple fixed fields. A form storage template including these fixed fields is established. After configuring a data collection application and collecting asset information data from different platforms, the storage format of the asset information data is first standardized based on the form storage template, resulting in multiple asset information entries. Then, the fixed fields are used to aggregate asset information entries representing the same asset, resulting in aggregated multiple target asset data sets. These multiple target asset data sets can centrally display an enterprise's asset information in the same format. Furthermore, due to the universality, uniqueness, and commonality of the fixed fields across multiple platforms, they can merge information on most of the same assets, reducing data duplication and redundancy, perfectly presenting all asset information to the user, and lowering user maintenance costs.
[0064] Specifically, in combination Figure 2 As shown, in a preferred embodiment, step S101 of this embodiment involves integrating asset information storage fields from different platforms to obtain multiple template fields, establishing a form storage template based on the template fields, and selecting multiple fixed fields from the multiple template fields based on the degree of commonality of the asset information storage fields corresponding to the template fields across different platforms, including:
[0065] S201. Filter the asset information storage fields of different platforms to obtain multiple target requirement fields;
[0066] S202. Integrate the names of different target requirement fields that represent the same object to obtain multiple template fields;
[0067] S203. Configure the attribute characteristics of each of the template fields;
[0068] S204. Establish the form storage template based on the multiple template fields and the corresponding attribute features;
[0069] S205. Obtain the degree of commonality of the asset information storage field corresponding to the template field on different platforms, and select multiple fixed fields from multiple template fields according to the degree of commonality.
[0070] Furthermore, as a preferred embodiment, the fixed fields in this embodiment include a MAC address field, an IP address field, and a hostname field.
[0071] In practice, different supplier platforms store asset information in different formats and have different names for the asset information. For example, platform A names the asset operating system as operatingSystem, while platform B names it as opSystem. Therefore, before collecting and aggregating data, it is necessary to sort out the field information and integrate it into a new form storage template. This form storage template has a unique new name, such as os, which belongs to this aggregation system. The form template will specify the Chinese name, English name, type, and whether it is required for the field. The form storage template will also be used as the standard when aggregating asset information in the future.
[0072] To more clearly illustrate the above process, the present invention also provides a clearer embodiment to explain steps S201 to S204:
[0073] The following is an example of asset information stored on platform A:
[0074] Terminal name: localhost.localmain
[0075] Computer name: localhost.localmain
[0076] IPv4 address: 10.0.12.199 192.168.122.1
[0077] MAC addresses: 00-50-56-96-33-B6, 52-54-00-46-68-EF
[0078] Virus database version: 20220825183810
[0079] System version: Windows 10
[0080] Last access time: 2022-08-26 17:17:35
[0081] Last login time: 2021-07-16 15:20:39
[0082] The following is an example of the asset information stored on platform B:
[0083] Hostname: localhost
[0084] MAC address: 00:50:56:b8:03:d8
[0085] Operating system: Linux 3.2–4.9
[0086] Source of assets: Other
[0087] Asset Group: his system
[0088] Creation time: 2022-08-10 18:06:29
[0089] Updated: 2022-10-10 18:16:46
[0090] During integration, the information entered by each platform for the assets is first reviewed, and the required fields are identified, i.e., the target requirement fields. For example, in platform A, the terminal name, IPv4 address, MAC address, and last access time are required; in platform B, the hostname, MAC address, operating system, and update time are required. These fields are then integrated into system-specific fields, i.e., template fields. For example, the IPv4 address in platform A is renamed to IP address, and the system version in platform A and the operating system in platform B are both renamed to operating system, thus obtaining multiple template fields.
[0091] After obtaining the template fields, several can be selected as fixed fields based on the degree of commonality of the template fields across different platforms. For example, in this embodiment, the MAC address field is common to both platform A and platform B, and the MAC address can also represent the unique identity information of a computer in the network. Therefore, the MAC address field can be selected as a fixed field. In this embodiment, the selected fixed fields include the MAC address field, the IP address field, and the hostname field.
[0092] It is understandable that, on the one hand, since there are multiple fixed fields selected in this invention, the selection of fixed fields in this embodiment does not require that the field exists in every platform. On the other hand, the basis for selecting fixed fields in this embodiment is not only based on the degree of commonality of the field in different platforms, but also on the content corresponding to the field itself. For example, although both Platform A and Platform B have fields related to time, time cannot represent the identity of a computer in the network, so it cannot be used as a fixed field.
[0093] Then, you can configure relevant attribute characteristics for each field, such as specifying the Chinese name, English name, default value, field type, and whether it is required. In this way, a form storage template can be created based on the template fields and their corresponding attribute characteristics. An example of a form storage template in this embodiment is as follows:
[0094] Form storage template (partial)
[0095]
[0096]
[0097] It is understood that the above form storage template is only used as an example for illustration, and the actual field names and related attribute values may differ slightly from the table above. After obtaining asset information from different platforms, the data from the target requirement fields in the asset information can be filled into the corresponding template fields in the above form storage template to form a standardized asset information entry. Furthermore, it should be noted that due to differences in the functions of different platforms, the specific types of fields included in the asset information on different platforms also differ. For example, the data from platform B above does not include an IP address field. Therefore, when standardizing data based on the above form storage template, some fields in the final asset information entry are allowed to be empty.
[0098] Furthermore, as a preferred embodiment, step S102 in this embodiment, configuring the data collection application according to the login conditions of different platforms and obtaining asset information data from different platforms, specifically includes:
[0099] Obtain the login condition information from different platforms, and configure login information data in multiple data collection applications based on the login condition information;
[0100] Based on the login information data, multiple data acquisition applications are run to simulate login to different platforms, and asset information data of the different platforms are obtained through the API interfaces called during the simulated login.
[0101] In a more specific embodiment, the more specific execution steps of the above process are as follows:
[0102] 1. Manually configure the access address, login account, password, database service port number, and connection information for storing the aggregated asset information in the database of the platform to be collected by the data collection application (i.e., the login information data, which depends on the login conditions of different platforms).
[0103] 2. The data collection application uses the above login information data to log in to the target platform based on simulated browser login technology;
[0104] 3. After entering the platform, check the API interface sent by the browser to the backend system, obtain the data returned by the interface, and then integrate the data based on the form storage template according to the steps described above.
[0105] Furthermore, as a preferred embodiment, the step of running multiple data collection applications to simulate logging into different platforms based on the login information data, and obtaining asset information data from the different platforms through the API interfaces called during the simulated login, specifically includes:
[0106] The execution script is arranged according to actual needs, and multiple data acquisition applications are run based on the execution script.
[0107] In practice, different platforms correspond to different data collection applications. Under certain circumstances, the management system may need each application to run independently. Therefore, there are many platforms that need to be collected, making the operation quite cumbersome. So, in this embodiment, a script is used for arrangement. For example, in practice, multiple data collection applications can be dragged and dropped into the script through the script arrangement system and arranged as needed. Single arrows are used to connect application nodes, and the arrows represent the execution order. After the previous node is completed, the next node is executed according to the connection.
[0108] For example, the script arranged in this embodiment is as follows:
[0109] #1. Obtain Asset Data: Query Moying's asset scanning information and IP asset planning information.
[0110] #2. Moying Asset Registration: Asset information obtained from the Moying platform will be registered in the database.
[0111] #3. Obtain a summary list of devices: retrieve the device's IP address, name, manufacturer, and model.
[0112] #4. Query NAT translation relationship: Query the mapping of source NAT and destination NAT.
[0113] #5. Crystal Asset Registration: Asset information obtained from the Crystal platform will be registered in the database.
[0114] It is understood that script technology is existing technology that can be understood and used by those skilled in the art, so it will not be discussed in detail in this article.
[0115] After the execution script is arranged and the data of multiple asset information entries is obtained, it can be aggregated. In practice, since the content of fixed fields (MAC address, IP address and hostname) is a necessary field for exchanging data in the network, it can represent the specific device identity in the network and has universality and uniqueness. Therefore, in this embodiment, the data is aggregated based on fixed fields.
[0116] Specifically, in combination Figure 3 As shown, in a preferred embodiment, step S104 of this embodiment, which involves aggregating multiple asset information entries representing the same asset based on the fixed field to obtain multiple target asset data, includes:
[0117] Determine whether the MAC address field of the asset information entry is not empty;
[0118] If yes, the MAC address field is used as the base field, and the asset information entries are aggregated based on the data of the base field to obtain the target asset data; otherwise, it is determined whether the IP address field of the asset information entry is not empty.
[0119] If yes, the IP address field is used as the base field, and the asset information entries are aggregated based on the data in the base field to obtain the target asset data. If no, the hostname field is used as the base field, and the asset information entries are aggregated based on the data in the base field to obtain the target asset data.
[0120] Furthermore, in a preferred embodiment, the steps of the above process—namely, the target asset data including the MAC address field, the IP address field, and the hostname field; and the aggregation of the asset information entries based on the data in the reference field to obtain the target asset data—specifically include:
[0121] Determine whether the data in the baseline field of the existing target asset data is consistent with the data in the baseline field of the asset information entry;
[0122] If yes, the asset information entries are aggregated into the existing target asset data; otherwise, a unique asset identifier is assigned to each asset information entry, and new target asset data is established based on the unique asset identifier, the asset information entry, and the corresponding baseline field data.
[0123] Because MAC addresses are closer to the physical layer and have wider applicability, followed by IP addresses, this embodiment aggregates data in the order of MAC address, IP address, and hostname. A unique asset identifier (assets_uuid) is assigned to each aggregated target asset data to represent the same asset, facilitating subsequent data visualization. For example, administrators can group and view data by assets_uuid on the asset list page of the management system. Each group of data represents all the information for one asset, and this group of data is then merged into a single data entry for presentation on the visualization page.
[0124] On the other hand, the above process also has the following advantages:
[0125] 1. Once the data collection is complete, the supplier platform can update the asset information at any time, thus preventing the system from becoming outdated in terms of asset information.
[0126] 2. The script supports multiple data collections, facilitating repeated execution;
[0127] 3. After data collection, the data will still be stored in the database normally, and the visualization page supports displaying data records collected multiple times, allowing you to intuitively view the changes of assets on a certain platform.
[0128] To better implement the method for aggregating the same asset information across different platforms in this invention, based on the method for aggregating the same asset information across different platforms, please refer to the corresponding documentation. Figure 4 , Figure 4 This is a schematic diagram of a structural embodiment of the system for aggregating the same asset information across different platforms provided by the present invention. The system 400 provided in this embodiment includes:
[0129] The template creation unit 410 is used to integrate asset information storage fields from different platforms to obtain multiple template fields, and to create a form storage template based on the template fields. At the same time, based on the degree of commonality of the asset information storage fields corresponding to the template fields on different platforms, multiple fixed fields are selected from the multiple template fields.
[0130] The data acquisition unit 420 is used to configure the data acquisition application according to the login conditions of different platforms and to acquire asset information data from different platforms.
[0131] Information integration unit 430 is used to standardize the storage format of the asset information data based on the form storage template to obtain multiple asset information entries;
[0132] The asset aggregation unit 440 is used to aggregate multiple asset information entries representing the same asset according to the fixed field to obtain multiple target asset data.
[0133] It should be noted that the system 400 provided in the above embodiments can implement the technical solutions described in the above method embodiments. The specific implementation principles of the above modules or units can be found in the corresponding content in the above method embodiments, and will not be repeated here.
[0134] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Based on the above-described method for aggregating the same asset information across different platforms, the present invention also provides a device 500 for aggregating the same asset information across different platforms, i.e., the aforementioned electronic device. The device 500 for aggregating the same asset information across different platforms can be a computing device such as a mobile terminal, desktop computer, laptop, handheld computer, or server. The device 500 for aggregating the same asset information across different platforms includes a processor 510, a memory 520, and a display 530. Figure 5 Only some components of the same asset information aggregation device across different platforms are shown. However, it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0135] In some embodiments, the memory 520 can be an internal storage unit of the asset information aggregation device 500 on different platforms, such as a hard disk or memory of the asset information aggregation device 500 on different platforms. In other embodiments, the memory 520 can also be an external storage device of the asset information aggregation device 500 on different platforms, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the asset information aggregation device 500 on different platforms. Furthermore, the memory 520 can include both internal storage units and external storage devices of the asset information aggregation device 500 on different platforms. The memory 520 is used to store application software and various types of data installed on the asset information aggregation device 500 on different platforms, such as program code installed on the asset information aggregation device 500 on different platforms. The memory 520 can also be used to temporarily store data that has been output or will be output. In one embodiment, the memory 520 stores a program 540 for aggregating the same asset information on different platforms. This program 540 can be executed by the processor 510 to realize the method for aggregating the same asset information on different platforms in the various embodiments of this application.
[0136] In some embodiments, processor 510 may be a central processing unit (CPU), microprocessor or other data processing chip, used to run program code stored in memory 520 or process data, such as executing a method for aggregating the same asset information across different platforms.
[0137] In some embodiments, display 530 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. Display 530 is used to display information from the same asset information aggregation device 500 on different platforms and to display a visual user interface. Components 510-530 of the same asset information aggregation device 500 on different platforms communicate with each other via a system bus.
[0138] In one embodiment, when the processor 510 executes the program 540 for aggregating information on the same asset across different platforms in the memory 520, the steps in the above-described method for aggregating information on the same asset across different platforms are implemented.
[0139] This embodiment also provides a computer-readable storage medium storing a program for aggregating the same asset information across different platforms. When this program is executed by a processor, it can implement the steps described in the above embodiment.
[0140] This invention provides a method, system, device, and medium for aggregating the same asset information across different platforms. The method integrates asset information storage fields from different platforms to obtain template fields. Based on the commonality of these template fields across different platforms, multiple fixed fields are derived. A form storage template including these fixed fields is established. After configuring a data acquisition application and collecting asset information data from different platforms, the storage format of the asset information data is first standardized based on the form storage template, resulting in multiple asset information entries. Then, the fixed fields are used to aggregate asset information entries representing the same asset, resulting in aggregated multiple target asset data sets. These multiple target asset data sets allow for the centralized display of an enterprise's asset information in the same format. Furthermore, due to the universality, uniqueness, and commonality of the fixed fields across multiple platforms, information on most of the same asset can be merged using these fixed fields, reducing data redundancy and perfectly presenting all asset information to the user, thus lowering user maintenance costs.
[0141] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for aggregating the same asset information across different platforms, characterized in that, include: Multiple template fields are obtained by integrating asset information storage fields from different platforms, and a form storage template is established based on the template fields. At the same time, based on the degree of commonality of the asset information storage fields corresponding to the template fields on different platforms, multiple fixed fields are selected from the multiple template fields. Configure the data collection application according to the login conditions of different platforms, and obtain asset information data from different platforms; Based on the form storage template, the storage format of the asset information data is specified to obtain multiple asset information entries; Based on the fixed fields, multiple asset information entries representing the same asset are aggregated to obtain multiple target asset data; The fixed fields include a MAC address field, an IP address field, and a hostname field; The process of aggregating multiple asset information entries representing the same asset based on the fixed field yields multiple target asset data, including: Determine whether the MAC address field of the asset information entry is not empty; If yes, the MAC address field is used as the base field, and the asset information entries are aggregated based on the data of the base field to obtain the target asset data; otherwise, it is determined whether the IP address field of the asset information entry is not empty. If yes, the IP address field is used as the base field, and the asset information entries are aggregated based on the data in the base field to obtain the target asset data. If no, the hostname field is used as the base field, and the asset information entries are aggregated based on the data in the base field to obtain the target asset data.
2. The method for aggregating the same asset information across different platforms according to claim 1, characterized in that, The process involves integrating asset information storage fields from different platforms to obtain multiple template fields, and establishing form storage templates based on these template fields. Simultaneously, based on the degree of commonality of the asset information storage fields corresponding to the template fields across different platforms, multiple fixed fields are selected from the multiple template fields, including: By filtering the asset information storage fields of different platforms, multiple target required fields are obtained; By integrating the names of different target requirement fields that represent the same object, multiple template fields are obtained; Configure the attribute characteristics of each of the template fields; The form storage template is established based on the multiple template fields and the corresponding attribute features; Obtain the degree of commonality of the asset information storage field corresponding to the template field on different platforms, and select multiple fixed fields from multiple template fields based on the degree of commonality.
3. The method for aggregating the same asset information across different platforms according to claim 1, characterized in that, The target asset data includes the MAC address field, the IP address field, and the hostname field; the process of aggregating the asset information entries based on the data in the baseline fields to obtain the target asset data includes: Determine whether the data in the baseline field of the existing target asset data is consistent with the data in the baseline field of the asset information entry; If yes, the asset information entries are aggregated into the existing target asset data; otherwise, a unique asset identifier is assigned to each asset information entry, and new target asset data is established based on the unique asset identifier, the asset information entry, and the corresponding baseline field data.
4. The method for aggregating the same asset information across different platforms according to claim 1, characterized in that, The process of configuring the data collection application based on login conditions for different platforms and acquiring asset information data from different platforms includes: Obtain the login condition information from different platforms, and configure login information data in multiple data collection applications based on the login condition information; Based on the login information data, multiple data acquisition applications are run to simulate login to different platforms, and asset information data of the different platforms are obtained through the API interfaces called during the simulated login.
5. The method for aggregating the same asset information across different platforms according to claim 4, characterized in that, The step of running multiple data collection applications to simulate logins to different platforms based on the login information data, and obtaining asset information data from the different platforms through API interfaces called during the simulated login, includes: The execution script is arranged according to actual needs, and multiple data acquisition applications are run based on the execution script.
6. A system for aggregating the same asset information across different platforms, characterized in that, include: The template creation unit is used to integrate asset information storage fields from different platforms to obtain multiple template fields, and to create a form storage template based on the template fields. At the same time, based on the degree of commonality of the asset information storage fields corresponding to the template fields on different platforms, multiple fixed fields are selected from the multiple template fields. The data acquisition unit is used to configure the data acquisition application according to the login conditions of different platforms and to acquire asset information data from different platforms. The information integration unit is used to standardize the storage format of the asset information data based on the form storage template to obtain multiple asset information entries; The asset aggregation unit is used to aggregate multiple asset information entries representing the same asset based on the fixed fields to obtain multiple target asset data. The fixed fields include a MAC address field, an IP address field, and a hostname field; The process of aggregating multiple asset information entries representing the same asset based on the fixed field yields multiple target asset data, including: Determine whether the MAC address field of the asset information entry is not empty; If yes, the MAC address field is used as the base field, and the asset information entries are aggregated based on the data of the base field to obtain the target asset data; otherwise, it is determined whether the IP address field of the asset information entry is not empty. If yes, the IP address field is used as the base field, and the asset information entries are aggregated based on the data in the base field to obtain the target asset data. If no, the hostname field is used as the base field, and the asset information entries are aggregated based on the data in the base field to obtain the target asset data.
7. An electronic device, characterized in that, Including memory and processor, among which, The memory is used to store programs; The processor, coupled to the memory, is used to execute the program stored in the memory to implement the steps in the method for aggregating the same asset information on different platforms as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, Used to store computer-readable programs or instructions, which, when executed by a processor, can implement the steps in the method for aggregating the same asset information on different platforms as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Physically-distributed and logically-unified data asset directory aggregation system
CN112597132A