CN110532248A - A kind of server application acquisition of information and method of adjustment based on CMDB - Google Patents

A kind of server application acquisition of information and method of adjustment based on CMDB Download PDF

Info

Publication number
CN110532248A
CN110532248A CN201910823103.0A CN201910823103A CN110532248A CN 110532248 A CN110532248 A CN 110532248A CN 201910823103 A CN201910823103 A CN 201910823103A CN 110532248 A CN110532248 A CN 110532248A
Authority
CN
China
Prior art keywords
data
information
server
cmdb
server application
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.)
Granted
Application number
CN201910823103.0A
Other languages
Chinese (zh)
Other versions
CN110532248B (en
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.)
Beijing Shouqi Zhixing Technology Co Ltd
Original Assignee
Beijing Shouqi Zhixing Technology Co 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 Beijing Shouqi Zhixing Technology Co Ltd filed Critical Beijing Shouqi Zhixing Technology Co Ltd
Priority to CN201910823103.0A priority Critical patent/CN110532248B/en
Publication of CN110532248A publication Critical patent/CN110532248A/en
Application granted granted Critical
Publication of CN110532248B publication Critical patent/CN110532248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

Server application acquisition of information and method of adjustment provided in an embodiment of the present invention based on CMDB, it is related to database technical field, by creating application message tables of data, server application information is associated with server, realize the acquisition to server application information, dynamic adjustment is carried out to the server application information in application information data table, ensure that the accuracy of server application information.

Description

A kind of server application acquisition of information and method of adjustment based on CMDB
Technical field
The invention belongs to database technical fields, and in particular to a kind of server application acquisition of information and tune based on CMDB Adjusting method.
Background technique
Configuration management database (Configuration Management Database, CMDB), storage and management enterprise The various configuration informations of equipment in information technology infrastructure.Currently, to entity elements all in information technology environment (including hardware believe Breath, software information, document, business service, personnel) management it is increasingly important.
CMDB has the function of finding server application information automatically currently on the market, realizes server (comprising physics Server and virtual machine)) acquisition of publicly-owned attribute information, but lack to server private attribute information (i.e. application message, including refer to Database, web services, middleware, the title of micro services, process, port numbers, starting the time) acquisition.
As current many large enterprises increasingly focus on Internet technology, each enterprise may have ten hundreds of services Device (physical server and virtual machine).For this increasingly complicated situation, need by CMDB that server is corresponding Application message is associated.
Current CMDB is only applicable to the information technology resources of single type, not comprehensive enough, lacks to the privately owned category of server The acquisition of property information, i.e., be associated with server not to server application information, lead to not look into quickly through server It sees application message therein, otherwise server can not be navigated to by application message.The case of one typical database: Wu Fazhi Road server is run at present for which database under which database instance, process number, port numbers and example;Otherwise also So, by database-name, port numbers can not position corresponding server.
Summary of the invention
In view of the defects existing in the prior art, the server application information based on CMDB that the embodiment of the invention provides a kind of Acquisition and method of adjustment, method includes the following steps:
Application message tables of data is created in CMDB, is used for storage server application message;
By the server ip address in application message tables of data as the external key of server assets database, server is established The one-to-many mapping relations of asset database and application message tables of data;
The keyword of server application information is obtained from application message tables of data;
According to the keyword, Apply Names, port numbers, process number and the CMDB of corresponding process are obtained from server Configuration item information and by the Apply Names of the process, port numbers, process number and CMDB configuration item Information encapsulation at json format Data, generate the first data acquisition system;
Obtain CMDB database there is currently server application information and by the server application Information encapsulation at The data of json format generate the second data set.
First data acquisition system is compared with the second data set and according to comparison result, to first data set Conjunction is adjusted.
Preferably, before creating application message tables of data in CMDB, the method also includes:
Classify to the keyword of server application information.
Preferably, first data acquisition system and the second data set are compared and according to comparison result, to described the One data acquisition system, which is adjusted, includes:
Intersection, union and difference set are done to first data acquisition system and the second data set to calculate, and are tied according to calculating Fruit, the deletion, correction and increase for carrying out data to first data acquisition system operate.
Server application information dynamic adjusting method provided in an embodiment of the present invention based on CMDB has below beneficial to effect Fruit:
(1) by creation application message tables of data, server application information is associated with server, is realized to clothes The acquisition for device application message of being engaged in;
(2) dynamic adjustment is carried out to the server application information in application information data table, ensure that server application is believed The accuracy of breath.
Detailed description of the invention
Fig. 1 is the server application acquisition of information and method of adjustment process signal provided in an embodiment of the present invention based on CMDB Figure.
Specific embodiment
Specific introduce is made to the present invention below in conjunction with the drawings and specific embodiments.
As shown in Figure 1, the server application acquisition of information and method of adjustment stream provided in an embodiment of the present invention based on CMDB The following steps are included:
S101 creates application message tables of data in CMDB, is used for storage server application message.
S102 is established by the server ip address in application message tables of data as the external key of server assets database The one-to-many mapping relations of server assets database and application message tables of data.
S103 obtains the keyword of server application information from application message tables of data.
S104, according to keyword, obtained from server the Apply Names of corresponding process, port numbers, process number and CMDB configuration item information and by the Apply Names of process, port numbers, process number and CMDB configuration item Information encapsulation at json format Data, generate the first data acquisition system.
Wherein, the data of json format are packaged into, data standard has been unified, facilitate front and back end agenda data, number According to interactive and data processing.
As a specific embodiment, CMDB configuration item information includes the domain name of Web service configuration, port information, number According to library coding, maximum number of connections;Message queue, maximum use memory etc..
S105, obtain CMDB database there is currently server application information and by server application Information encapsulation at The data of json format generate the second data set.
S106, the first data acquisition system of comparison carry out the first data acquisition system with the second data set and according to comparison result Adjustment.
Optionally, before creating application message tables of data in CMDB, this method further include:
Classify to the keyword of server application information.
As a specific embodiment, the keyword of server application information can be divided into mysql class, Keepalive class, zookeeper class, nginx class and java class.
Optionally, the first data acquisition system and the second data set are compared and according to comparison result, to the first data acquisition system into Row adjusts
It does intersection, union and difference set to the first data acquisition system and the second data set to calculate, according to calculated result, to first Data acquisition system carries out the deletion, correction and increase operation of data.
As a specific embodiment, if difference set is not present between the first data acquisition system and the second data set, say Bright first data acquisition system is consistent with the second data set, does not need to be adjusted the first data acquisition system.
Wherein, the first data acquisition system adjusted is presented to by user by front end web interface, user can be according to application Information finds corresponding server, and the application message above server can also be checked by server.
Server application acquisition of information and method of adjustment provided in an embodiment of the present invention based on CMDB is applied by creation Server application information is associated with server, realizes the acquisition to server application information by information data table, corresponding Dynamic adjustment is carried out with the server application information in information data table, ensure that the accuracy of server application information.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.The technology people of fields Member can be understood that, for convenience and simplicity of description, the specific works mistake of the system, apparatus, and unit of foregoing description Journey can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In addition, memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes extremely A few storage chip.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.
It should be noted that the above embodiments do not limit the invention in any form, it is all to use equivalent replacement or equivalent change The mode changed technical solution obtained, falls within the scope of protection of the present invention.

Claims (3)

1. a kind of server application acquisition of information and method of adjustment based on CMDB characterized by comprising
Application message tables of data is created in CMDB, is used for storage server application message;
By the server ip address in application message tables of data as the external key of server assets database, server assets are established The one-to-many mapping relations of database and application message tables of data;
The keyword of server application information is obtained from application message tables of data;
According to the keyword, Apply Names, port numbers, process number and the CMDB configuration of corresponding process are obtained from server Information and by the Apply Names of the process, port numbers, process number and CMDB configuration item Information encapsulation at the number of json format According to the first data acquisition system of generation;
Obtain CMDB database there is currently server application information and by the server application Information encapsulation at json lattice The data of formula generate the second data set.
Compare first data acquisition system and the second data set and according to comparison result, to first data acquisition system into Row adjustment.
2. the server application acquisition of information and method of adjustment according to claim 1 based on CMDB, which is characterized in that In Before creating application message tables of data in CMDB, the method also includes:
Classify to the keyword of server application information.
3. the server application acquisition of information and method of adjustment according to claim 1 based on CMDB, which is characterized in that right Than first data acquisition system and the second data set and according to comparison result, first data acquisition system is adjusted Include:
Intersection, union and difference set is done to first data acquisition system and the second data set to calculate, it is right according to calculated result First data acquisition system carries out the deletion, correction and increase operation of data.
CN201910823103.0A 2019-09-02 2019-09-02 CMDB-based server application information acquisition and adjustment method Active CN110532248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910823103.0A CN110532248B (en) 2019-09-02 2019-09-02 CMDB-based server application information acquisition and adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910823103.0A CN110532248B (en) 2019-09-02 2019-09-02 CMDB-based server application information acquisition and adjustment method

Publications (2)

Publication Number Publication Date
CN110532248A true CN110532248A (en) 2019-12-03
CN110532248B CN110532248B (en) 2022-12-20

Family

ID=68666087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910823103.0A Active CN110532248B (en) 2019-09-02 2019-09-02 CMDB-based server application information acquisition and adjustment method

Country Status (1)

Country Link
CN (1) CN110532248B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115080337A (en) * 2021-03-16 2022-09-20 网联清算有限公司 Data monitoring method, device, system, server and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089072A1 (en) * 2007-10-02 2009-04-02 International Business Machines Corporation Configuration management database (cmdb) which establishes policy artifacts and automatic tagging of the same
CN103051725A (en) * 2012-12-31 2013-04-17 华为技术有限公司 Application identification method, data mining method, device and system
CN106533728A (en) * 2015-09-14 2017-03-22 北京国双科技有限公司 Server information collecting method and apparatus
US20170337236A1 (en) * 2016-05-17 2017-11-23 International Business Machines Corporation Verifying configuration management database configuration items
CN109918392A (en) * 2018-12-15 2019-06-21 中国平安人寿保险股份有限公司 Structured query language localization method, device, server and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089072A1 (en) * 2007-10-02 2009-04-02 International Business Machines Corporation Configuration management database (cmdb) which establishes policy artifacts and automatic tagging of the same
CN103051725A (en) * 2012-12-31 2013-04-17 华为技术有限公司 Application identification method, data mining method, device and system
CN106533728A (en) * 2015-09-14 2017-03-22 北京国双科技有限公司 Server information collecting method and apparatus
US20170337236A1 (en) * 2016-05-17 2017-11-23 International Business Machines Corporation Verifying configuration management database configuration items
CN109918392A (en) * 2018-12-15 2019-06-21 中国平安人寿保险股份有限公司 Structured query language localization method, device, server and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李文 等: "基于分域的IT配置管理数据库信息模型", 《北京邮电大学学报》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115080337A (en) * 2021-03-16 2022-09-20 网联清算有限公司 Data monitoring method, device, system, server and readable storage medium

Also Published As

Publication number Publication date
CN110532248B (en) 2022-12-20

Similar Documents

Publication Publication Date Title
JP6709574B2 (en) Terminal rule engine device and terminal rule operating method
US20200210413A1 (en) Method of generating globally verifiable unique identifiers using a scalable interlinked blockchain structure
US10929490B2 (en) Network search query
US10630556B2 (en) Discovering and publishing device changes in a cloud environment
US10776740B2 (en) Detecting potential root causes of data quality issues using data lineage graphs
US10044837B2 (en) Generation and distribution of named, definable, serialized tokens
US20140040791A1 (en) Development platform for software as a service (saas) in a multi-tenant environment
US11362997B2 (en) Real-time policy rule evaluation with multistage processing
CN106547646B (en) Data backup and recovery method and data backup and recovery device
US11194783B2 (en) Multiple parameter based composite rule wise data validation in cloud hybrid model
US11089000B1 (en) Automated source code log generation
CN110457182A (en) A kind of load balancing cluster example operating index monitoring system
CN110532248A (en) A kind of server application acquisition of information and method of adjustment based on CMDB
US11487824B2 (en) Automated database query filtering for spatial joins
US10168999B2 (en) Software object definition and integration
US9230022B1 (en) Customizable result sets for application program interfaces
US20230169149A1 (en) Image recognition training data quality enhancement
US11640414B2 (en) Generating workflow, report, interface, conversion, enhancement, and forms (WRICEF) objects for enterprise software
US10242111B2 (en) Node controllers for hierarchical data structures
CN107391533A (en) Generate the method and device of graphic data base Query Result
US8738864B2 (en) Automated data interface generation
US20200082337A1 (en) Attribute-based material determinations and assignments
CN110347607A (en) A kind of data cochain test method
JP7284210B2 (en) Generation of enterprise software workflow, reports, interfaces, transformations, extensions, and forms (WRICEF) objects
CN111047415A (en) Clothing accessory order processing method, system, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant