CN115186021A - Configuration management database generation method and device - Google Patents

Configuration management database generation method and device Download PDF

Info

Publication number
CN115186021A
CN115186021A CN202210856877.5A CN202210856877A CN115186021A CN 115186021 A CN115186021 A CN 115186021A CN 202210856877 A CN202210856877 A CN 202210856877A CN 115186021 A CN115186021 A CN 115186021A
Authority
CN
China
Prior art keywords
data
resource
management database
configuration management
microservice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210856877.5A
Other languages
Chinese (zh)
Inventor
章义杨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210856877.5A priority Critical patent/CN115186021A/en
Publication of CN115186021A publication Critical patent/CN115186021A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention provides a method and a device for generating a configuration management database, which relate to the technical field of distribution and comprise the following steps: acquiring resource data; the resource data at least comprises host resources, process resources and universal object resources; generating basic interface data by using a whale platform; packaging the resource data and the basic interface data according to an application scene to obtain a plurality of packaging results; determining interface layer data of a configuration management database according to a plurality of packaging results; front-end data of the configuration management database is determined from the interface layer data. The invention is based on the basic atomic interface service provided by the open-source whale platform, and is packaged according to the application scene, so that a configuration management database which can be used by a distributed technical architecture is quickly constructed by taking the application as the center.

Description

Configuration management database generation method and device
Technical Field
The present invention relates to the field of distributed technologies, and in particular, to a method and an apparatus for generating a configuration management database.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
A Configuration Management Database (CMDB) is a repository of information related to all components of an information system, is an authorized configuration that represents important components of an IT environment, and is used primarily to record relationships between components and track their configuration. Along with the construction of the bank enterprise-level architecture, a set of unified configuration management database in the bank is required as a configuration base of the distributed technology architecture. At present, no more optimal configuration management database generation method is proposed.
Disclosure of Invention
The invention provides a configuration management database generation method and device, which can be used for simply and quickly establishing a set of CMDB for a distributed technical architecture based on the functions of an open-source whale platform.
In a first aspect, an embodiment of the present invention provides a method for generating a configuration management database, where the method includes:
acquiring resource data; the resource data at least comprises host resources, process resources and universal object resources;
generating basic interface data by using a whale platform;
packaging the resource data and the basic interface data according to an application scene to obtain a plurality of packaging results;
determining interface layer data of a configuration management database according to the plurality of packaging results;
and determining front-end data of the configuration management database according to the interface layer data.
In a second aspect, an embodiment of the present invention further provides a device for generating a configuration management database, where the device includes:
the resource module is used for acquiring resource data; the resource data at least comprises a host resource, a process resource and a universal object resource;
the interface module is used for generating basic interface data by using a whale platform;
the encapsulation module is used for encapsulating the resource data and the basic interface data according to an application scene to obtain a plurality of encapsulation results;
and the determining module is used for determining the application programming interface information of the configuration management database according to the plurality of packaging results.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the configuration management database generation method when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the above configuration management database generation method is stored in the computer-readable storage medium.
In a fifth aspect, an embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements the configuration management database generation method described above.
The embodiment of the invention brings the following beneficial effects: the embodiment of the invention provides a method and a device for generating a configuration management database, wherein the method comprises the following steps: acquiring resource data; the resource data at least comprises host resources, process resources and universal object resources; generating basic interface data by using a whale platform; packaging the resource data and the basic interface data according to an application scene to obtain a plurality of packaging results; determining interface layer data of a configuration management database according to the plurality of packaging results; front-end data of the configuration management database is determined from the interface layer data. The embodiment of the invention is based on the basic atomic interface service provided by the open-source whale platform, and the atomic interface service is packaged according to the application scene, so that a configuration management database which can be used by a distributed technical architecture is quickly constructed by taking the application as the center.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts. In the drawings:
fig. 1 is a flowchart of a configuration management database generation method according to an embodiment of the present invention;
fig. 2 is a block diagram of a configuration management database generation apparatus according to an embodiment of the present invention;
fig. 3 is a block diagram of another configuration management database generation apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram of another configuration management database generation apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a system configuration of a computer device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, CMDB constructed based on an open source blue whale platform can provide better service experience for upper-layer application only through basic atomic interface service and independent packaging.
Based on this, according to the configuration management database generation method and device provided by the embodiment of the invention, a configuration management database which can be used by a distributed technical architecture is quickly constructed through an open-source whale platform, and is used as a basis for technical architecture construction and operation and maintenance.
To facilitate understanding of the present embodiment, a detailed description is first given of a configuration management database generation method disclosed in the present embodiment.
The embodiment of the invention provides a method for generating a configuration management database, which is shown in a flow chart of the method for generating the configuration management database in figure 1 and comprises the following steps:
step S102, acquiring resource data.
In an embodiment of the present invention, the resource data includes at least a host resource, a process resource, and a generic object resource. The host resources are used for setting and managing the host. The process resources are used for setting and managing. The universal object resource is used for setting and managing the universal object resource.
The resource data is stored in the resource layer in advance. The resource layer is used for providing resource storage, message queues and cache system services required by the system.
And step S104, generating basic interface data by using the whale platform.
In the embodiment of the invention, the whale platform is an open source project, and the platform can provide basic atomic interface services.
And step S106, packaging the resource data and the basic interface data according to the application scene to obtain a plurality of packaging results.
In the embodiment of the invention, different interface services may need to be called in different application scenarios, and multiple basic interface services may be called in the same application scenario, and the multiple basic interface services and related resource data are encapsulated to obtain an encapsulation result. Different encapsulation results can be applied to different application scenarios.
And step S108, generating interface layer data of the configuration management database according to the plurality of packaging results.
In the embodiment of the invention, after the encapsulation is finished, the interface layer data is generated again, and the interface layer is an API service gateway of the system.
Step S110, generating front-end data of the configuration management database according to the interface layer data.
In the embodiment of the invention, the web layer and the front-end layer are web services provided by the system. Through a web service interface provided by the configuration platform, a user can operate the resource. After determining the data of the interface layer, front-end data of the front-end layer is generated.
The embodiment of the invention provides a method and a device for generating a configuration management database, wherein the method comprises the following steps: acquiring resource data; the resource data at least comprises host resources, process resources and universal object resources; generating basic interface data by using a whale platform; packaging the resource data and the basic interface data according to an application scene to obtain a plurality of packaging results; determining interface layer data of a configuration management database according to a plurality of packaging results; front-end data of the configuration management database is determined from the interface layer data. The embodiment of the invention is based on the basic atomic interface service provided by the open-source whale platform, and the atomic interface service is packaged according to the application scene, so that a configuration management database which can be used by a distributed technical architecture is quickly constructed by taking the application as the center.
In one embodiment, each type of resource data is managed by a type of microservice process.
In the embodiment of the invention, the management of the resource data can be carried out by utilizing the micro service. In a configuration platform, resource types can be abstracted, the resources are divided into three categories of a host, a process and a general object at present, horizontal extension is supported, and each category of resources is managed by one category of micro-service processes.
In one embodiment, the encapsulated result includes at least one or more of the following microservices:
the system comprises a data processing microservice, an event subscription and push microservice, a system process microservice, a topology model microservice, a host data microservice and a system snapshot microservice.
In the embodiment of the invention, a data processing micro service (admin service) is responsible for configuration refreshing of a system, initialization data writing and other operations; the event subscription and push micro service (event service) is responsible for the event subscription and push service of the system; a system process micro service (process), a topology model micro service (topo) and a host data micro service (host) are respectively responsible for the use scenes of the system process, the topology model and the host data; the system snapshot micro service (datacollection) service is responsible for receiving and writing system snapshot data.
In one embodiment, further comprising:
updating or writing back the resource data.
In the embodiment of the invention, the resource data can be added, deleted, changed and checked.
In one embodiment, before acquiring the resource data, the following steps may be further performed:
acquiring a data model structure; the data model structure is determined based on the relationship between the application scene, the data object, the application system and the application component; the resource data is stored in accordance with a data model structure.
In the embodiment of the invention, according to the characteristics of the technical architecture, the relationship between the underlying system and the upper application component is analyzed, and a proper CMDB data model structure is designed. And storing the resource data according to the data model structure.
It should be noted that the data object may be some resource data, and the application scene and the data object are analyzed in advance to establish an association relationship between the CMDB data model and the data object. And storing the resource data according to the data model structure, wherein the finally obtained data model structure comprises the incidence relation among the application scene, the data object, the application system and the application component.
The embodiment of the invention provides a configuration management database generation device, which can realize that based on a generated configuration management database:
1. topological host management: host basic attribute, host snapshot data and host attribution relationship management;
2. organizing architecture management: extensible business-based organizational architecture management;
3. model management: the method can manage built-in models such as services, clusters and hosts, and can also customize the models;
4. and (3) process management: module-based host process management;
5. event registration and pushing: event registration and pushing based on a callback mode are provided;
6. and (3) universal authority management: flexible user group-based rights management;
7. operation audit: and auditing and backtracking the operation behavior of the user.
The configuration management database includes:
1. resource layer (store): and provides resource storage, message queues and cache system services required by the system.
2. Service layer (service layer): the service layer is divided into two major modules:
a. a resource management module:
resource types are abstracted in a configuration platform, are divided into three categories of a host, a process and a general object at present, support horizontal extension, and each category of resources is managed by one category of micro-service processes.
b. A service scene module:
the business scene module is used for encapsulating the application scene based on the atomic interface of the resource management module.
Based on the relevance of operation, some micro services such as admin, event0, host, topo, process and datacollection are currently divided:
the admin service is responsible for configuration refreshing of the system, initialization data writing and other operations;
the event service is responsible for event subscription and push service of the system;
the process, the topo and the host are respectively responsible for the use scenes of the system process, the topology model and the host data;
the datacoloction service is responsible for receiving and writing system snapshot data.
3. Interface layer (api): the api service gateway of the system.
Web layer (web): the web layer is a web service provided by the system. Through a web service interface provided by the configuration platform, a user can operate the resource.
The embodiment of the invention also provides a device for generating the configuration management database, which is described in the following embodiment. Because the principle of the device for solving the problems is similar to the method for generating the configuration management database, the implementation of the device can refer to the implementation of the method for generating the configuration management database, and repeated details are not repeated. Referring to fig. 2, a block diagram of a configuration management database generation apparatus includes:
a resource module 21, configured to obtain resource data; the resource data at least comprises host resources, process resources and universal object resources; an interface module 22, configured to generate basic interface data by using a whale platform; the encapsulation module 23 is configured to encapsulate the resource data and the basic interface data according to an application scenario to obtain a plurality of encapsulation results; a first generating module 24, configured to generate interface layer data of the configuration management database according to the multiple encapsulation results; and a second generating module 25, configured to generate front-end data of the configuration management database according to the interface layer data.
In one embodiment, each type of resource data is managed by a type of microservice process.
In one embodiment, the encapsulated result includes at least one or more of the following microservices: the system comprises a data processing microservice, an event subscription and push microservice, a system process microservice, a topology model microservice, a host data microservice and a system snapshot microservice.
In an embodiment, referring to a block diagram of another configuration management database generation apparatus shown in fig. 3, the apparatus further includes a resource management module 26, configured to: resource data is updated or written back.
In one embodiment, referring to the block diagram of the configuration management database generation apparatus shown in fig. 4, the apparatus further includes a storage module 27 for: acquiring a data model structure; the data model structure is determined based on the relationship between the application scene, the data object, the application system and the application component; the resource data is stored in accordance with a data model structure.
Based on the same inventive concept, the embodiment of the present invention further provides an embodiment of a computer device for implementing all or part of the content in the configuration management database generation method. The computer device specifically comprises the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between related devices; the computer device may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the computer device may refer to an embodiment for implementing the method for generating a configuration management database and an embodiment for implementing the apparatus for generating a configuration management database in the embodiments, and the contents of the embodiments are incorporated herein, and repeated descriptions are omitted.
Fig. 5 is a schematic diagram of a system configuration of a computer device according to an embodiment of the present invention. As shown in fig. 5, the computer device 70 may include a processor 701 and a memory 702; a memory 702 is coupled to the processor 701. Notably, this FIG. 5 is exemplary; other types of structures may also be used in addition to or in place of the structures to implement telecommunications or other functions.
In one embodiment, the functions implemented by the configuration management database generation method may be integrated into the processor 701. Wherein, the processor 701 may be configured to control as follows:
acquiring resource data; the resource data at least comprises host resources, process resources and universal object resources; generating basic interface data by using a whale platform; packaging the resource data and the basic interface data according to an application scene to obtain a plurality of packaging results; determining interface layer data of a configuration management database according to a plurality of packaging results; front-end data of the configuration management database is determined from the interface layer data.
As can be seen from the above, the computer device provided in the embodiment of the present invention is packaged according to an application scenario based on the atomic interface service provided by the open-source whale platform, so that an application-centric configuration management database that can be used by a distributed technology architecture is quickly constructed.
In another embodiment, the configuration management database generation apparatus may be configured separately from the processor 701, for example, the configuration management database generation apparatus may be configured as a chip connected to the processor 701, and the function of the configuration management database generation method may be implemented by the control of the processor.
As shown in fig. 5, the computer device 70 may further include: a communication module 703, an input unit 704, an audio processing unit 705, a display 706, and a power supply 707. It is noted that the computer device 70 does not necessarily include all of the components shown in fig. 5; furthermore, the computer device 70 may also comprise components not shown in fig. 5, as can be seen from the prior art.
As shown in FIG. 5, processor 701, also sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, and the processor 701 receives input and controls the operation of the various components of the computer device 70.
The memory 702 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the processor 701 may execute the program stored in the memory 702 to realize information storage or processing, or the like.
The input unit 704 provides input to the processor 701. The input unit 704 is, for example, a key or a touch input device. The power supply 707 is used to provide power to the computer device 70. The display 706 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 702 may be a solid state memory such as Read Only Memory (ROM), random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 702 may also be some other type of device. Memory 702 includes buffer memory 7021 (sometimes referred to as a buffer). The memory 702 may include an application/function storage 7022, the application/function storage 7022 being used to store application programs and function programs or procedures for performing operations of the computer device 70 by the processor 701.
The memory 702 may also include a data store 7023, the data store 7023 being for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the computer device. The driver storage portion 7024 of the memory 702 may include various drivers for the computer device for communication functions and/or for performing other functions of the computer device (e.g., messaging applications, directory applications, etc.).
The communication module 703 is a transmitter/receiver that transmits and receives signals via the antenna 708. A communication module (transmitter/receiver) 703 is coupled to the processor 701 to provide an input signal and receive an output signal, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 703, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same computer device. The communication module (transmitter/receiver) 703 is also coupled to a speaker 709 and a microphone 710 via an audio processing unit 705 to provide audio output via the speaker 709 and receive audio input from the microphone 710 to implement general telecommunication functions. The audio processing unit 705 may include any suitable buffers, decoders, amplifiers and so forth. Additionally, an audio processing unit 705 is also coupled to the processor 701 to enable recording locally through a microphone 710 and to enable locally stored sound to be played through a speaker 709.
An embodiment of the present invention further provides a computer-readable storage medium for implementing all the steps in the configuration management database generation method in the foregoing embodiments, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements all the steps in the configuration management database generation method in the foregoing embodiments, for example, the processor implements the following steps when executing the computer program:
acquiring resource data; the resource data at least comprises host resources, process resources and universal object resources; generating basic interface data by using a whale platform; packaging the resource data and the basic interface data according to an application scene to obtain a plurality of packaging results; determining interface layer data of a configuration management database according to a plurality of packaging results; front-end data of the configuration management database is determined from the interface layer data.
As can be seen from the above, the computer-readable storage medium provided in the embodiment of the present invention is packaged according to an application scenario based on the atomic interface service provided by the open-source whale platform, so that an application-centric configuration management database for use in a distributed technology architecture is quickly constructed.
Embodiments of the present invention also provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the above configuration management database generation method.
It should be noted that, in the technical solution of the present application, the acquisition, storage, use, processing, etc. of data all conform to the relevant regulations of the national laws and regulations.
Although the present invention provides method steps as described in the examples or flowcharts, additional or fewer steps may be included based on routine or non-inventive practice. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of sequences, and does not represent a unique order of performance. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the system embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The terms "upper", "lower", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
Unless expressly stated or limited otherwise, the terms "mounted," "connected," and "connected" are intended to be inclusive and mean, for example, that they may be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention is not limited to any single aspect, nor is it limited to any single embodiment, nor is it limited to any combination and/or permutation of these aspects and/or embodiments. Each aspect and/or embodiment of the invention can be used alone or in combination with one or more other aspects and/or embodiments.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (13)

1. A method for generating a configuration management database, comprising:
acquiring resource data; the resource data at least comprises host resources, process resources and universal object resources;
generating basic interface data by using a whale platform;
packaging the resource data and the basic interface data according to an application scene to obtain a plurality of packaging results;
generating interface layer data of a configuration management database according to the plurality of encapsulation results;
and generating front-end data of a configuration management database according to the interface layer data.
2. The method of claim 1, wherein each of the resource data classes is managed by a class of microservice processes.
3. The method of claim 1, wherein the encapsulated result comprises at least one or more of the following microservices:
the system comprises a data processing microservice, an event subscription and push microservice, a system process microservice, a topology model microservice, a host data microservice and a system snapshot microservice.
4. The method of claim 1, further comprising:
and updating or writing back the resource data.
5. The method of any of claims 1-4, wherein prior to obtaining the resource data, further comprising:
acquiring a data model structure; the data model structure is determined based on the relationship between the application scene, the data object, the application system and the application component;
and storing the resource data according to the data model structure.
6. A configuration management database generation apparatus, comprising:
the resource module is used for acquiring resource data; the resource data at least comprises a host resource, a process resource and a universal object resource;
the interface module is used for generating basic interface data by using the whale platform;
the encapsulation module is used for encapsulating the resource data and the basic interface data according to an application scene to obtain a plurality of encapsulation results;
the first generation module is used for generating interface layer data of the configuration management database according to the plurality of packaging results;
and the second generation module is used for generating the front-end data of the configuration management database according to the interface layer data.
7. The apparatus of claim 6, wherein each type of the resource data is managed by a type of microservice process.
8. The apparatus of claim 6, wherein the encapsulated result comprises at least one or more of the following microservices:
the system comprises a data processing microservice, an event subscription and push microservice, a system process microservice, a topology model microservice, a host data microservice and a system snapshot microservice.
9. The apparatus of claim 6, further comprising a resource management module configured to:
and updating or writing back the resource data.
10. The apparatus according to any one of claims 6-9, further comprising a storage module configured to:
acquiring a data model structure; the data model structure is determined based on the relationship between the application scene, the data object, the application system and the application component;
and storing the resource data according to the data model structure.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the configuration management database generation method according to any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, wherein a computer program is stored, and when executed by a processor, the computer program implements the configuration management database generation method according to any one of claims 1 to 5.
13. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, carries out the configuration management database generation method according to any one of claims 1 to 5.
CN202210856877.5A 2022-07-20 2022-07-20 Configuration management database generation method and device Pending CN115186021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210856877.5A CN115186021A (en) 2022-07-20 2022-07-20 Configuration management database generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210856877.5A CN115186021A (en) 2022-07-20 2022-07-20 Configuration management database generation method and device

Publications (1)

Publication Number Publication Date
CN115186021A true CN115186021A (en) 2022-10-14

Family

ID=83519036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210856877.5A Pending CN115186021A (en) 2022-07-20 2022-07-20 Configuration management database generation method and device

Country Status (1)

Country Link
CN (1) CN115186021A (en)

Similar Documents

Publication Publication Date Title
CN105701122A (en) Log collection method, apparatus and system
CN103150154B (en) The implementation method and device of a kind of application plug
US8990929B2 (en) Auditing application activities
CN110413528B (en) Intelligent configuration method and system for test environment
CN111241559A (en) Training model protection method, device, system, equipment and computer storage medium
CN109800135A (en) A kind of information processing method and terminal
CN112463634A (en) Software testing method and device under micro-service architecture
CN111506579A (en) Method, program and equipment for generating intelligent contract code
CN112953908A (en) Network isolation configuration method, device and system
CN111367561B (en) Remote development method and device for software program
CN112328413B (en) Application service calling method, device and system
CN113342330A (en) Front-end engineering generation method and device
CN113296742A (en) APP data processing method and device and mobile terminal
CN111443903A (en) Software development file acquisition method and device, electronic equipment and storage medium
CN115186021A (en) Configuration management database generation method and device
CN113268272B (en) Application delivery method, device and system based on private cloud
CN115495519A (en) Report data processing method and device
CN115407981A (en) Front-end data mock method and system based on middleware adaptation
CN114840194A (en) Code and operating system generation method and device, server and electronic equipment
CN114637531A (en) Method and device for dynamically generating application program interface
CN111367592B (en) Information processing method and device
CN112597510A (en) Access control method and device
CN112965713A (en) Development method, device and equipment of visual editor and storage medium
CN114365467A (en) Third generation partnership project (3GPP) real-time uplink streaming framework (plus) reception capability determination
CN112230819A (en) Information processing method, information processing apparatus, storage medium, and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination