Method and device for creating configuration management object, electronic device, and storage medium

By determining the target asset classification from the asset management system, establishing a mapping relationship with the configuration management system, filtering and collecting target device information, and creating configuration object instances, the problems of low efficiency and insufficient coverage of the configuration management system in the existing technology are solved. Implemented more efficient configuration item management.

CN114610407BActive Publication Date: 2024-10-11CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210228595.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-10
Publication Date
2024-10-11
Estimated Expiration
2042-03-10

AI Technical Summary

Technical Problem

The existing configuration management system lacks the design baseline of hardware information, resulting in manual entry of hardware information, which is inefficient and cannot guarantee the coverage of configuration item management objects.

Method used

By determining the target asset management classification from the asset management system, establishing a mapping relationship with the configuration management system, filtering out target devices that are in a state where information can be collected, collecting asset instance information, creating configuration object instances under the configuration item classification, and synchronizing related attributes. , match and feedback mismatch information.

Benefits of technology

It improves the creation efficiency of configuration management objects, ensures the coverage of configuration item management objects, and reduces the difficulty and errors of manual verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114610407B_ABST
    Figure CN114610407B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for creating a configuration management object, an electronic device, and a storage medium. The method comprises: determining each target asset management category that is consistent with the configuration item category of the configuration management system from each asset management category of the asset management system; establishing a mapping relationship between each target asset management category and the consistent configuration item category; based on the correspondence between the device attributes in the asset management system and the status in the configuration management system, screening out each target device that is in a state where information can be collected from the devices under each target asset management category; collecting the asset instance information corresponding to each target device from the configuration management system; creating a configuration object instance under the configuration item category corresponding to each target device using the asset instance information corresponding to each target device; the configuration item category corresponding to the target device refers to the configuration item category that has a mapping relationship with the target asset management category to which the target device belongs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of configuration management technology, and in particular to a method and device for creating a configuration management object, an electronic device, and a storage medium. Background Art

[0002] Configuration management database, also commonly known as configuration management system, is a logical database that contains information about the entire life cycle of configuration items and the relationships between configuration items. It is currently a commonly used system for managing configuration items. Configuration items refer to objects that are included in the scope of configuration management, such as servers, network switches, etc.

[0003] Currently, for the configuration management system, due to the lack of a design baseline for hardware information, hardware information needs to be entered manually so that the system knows which hardware devices are running in the data center. Then, based on this scope, a management object list is manually established to manage configuration items.

[0004] However, the efficiency of manually creating management objects is relatively low, and because hardware information is manually entered, whether the objects of configuration item management are fully covered can only rely on manual verification by business personnel. Manual verification is relatively difficult and cannot guarantee accuracy. Therefore, the object coverage of configuration item management cannot be effectively guaranteed. Summary of the invention

[0005] Based on the above-mentioned deficiencies of the prior art, the present application provides a method and device for creating a configuration management object, an electronic device, and a storage medium to solve the problem that the prior art is low in efficiency and cannot guarantee the coverage of the configuration management object.

[0006] In order to achieve the above objectives, this application provides the following technical solutions:

[0007] The first aspect of the present application provides a method for creating a configuration management object, comprising:

[0008] Determine each target asset management category from each asset management category of the asset management system; wherein the target asset management category refers to the asset management category consistent with the configuration item category of the configuration management system;

[0009] Establishing mapping relationships between each of the target asset management categories and the corresponding configuration item categories respectively;

[0010] Based on the correspondence between the device attributes in the asset management system and the status in the configuration management system, each target device is screened out from the devices under each target asset management category; wherein the target device is a device in a state where information can be collected;

[0011] Collecting asset instance information corresponding to each of the target devices from the configuration management system;

[0012] Using the asset instance information corresponding to each of the target devices, create a configuration object instance under the configuration item category corresponding to each of the target devices; wherein the configuration item category corresponding to the target device refers to the configuration item category that has a mapping relationship with the target asset management category to which the target device belongs.

[0013] Optionally, in the method for creating a configuration management object provided above, after using the asset instance information corresponding to each of the target devices to create a configuration object instance under the configuration item category corresponding to each of the target devices, the method further includes:

[0014] For each of the target devices, obtaining relevant attributes of the target device from the target device and / or an upstream system of the target device;

[0015] Synchronize the relevant attributes of the target device to the configuration object instance corresponding to the target device.

[0016] Optionally, in the method for creating a configuration management object provided above, before synchronizing the relevant attributes of the target device to the configuration object instance corresponding to the target device, the method further includes:

[0017] Matching the relevant attributes of the target device with the asset instance information of the configuration object instance corresponding to the target device;

[0018] If the relevant attributes of the target device match the asset instance information of the configuration object instance corresponding to the target device, synchronizing the relevant attributes of the target device to the configuration object instance corresponding to the target device is performed;

[0019] If the relevant attributes of the target device do not match the asset instance information of the configuration object instance corresponding to the target device, problem information corresponding to the configuration object instance is generated based on the matching result and fed back.

[0020] Optionally, in the method for creating a configuration management object provided above, matching the relevant attributes of the target device with the asset instance information of the configuration object instance corresponding to the target device includes:

[0021] Match the relevant attributes of the target device with each keyword information in the asset instance information of the configuration object instance corresponding to the target device; wherein, if the relevant attributes of the target device match each keyword information in the asset instance information of the configuration object instance corresponding to the target device, it is determined that the relevant attributes of the target device match the asset instance information of the configuration object instance corresponding to the target device; if the relevant attributes of the target device do not match any one of the keyword information in the asset instance information of the configuration object instance corresponding to the target device, the relevant attributes of the target device do not match the asset instance information of the configuration object instance corresponding to the target device.

[0022] Optionally, in the method for creating a configuration management object provided above, the step of screening out each target device from the devices under each target asset management category based on the correspondence between the device attributes in the asset management system and the status in the configuration management system includes:

[0023] For each of the devices under each of the target asset management categories, determine whether the device attribute of the device is a predetermined target state in the configuration management system corresponding to the target asset management category; wherein the target state in the configuration management system corresponding to the target asset management category is used to characterize the state of the device processing collectible information under the target asset management category;

[0024] If the device attribute of the device is a target state in the configuration management system corresponding to the predetermined target asset management classification, the device is determined as the target device.

[0025] A second aspect of the present application provides a device for creating a configuration management object, including:

[0026] A category determination unit, used to determine each target asset management category from each asset management category of the asset management system; wherein the target asset management category refers to the asset management category consistent with the configuration item category of the configuration management system;

[0027] A mapping unit, used to establish a mapping relationship between each of the target asset management categories and the corresponding configuration item categories;

[0028] A screening unit, configured to screen out each target device from the devices under each target asset management category based on the correspondence between the device attributes in the asset management system and the status in the configuration management system; wherein the target device is a device in a state where information can be collected;

[0029] A collection unit, used for collecting asset instance information corresponding to each of the target devices from the configuration management system;

[0030] A creation unit is used to use the asset instance information corresponding to each of the target devices to create a configuration object instance under the configuration item category corresponding to each of the target devices; wherein the configuration item category corresponding to the target device refers to the configuration item category that has a mapping relationship with the target asset management category to which the target device belongs.

[0031] Optionally, in the device for creating the configuration management object provided above, it also includes:

[0032] An attribute acquisition unit, configured to acquire, for each of the target devices, relevant attributes of the target device from the target device and / or an upstream system of the target device;

[0033] A synchronization unit is used to synchronize the relevant attributes of the target device to the configuration object instance corresponding to the target device.

[0034] Optionally, in the device for creating the configuration management object provided above, it also includes:

[0035] a matching unit, configured to match the relevant attributes of the target device with the asset instance information of the configuration object instance corresponding to the target device; wherein, if the relevant attributes of the target device match the asset instance information of the configuration object instance corresponding to the target device, the synchronization unit executes the synchronization of the relevant attributes of the target device to the configuration object instance corresponding to the target device;

[0036] A generating unit is used to generate and feed back problem information corresponding to the configuration object instance based on a matching result if the relevant attributes of the target device do not match the asset instance information of the configuration object instance corresponding to the target device.

[0037] Optionally, in the device for creating a configuration management object provided above, the matching unit includes:

[0038] A matching subunit is used to match the relevant attributes of the target device with each keyword information in the asset instance information of the configuration object instance corresponding to the target device; wherein, if the relevant attributes of the target device match each keyword information in the asset instance information of the configuration object instance corresponding to the target device, it is determined that the relevant attributes of the target device match the asset instance information of the configuration object instance corresponding to the target device; if the relevant attributes of the target device do not match any one of the keyword information in the asset instance information of the configuration object instance corresponding to the target device, the relevant attributes of the target device do not match the asset instance information of the configuration object instance corresponding to the target device.

[0039] Optionally, in the device for creating a configuration management object provided above, the screening unit includes:

[0040] A judgment unit is used to judge, for each of the devices under each of the target asset management categories, whether the device attribute of the device is a predetermined target state in the configuration management system corresponding to the target asset management category; wherein the target state in the configuration management system corresponding to the target asset management category is used to characterize the state of the device under the target asset management category processing collectible information;

[0041] The target device determining unit is used to determine the device as the target device when the device attribute of the device is a target state in the configuration management system corresponding to the predetermined target asset management classification.

[0042] A third aspect of the present application provides an electronic device, including:

[0043] Memory and processor;

[0044] Wherein, the memory is used to store programs;

[0045] The processor is used to execute the program. When the program is executed, it is specifically used to implement the method for creating a configuration management object as described in any one of the above.

[0046] A fourth aspect of the present application provides a computer storage medium, characterized in that it is used to store a computer program, and when the computer program is executed, it is used to implement the method for creating a configuration management object as described in any one of the above.

[0047] The present application provides a method for creating a configuration management object, which creates a configuration management object with the assets associated with the asset management system as a baseline. Therefore, the method first determines each target asset management category from each asset management category of the asset management system. Among them, the target asset management category refers to the asset management category that is consistent with the configuration item category of the configuration management system, and realizes the mapping of the categories of the two systems. Then, each target asset management category is respectively mapped with the consistent configuration item category, and based on the corresponding relationship between the device attributes in the asset management system and the status in the configuration management system, each target device is screened out from the devices under each target asset management category. Among them, the target device is a device in a state where information can be collected, that is, the device that can be configured for collection is screened out. Therefore, the asset instance information corresponding to each target device can be collected from the configuration management system, and the asset instance information corresponding to each target device is used to create a configuration object instance under the configuration item category corresponding to each target device. Among them, the configuration item category corresponding to the target device refers to the configuration item category that has a mapping relationship with the target asset management category to which the target device belongs. Thus, a method for creating a configuration management object with the assets associated with the asset management system as a baseline is realized, which effectively ensures the coverage of the configuration management object and improves the creation efficiency of the configuration management object. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0049] Figure 1 A flowchart of a method for creating a configuration management object provided in an embodiment of the present application;

[0050] Figure 2 A flowchart of a method for screening target devices provided in an embodiment of the present application;

[0051] Figure 3 A flowchart of another method for creating a configuration management object provided in another embodiment of the present application;

[0052] Figure 4 A schematic diagram of the structure of a device for creating a configuration management object provided by another embodiment of the present application;

[0053] Figure 5 A schematic diagram of the structure of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only 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.

[0055] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0056] The present application embodiment provides a method for creating a configuration management object, such as Figure 1 As shown, the following steps are included:

[0057] S101. Determine each target asset management category from each asset management category of the asset management system, where the target asset management category refers to an asset management category that is consistent with a configuration item category of the configuration management system.

[0058] It should be noted that the asset management system refers to the IT asset management system. Currently, most companies with IT assets use this system for IT asset management. The asset management system is a comprehensive asset management system that monitors assets based on IT equipment. It records information such as purchase price, depreciation, business unit, and location.

[0059] It can be seen that the configuration management system and the asset management system are two different systems. However, the two are related to each other. The configuration management system focuses on the management of production objects in the data center. Among them, hardware production objects such as servers, storage devices, network devices, and security devices are all management objects of the configuration management system. The asset management system focuses on asset management of equipment. Among them, the hardware equipment of the data center is included. Since the asset life cycle of hardware equipment is relatively long and the frequency of information changes is low, the equipment managed by the asset management system is used as the baseline for configuration management objects in the embodiment of the present application.

[0060] In an asset management system, multiple asset management categories are set up according to the device type for ease of management. Similarly, multiple configuration item categories are also set up in a configuration management system. Since there are many asset management categories, not all categories are within the management scope of the configuration management system, and this application needs to create configuration management objects in the configuration management system based on the asset management system, so it is necessary to first align the management scopes of the two, that is, to find out the categories that belong to both the asset management category and the configuration management category. For example, network switches, rack servers, etc.

[0061] Therefore, in the embodiment of the present application, consistent asset management classification and configuration item classification refer to classifications associated with the same type of equipment.

[0062] S102: Establish mapping relationships between each target asset management classification and the corresponding configuration item classification.

[0063] Optionally, a mapping relationship between each target asset management category and its corresponding configuration item category can be established and maintained through a table or the like, so that based on the mapping relationship between the two, instances under the target asset management category can be placed under the corresponding configuration item category as instances, and then configuration collection can be performed.

[0064] S103: Filter out each target device from the devices under each target asset management category based on the correspondence between the device attributes in the asset management system and the status in the configuration management system.

[0065] The target device is a device that is in a state where information can be collected.

[0066] It should be noted that not all devices under the target asset management category can be configured for collection, so you need to first filter out the devices that can be configured for collection.

[0067] Since the status of the equipment in the configuration management system can be used to determine whether the equipment market is in a state where information can be collected, and there is a certain correspondence between the status in the configuration management system and the equipment attributes in the basic management system, the relevant attributes of the assets in the asset management system can be analyzed to determine which attributes correspond to the status in the configuration management system where information can be collected. Then, the target equipment is filtered out based on these attributes. For example, if the physical asset status of the server is "powered on", it means that the device has been put into use and configuration collection can be performed. For another example, if the physical asset status of the server is in inventory, the configuration management system can only obtain its static asset attributes through the upstream system, but there is no need to perform configuration collection in the running state.

[0068] So specifically, Figure 2 As shown, a specific implementation of step S103 includes:

[0069] S201. For each device under each target asset management category, determine whether the device attribute of the device is a target state in the configuration management system corresponding to the predetermined target asset management category.

[0070] The target state in the configuration management system corresponding to the target asset management category is used to characterize the state of the equipment processing the collectible information under the target asset management category. Specifically, the attributes of the assets in the asset management system can be analyzed in advance to clarify which attributes correspond to the target state of the configuration management system.

[0071] It should be noted that if it is determined that the device attribute of the device is a target state in the configuration management system corresponding to a predetermined target asset management classification, step S302 is executed.

[0072] S202: Determine the device as a target device.

[0073] S104: Collect asset instance information corresponding to each target device from the configuration management system.

[0074] Among them, asset instance information refers to the information required to create a configuration object instance, which can be set according to needs.

[0075] S105 . Using the asset instance information corresponding to each target device, create a configuration object instance under the configuration item category corresponding to each target device.

[0076] The configuration item category corresponding to the target device refers to a configuration item category that has a mapping relationship with the target asset management category to which the target device belongs.

[0077] Specifically, the asset instance information corresponding to the target device may be directly used as the configuration item category corresponding to the target device to create a configuration object instance.

[0078] The embodiment of the present application provides a method for creating a configuration management object, which creates a configuration management object with the assets associated with the asset management system as a baseline, so the method first determines each target asset management category from each asset management category of the asset management system. Among them, the target asset management category refers to the asset management category that is consistent with the configuration item category of the configuration management system, and realizes the mapping of the categories of the two systems. Then, each target asset management category is respectively mapped with the consistent configuration item category, and based on the corresponding relationship between the device attributes in the asset management system and the status in the configuration management system, each target device is screened out from the devices under each target asset management category. Among them, the target device is a device in a state where information can be collected, that is, the device that can be configured is screened out. Therefore, the asset instance information corresponding to each target device can be collected from the configuration management system, and the asset instance information corresponding to each target device is used to create a configuration object instance under the configuration item category corresponding to each target device. Among them, the configuration item category corresponding to the target device refers to the configuration item category that has a mapping relationship with the target asset management category to which the target device belongs. Thereby, a method for creating configuration management objects using the assets associated with the asset management system as a baseline is realized, which effectively ensures the coverage of configuration management objects and improves the efficiency of creating configuration management objects.

[0079] Another embodiment of the present application provides another method for creating a configuration management object, such as Figure 3 As shown, the following steps are included:

[0080] S301. Determine each target asset management category from each asset management category of the asset management system.

[0081] The target asset management classification refers to the asset management classification that is consistent with the configuration item classification of the configuration management system.

[0082] It should be noted that the specific implementation of step S301 may refer to step S101 in the above method embodiment, and will not be described in detail here.

[0083] S302: Establish mapping relationships between each target asset management classification and the corresponding configuration item classification.

[0084] It should be noted that the specific implementation of step S302 may refer to step S102 in the above method embodiment, and will not be described in detail here.

[0085] S303: For each device under each target asset management category, determine whether the device attribute of the device is in the target state.

[0086] The target state is the state in the configuration management system corresponding to the predetermined target asset management category. The target state in the configuration management system corresponding to the target asset management category is used to characterize the state of the equipment under the target asset management category processing the collectable information, so the target equipment refers to the equipment in the state of collecting information.

[0087] If it is determined that the device attribute of the device is the target state in the configuration management system corresponding to the predetermined target asset management classification, step S304 is executed.

[0088] It should be noted that the specific implementation of step S303 may refer to step S201 in the above method embodiment, and will not be described in detail here.

[0089] S304: Determine the device as a target device.

[0090] S305: Collect asset instance information corresponding to each target device from the configuration management system.

[0091] S306: Using the asset instance information corresponding to each target device, create a configuration object instance under the configuration item category corresponding to each target device.

[0092] The configuration item category corresponding to the target device refers to a configuration item category that has a mapping relationship with the target asset management category to which the target device belongs.

[0093] It should be noted that the specific implementation of step S306 may refer to step S105 in the above method embodiment, and will not be described in detail here.

[0094] S307 . For each target device, obtain relevant attributes of the target device from the target device and / or an upstream system of the target device.

[0095] The related attributes refer to the attributes required when associating the configuration management object corresponding to the target device. Specifically, they can be analyzed and set according to the requirements.

[0096] It should be noted that the configuration object instance is generated based on the asset data, which actually forms an instance list. The attribute information contained is relatively small and incomplete, usually only including basic information such as serial number, IP address, host name, etc. Therefore, in the embodiment of the present application, the relevant attributes of the target device are further collected and then synchronized to the corresponding configuration object instance.

[0097] Since some of the attribute information of the target device can be collected from the target device, and the target device can be collected from its upstream system, or some of the attribute information of the target device needs to be collected from the target device, and some of the attribute information needs to be collected from the upstream system, the relevant attributes of the target device are obtained from the target device and / or the upstream system of the target device according to the characteristics of each target device.

[0098] S308: Match the relevant attributes of the target device with the asset instance information of the configuration object instance corresponding to the target device.

[0099] The configuration object instance corresponding to the target device refers to a configuration object instance created based on the asset instance information corresponding to the target device.

[0100] In order to avoid errors in the information synchronized to the configuration object instance, it is necessary to match the relevant attributes of the target device with the asset instance information of the configuration object instance corresponding to the target device to obtain a matching result.

[0101] Specifically, a specific implementation of step S308 includes:

[0102] The relevant attributes of the target device are matched with each keyword information in the asset instance information of the configuration object instance corresponding to the target device.

[0103] The asset instance information of the configuration object instance refers to the asset instance information based on which the configuration object instance is created.

[0104] Among them, if the relevant attributes of the target device match all the keyword information in the asset instance information of the configuration object instance corresponding to the target device, it is determined that the relevant attributes of the target device match the asset instance information of the configuration object instance corresponding to the target device; if the relevant attributes of the target device do not match any of the keyword information in the asset instance information of the configuration object instance corresponding to the target device, the relevant attributes of the target device do not match the asset instance information of the configuration object instance corresponding to the target device.

[0105] Among them, keyword information refers to some key information included in the asset instance information of the configuration object instance, such as serial number, IP address, host name, etc., which can be used to distinguish the attribute information of different devices, thereby avoiding errors in the synchronization of related attributes.

[0106] S309: Determine whether the relevant attributes of the target device match the asset instance information of the configuration object instance successfully.

[0107] Specifically, according to the matching result, it is determined whether the relevant attributes of the target device and the asset instance information of the configuration object instance are matched successfully. If the match is successful, step S301 is executed. If the match fails, step S311 is executed.

[0108] S310: Synchronize the relevant attributes of the target device to the configuration object instance corresponding to the target device.

[0109] S311. Generate and feed back problem information corresponding to the configuration object instance based on the matching result.

[0110] The generated problem information at least includes the cause of the problem so that the staff can perform maintenance in time.

[0111] Optionally, the problem information corresponding to all configuration object instances that fail to match can be uniformly generated into a problem list, and then uniformly fed back so that the staff can uniformly handle it.

[0112] Another embodiment of the present application provides a device for creating a configuration management object, such as Figure 4 As shown, including:

[0113] The category determination unit 401 is used to determine each target asset management category from each asset management category of the asset management system.

[0114] The target asset management classification refers to the asset management classification that is consistent with the configuration item classification of the configuration management system.

[0115] The mapping unit 402 is used to establish a mapping relationship between each target asset management category and a corresponding configuration item category.

[0116] The screening unit 403 is used to screen out each target device from the devices under each target asset management category based on the correspondence between the device attributes in the asset management system and the status in the configuration management system.

[0117] The target device is a device that is in a state where information can be collected.

[0118] The collection unit 404 is used to collect asset instance information corresponding to each target device from the configuration management system.

[0119] The creation unit 405 is used to create configuration object instances under the configuration item categories corresponding to the respective target devices by using the asset instance information corresponding to the respective target devices.

[0120] The configuration item category corresponding to the target device refers to a configuration item category that has a mapping relationship with the target asset management category to which the target device belongs.

[0121] Optionally, in the device for creating a configuration management object provided in another embodiment of the present application, the device further includes:

[0122] The attribute acquisition unit is used to acquire, for each target device, relevant attributes of the target device from the target device and / or an upstream system of the target device.

[0123] The synchronization unit is used to synchronize the relevant attributes of the target device to the configuration object instance corresponding to the target device.

[0124] Optionally, in the device for creating a configuration management object provided in another embodiment of the present application, the device further includes:

[0125] The matching unit is used to match the relevant attributes of the target device with the asset instance information of the configuration object instance corresponding to the target device. If the relevant attributes of the target device match the asset instance information of the configuration object instance corresponding to the target device, the synchronization unit executes synchronization of the relevant attributes of the target device to the configuration object instance corresponding to the target device.

[0126] The generating unit is used to generate and feed back problem information corresponding to the configuration object instance based on the matching result if the relevant attributes of the target device do not match the asset instance information of the configuration object instance corresponding to the target device.

[0127] Optionally, in the device for creating a configuration management object provided in another embodiment of the present application, the matching unit includes:

[0128] The matching subunit is used to match the relevant attributes of the target device with each keyword information in the asset instance information of the configuration object instance corresponding to the target device. If the relevant attributes of the target device match each keyword information in the asset instance information of the configuration object instance corresponding to the target device, it is determined that the relevant attributes of the target device match the asset instance information of the configuration object instance corresponding to the target device. If the relevant attributes of the target device do not match any keyword information in the asset instance information of the configuration object instance corresponding to the target device, the relevant attributes of the target device do not match the asset instance information of the configuration object instance corresponding to the target device.

[0129] Optionally, in the device for creating a configuration management object provided in another embodiment of the present application, the screening unit includes:

[0130] The judgment unit is used to judge, for each device under each target asset management category, whether the device attribute of the device is a target state in the configuration management system corresponding to the predetermined target asset management category. The target state in the configuration management system corresponding to the target asset management category is used to characterize the state of the device under the target asset management category processing the collectible information.

[0131] The target device determination unit is used to determine the device as a target device when the device attribute of the device is a target state in the configuration management system corresponding to a predetermined target asset management classification.

[0132] Another embodiment of the present application provides an electronic device, such as Figure 5 As shown, including:

[0133] Memory 501 and processor 502 .

[0134] The memory 501 is used to store programs.

[0135] The processor 502 is used to execute the program in the memory 501. When the program is executed, it is specifically used to implement the method for creating a configuration management object in any one of the above embodiments.

[0136] A fourth aspect of the present application provides a computer storage medium, characterized in that it is used to store a computer program, which, when executed, is used to implement the method for creating a configuration management object provided in any one of the above embodiments.

[0137] Computer storage media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0138] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0139] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for creating a configuration management object, It is characterized in that include: Determine each target asset management category from each asset management category of the asset management system; wherein the target asset management category refers to the asset management category that is consistent with the configuration item category of the configuration management system; consistent asset management categories and configuration item categories refer to categories associated with the same type of equipment; Establishing mapping relationships between each of the target asset management categories and the corresponding configuration item categories respectively; Based on the correspondence between the device attributes in the asset management system and the status in the configuration management system, each target device is screened out from the devices under each target asset management category; wherein the target device is a device in a state where information can be collected; Collecting asset instance information corresponding to each of the target devices from the configuration management system; Using the asset instance information corresponding to each of the target devices, create a configuration object instance under the configuration item category corresponding to each of the target devices; wherein the configuration item category corresponding to the target device refers to the configuration item category that has a mapping relationship with the target asset management category to which the target device belongs; The method of selecting each target device from the devices under each target asset management category based on the corresponding relationship between the device attributes in the asset management system and the status in the configuration management system includes: For each of the devices under each of the target asset management categories, determine whether the device attribute of the device is a predetermined target state in the configuration management system corresponding to the target asset management category; wherein the target state in the configuration management system corresponding to the target asset management category is used to characterize the state of the device processing collectible information under the target asset management category; If the device attribute of the device is a target state in the configuration management system corresponding to the predetermined target asset management classification, the device is determined as the target device.

2. The method according to claim 1, It is characterized in that After using the asset instance information corresponding to each of the target devices to create a configuration object instance under the configuration item category corresponding to each of the target devices, the method further includes: For each of the target devices, obtaining relevant attributes of the target device from the target device and / or an upstream system of the target device; Synchronize the relevant attributes of the target device to the configuration object instance corresponding to the target device.

3. The method according to claim 2, It is characterized in that Before synchronizing the relevant attributes of the target device to the configuration object instance corresponding to the target device, the method further includes: Matching the relevant attributes of the target device with the asset instance information of the configuration object instance corresponding to the target device; If the relevant attributes of the target device match the asset instance information of the configuration object instance corresponding to the target device, synchronizing the relevant attributes of the target device to the configuration object instance corresponding to the target device is performed; If the relevant attributes of the target device do not match the asset instance information of the configuration object instance corresponding to the target device, problem information corresponding to the configuration object instance is generated based on the matching result and fed back.

4. The method according to claim 3, It is characterized in that The matching of the relevant attributes of the target device with the asset instance information of the configuration object instance corresponding to the target device includes: Match the relevant attributes of the target device with each keyword information in the asset instance information of the configuration object instance corresponding to the target device; wherein, if the relevant attributes of the target device match each keyword information in the asset instance information of the configuration object instance corresponding to the target device, it is determined that the relevant attributes of the target device match the asset instance information of the configuration object instance corresponding to the target device; if the relevant attributes of the target device do not match any one of the keyword information in the asset instance information of the configuration object instance corresponding to the target device, the relevant attributes of the target device do not match the asset instance information of the configuration object instance corresponding to the target device.

5. A device for creating a configuration management object, It is characterized in that include: A category determination unit, used to determine each target asset management category from each asset management category of the asset management system; wherein the target asset management category refers to the asset management category that is consistent with the configuration item category of the configuration management system; consistent asset management categories and configuration item categories refer to categories associated with the same type of equipment; A mapping unit, used to establish a mapping relationship between each of the target asset management categories and the corresponding configuration item categories; A screening unit, configured to screen out each target device from the devices under each target asset management category based on the correspondence between the device attributes in the asset management system and the status in the configuration management system; wherein the target device is a device in a state where information can be collected; A collection unit, used for collecting asset instance information corresponding to each of the target devices from the configuration management system; A creation unit, configured to create a configuration object instance under the configuration item category corresponding to each of the target devices, using the asset instance information corresponding to each of the target devices; wherein the configuration item category corresponding to the target device refers to the configuration item category that has a mapping relationship established with the target asset management category to which the target device belongs; Wherein, the screening unit comprises: A judgment unit is used to judge, for each of the devices under each of the target asset management categories, whether the device attribute of the device is a predetermined target state in the configuration management system corresponding to the target asset management category; wherein the target state in the configuration management system corresponding to the target asset management category is used to characterize the state of the device under the target asset management category processing collectible information; The target device determining unit is configured to determine the device as the target device if the device attribute of the device is a target state in the configuration management system corresponding to the predetermined target asset management classification.

6. The device according to claim 5, It is characterized in that Also includes: An attribute acquisition unit, configured to acquire, for each of the target devices, relevant attributes of the target device from the target device and / or an upstream system of the target device; A synchronization unit is used to synchronize the relevant attributes of the target device to the configuration object instance corresponding to the target device.

7. The device according to claim 6, It is characterized in that Also includes: a matching unit, configured to match the relevant attributes of the target device with the asset instance information of the configuration object instance corresponding to the target device; wherein, if the relevant attributes of the target device match the asset instance information of the configuration object instance corresponding to the target device, the synchronization unit executes the synchronization of the relevant attributes of the target device to the configuration object instance corresponding to the target device; A generating unit is used to generate and feed back problem information corresponding to the configuration object instance based on a matching result if the relevant attributes of the target device do not match the asset instance information of the configuration object instance corresponding to the target device.

8. An electronic device, It is characterized in that include: Memory and processor; Wherein, the memory is used to store programs; The processor is used to execute the program, and when the program is executed, it is specifically used to implement the method for creating a configuration management object as described in any one of claims 1 to 4.

9. A computer storage medium, It is characterized in that Used to store a computer program, which, when executed, is used to implement the method for creating a configuration management object as described in any one of claims 1 to 4.