CN108897838A - A kind of configuration method and device of the WEB application system based on CMDB - Google Patents

A kind of configuration method and device of the WEB application system based on CMDB Download PDF

Info

Publication number
CN108897838A
CN108897838A CN201810671136.3A CN201810671136A CN108897838A CN 108897838 A CN108897838 A CN 108897838A CN 201810671136 A CN201810671136 A CN 201810671136A CN 108897838 A CN108897838 A CN 108897838A
Authority
CN
China
Prior art keywords
cmdb
web application
application system
setting
function
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
CN201810671136.3A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810671136.3A priority Critical patent/CN108897838A/en
Publication of CN108897838A publication Critical patent/CN108897838A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses the configuration method and device of a kind of webpage WEB application system based on configuration management type database CMDB, this method includes:To the configuration item CI setting custom field in CMDB and expand instance data, to obtain the CMDB with extendable functions;General-purpose interface is set in the CMDB with extendable functions, realizes non-customizedization of interface;CI example is set on the page of WEB application system, function is set, so that function self-setting CI example is arranged by CI example in user.By the example scheme, the WEB application system that general height can match can be obtained, reduces the customized development of WEB application system, saves cost.

Description

A kind of configuration method and device of the WEB application system based on CMDB
Technical field
The present embodiments relate to WEB application technology, the configuration method of espespecially a kind of WEB application system based on CMDB and Device.
Background technique
With the development of computer technology, in the market there are many system requirements, but traditional system it is general on be all Customized development, great manpower and material resources are expended, and often client is less satisfied for effect.So, configuration has just been derived The thought blank of type system and related matching technology.But few systems can accomplish that real height can match and support embedding Enter service scenario, even relevant realization technology also brings certain limitation to exploitation such as the realization of Cmdbuilder.Institute To lack very much a kind of generally applicable, non-customizedization, user Gao Kepei webpage WEB application system on the market at present.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of based on configuration management type database CMDB's The configuration method and device of webpage WEB application system can obtain the WEB application system that general height can match, and reduce WEB application system The customized development of system saves cost.
In order to reach purpose of the embodiment of the present invention, the WEB application system based on CMDB that the embodiment of the invention provides a kind of Configuration method, this method may include:
To the configuration item CI setting custom field in CMDB and expand instance data, there are extendable functions to obtain CMDB;
General-purpose interface is set in the CMDB with extendable functions, realizes non-customizedization of interface;
CI example is set on the page of WEB application system, function is set, so that function is arranged certainly by CI example in user Row setting CI example.
Optionally, this method can also include:It is docked by the CI in the Map and CMDB of JAVA, realizes the operation of CI.
Optionally, expanding instance data includes:The expansion of instance data in CMDB is realized by expanding Json data.
Optionally, CI example setting function is arranged on the page of WEB application system includes:Pass through preset view component CI example setting frame is established, to realize that function is arranged in CI example based on CI example setting frame.
Optionally, which includes:The page view and/or page menus of WEB application system.
Optionally, view component includes:Adaptive component framework Bootstrap.
Optionally, CI example setting function is arranged on the page of WEB application system further includes:Be arranged to compile in real time Perform script.
Optionally, this method can also include:Inboard engine driving and/or setting script function of injecting in CMDB, with Realize the personalized function of user.
Optionally, engine, which drives, includes:Activity workflow engine.
In order to reach purpose of the embodiment of the present invention, the embodiment of the invention also provides a kind of WEB application system based on CMDB The configuration device of system, including processor and computer readable storage medium are stored with instruction in the computer readable storage medium, When the instruction is executed by processor, the general height based on CMDB can match the configuration method of WEB application system in realization.
The embodiment of the present invention includes:To the configuration item CI setting custom field in CMDB and expand instance data, with Obtain the CMDB with extendable functions;General-purpose interface is set in the CMDB with extendable functions, realizes the non-fixed of interface Inhibition and generation;CI example is set on the page of WEB application system, function is set, is voluntarily set so that function is arranged by CI example in user Set CI example.By the example scheme, the WEB application system that general height can match can be obtained, WEB application system is reduced Customized development saves cost.
The other feature and advantage of the embodiment of the present invention will illustrate in the following description, also, partly from explanation It is become apparent in book, or understand through the implementation of the invention.The purpose of the embodiment of the present invention and other advantages can pass through Specifically noted structure is achieved and obtained in the specification, claims and drawings.
Detailed description of the invention
Attached drawing is used to provide one for further understanding technical solution of the embodiment of the present invention, and constituting specification Point, it is used to explain the present invention the technical solution of embodiment together with embodiments herein, does not constitute to the embodiment of the present invention The limitation of technical solution.
Fig. 1 is the configuration method flow chart of the WEB application system based on CMDB of the embodiment of the present invention;
Fig. 2 is the configuration device composition block diagram of the WEB application system based on CMDB of the embodiment of the present invention.
Specific embodiment
Understand in order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing pair The embodiment of the present invention is described in detail.It should be noted that in the absence of conflict, embodiment and reality in the application The feature applied in example can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
In order to reach purpose of the embodiment of the present invention, the embodiment of the invention provides one kind to be based on configuration management type database The general height of CMDB can match the configuration method of webpage WEB application system, as shown in Figure 1, this method may include S101-S102:
S101, custom field is set to the configuration item CI in CMDB and expands instance data, have and can expand to obtain Open up the CMDB of function.
In embodiments of the present invention, abandon on the market CMDB the relevant technologies limitation, can customized exploitation height can match CMDB。
In embodiments of the present invention, the core of CMDB is CI (configuration item), and in CMDB, all elements are all CI.From Definition exploitation is high can to need to realize CI configurable and configurable CI item drivings with CMDB.
In embodiments of the present invention, realization CI is configurable, it is necessary on the basis of built-in field, support expansible Custom field, the field can choose JSON type data, but realization record field type etc. is believed because of its scalability Breath, needs the support of metadata.Metadata is the unit of non-user's operation, invisible to user, is mainly responsible for the operation of CMDB It supports.
The high of the embodiment of the present invention can be divided into two classes with the realization of CMDB for data Angle:
A, metadata:
Metadata is responsible for the operation needs of entire CMDB, mainly includes CI father, CI type, CI dictionary, CI field type, CI Example, CI relationship, CI relationship type etc..In view of execution efficiency, certain field index can be added, it, can also such as ID, types index Whether setting is full-text search field, automatic indexing matching.
B, instance data:
Instance data is the subtype of CI example, is the unit that user directly operates, and user can be newly-increased by the page or be deleted Except field, example types etc., also expansible CI dictionary.
Optionally, expanding instance data may include:The expansion of instance data in CMDB is realized by expanding Json data.
In embodiments of the present invention, database, which can be used, supports to inherit the database with Json, such as PostgreSQL.
Optionally, this method can also include:It is docked by the CI in the Map and CMDB of JAVA, realizes the operation of CI.
In embodiments of the present invention, it can realize that CI is run by the Map of JAVA.
S102, general-purpose interface is set in the CMDB with extendable functions, realizes non-customizedization of interface.
In embodiments of the present invention, which can include but is not limited to:(increasing is looked by CI example types interface and CRUD Change and delete) interface.
In embodiments of the present invention, on the basis of height can be realized with CMDB, all increasings of system can be set and look into change and delete CRUD and associated script injection etc. general-purpose interface, so that unified interface, realizes non-customizedization of interface.
In embodiments of the present invention, by calling the CI example types interface that the CI example table directly from CMDB may be implemented In transfer corresponding CI example so that user voluntarily realizes the personalized definition or design of CI example.
In embodiments of the present invention, after CRUD interface is set, increase, inquiry, the change to information in CMDB may be implemented And deletion.It is illustrated by taking inquiry as an example:UUID (unique identifier), CI_TYPE (the CI class of CI are passed to by CRUD interface Type), table information, field information are found by CI type list, realizes and carries out ID (identity) or other words into corresponding table The retrieval of section.
In embodiments of the present invention, which can be realized by JsonRPC interface, to realize the performance prison of interface The unified call of control and front end.REST interface can certainly be selected to carry out encapsulation appropriate.
S103, CI example setting function is set on the page of WEB application system, so that function is arranged by CI example in user It can self-setting CI example.
In embodiments of the present invention, Groupware encapsulation can be carried out by adaptive technique in page front end, and supports wind Lattice setting, and the splicing of the page can be realized on the basis of dragging, with CI example self-setting, and related data is written In CMDB.
Optionally, which includes but is not limited to:The page view and/or page menus of WEB application system.
In embodiments of the present invention, the information such as the view of the page, menu can all be created as CI example, and be saved in database In.
Optionally, CI example setting function is arranged on the page of WEB application system includes:Pass through preset view component CI example setting frame is established, to realize that function is arranged in CI example based on CI example setting frame.
Optionally, which can include but is not limited to:Adaptive component framework Bootstrap.
In embodiments of the present invention, view component can choose adaptive component framework, such as Bootstrap.
In embodiments of the present invention, when carrying out the creation of CI example, the CI type of active view, the word supported are obtained Section chooses the field to be shown, general-purpose interface is called to complete basic operation.
Optionally, CI example setting function is arranged on the page of WEB application system further includes:Be arranged to compile in real time Perform script.
In embodiments of the present invention, it when carrying out the creation of CI example, can also be called next on the basis of basic operation Walk the service scenario to be executed or interface etc..Real-time Complied executing script may be selected in the script type, it may for example comprise but be not limited to JavaScript, Groovy etc..
Optionally, this method can also include:Inboard engine driving and/or setting script function of injecting in CMDB, with Realize the personalized function of user.
In embodiments of the present invention, engine driving is embedded, driving script injection realizes non-customizedization of user, and a The business processing of property.
In embodiments of the present invention, it can be driven with inboard engine and be merged with CI, in case of need, such as WorkForm System Deng just engine being needed to drive.Optionally, engine driving can include but is not limited to:Activity workflow engine.
In embodiments of the present invention, it is write when script injection can create view by front end, convenient for real time modifying, dimension Shield.Script can also be created in CMDB, controlled and executed by flow engine;The script is as described above, it is necessary to which selection can compile in real time Translate execution script.
In embodiments of the present invention, the general-purpose system that the technical solution of the embodiment of the present invention is developed can meet big on the market Partial WEB application program only need to make configuration appropriate on the platform, demand can be completed.The system of original inhibition and generation needs A large amount of manpower and material resources are expended, and there is many identical realizations between system, a large amount of resource need not be spent to do fixed Inhibition and generation system development, the embodiment of the present invention can subtract least a portion of customized development, save IT cost.
In order to reach purpose of the embodiment of the present invention, the embodiment of the invention also provides a kind of, and the general height based on CMDB can match The configuration device 1 of WEB application system, as shown in Fig. 2, including processor 11 and computer readable storage medium 12, the computer Instruction is stored in readable storage medium storing program for executing 12, when the instruction is executed by processor 11, the leading to based on CMDB in realization With the high configuration method that can match WEB application system.
The embodiment of the present invention includes:To the configuration item CI setting custom field in CMDB and expand instance data, with Obtain the CMDB with extendable functions;General-purpose interface is set in the CMDB with extendable functions, realizes the non-fixed of interface Inhibition and generation;CI example is set on the page of WEB application system, function is set, is voluntarily set so that function is arranged by CI example in user Set CI example.By the example scheme, the WEB application system that general height can match can be obtained, WEB application system is reduced Customized development saves cost.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non- Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information Delivery media.

Claims (10)

1. a kind of configuration method of the webpage WEB application system based on configuration management type database CMDB, which is characterized in that described Method includes:
To the configuration item CI setting custom field in CMDB and expand instance data, there are extendable functions to obtain CMDB;
General-purpose interface is set in the CMDB with extendable functions, realizes non-customizedization of interface;
CI example is set on the page of the WEB application system, function is set, so that function is arranged by the CI example in user It can self-setting CI example.
2. the configuration method of the WEB application system according to claim 1 based on CMDB, which is characterized in that the method Further include:It is docked by the Map of JAVA with the CI in the CMDB, realizes the operation of the CI.
3. the configuration method of the WEB application system according to claim 1 based on CMDB, which is characterized in that the expansion Instance data includes:The expansion of instance data in the CMDB is realized by expanding Json data.
4. the configuration method of the WEB application system according to claim 1 based on CMDB, which is characterized in that described in institute Stating setting CI example setting function on the page of WEB application system includes:The setting of CI example is established by preset view component Frame, to realize that function is arranged in the CI example based on CI example setting frame.
5. the configuration method of the WEB application system according to claim 4 based on CMDB, which is characterized in that the CI is real Example include:The page view and/or page menus of the WEB application system.
6. the configuration method of the WEB application system according to claim 4 based on CMDB, which is characterized in that the view Component includes:Adaptive component framework Bootstrap.
7. the configuration method of the WEB application system according to claim 4 based on CMDB, which is characterized in that described in institute Stating setting CI example setting function on the page of WEB application system further includes:The perform script that can be compiled in real time is set.
8. the configuration method of the WEB application system according to claim 1 based on CMDB, which is characterized in that the method Further include:Inboard engine driving and/or setting script function of injecting in the CMDB, to realize the personalized function of user.
9. the configuration method of the WEB application system according to claim 8 based on CMDB, which is characterized in that the engine Driving includes:Activity workflow engine.
10. a kind of configuration device of the WEB application system based on CMDB, which is characterized in that including processor and computer-readable Storage medium is stored with instruction in the computer readable storage medium, which is characterized in that when described instruction is by the processor When execution, realize that the general height as described in any one of claims 1-9 based on CMDB can match the configuration side of WEB application system Method.
CN201810671136.3A 2018-06-26 2018-06-26 A kind of configuration method and device of the WEB application system based on CMDB Pending CN108897838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810671136.3A CN108897838A (en) 2018-06-26 2018-06-26 A kind of configuration method and device of the WEB application system based on CMDB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810671136.3A CN108897838A (en) 2018-06-26 2018-06-26 A kind of configuration method and device of the WEB application system based on CMDB

Publications (1)

Publication Number Publication Date
CN108897838A true CN108897838A (en) 2018-11-27

Family

ID=64346072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810671136.3A Pending CN108897838A (en) 2018-06-26 2018-06-26 A kind of configuration method and device of the WEB application system based on CMDB

Country Status (1)

Country Link
CN (1) CN108897838A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116136801A (en) * 2021-11-12 2023-05-19 中国联合网络通信集团有限公司 Cloud platform data processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080005186A1 (en) * 2006-06-30 2008-01-03 International Business Machines Corporation Methods and apparatus for composite configuration item management in configuration management database
CN101231656A (en) * 2007-01-26 2008-07-30 国际商业机器公司 Method and device for determining whether allowing specified modification in a configurable managed environment
CN101410801A (en) * 2006-04-11 2009-04-15 国际商业机器公司 Weighted determination in configuration management systems
CN103365646A (en) * 2012-04-11 2013-10-23 怡丰联合(北京)科技有限责任公司 Form user-defined, logical definition and processing method based on script engine
CN105580007A (en) * 2013-06-17 2016-05-11 惠普发展公司,有限责任合伙企业 Monitoring a computing network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410801A (en) * 2006-04-11 2009-04-15 国际商业机器公司 Weighted determination in configuration management systems
US20080005186A1 (en) * 2006-06-30 2008-01-03 International Business Machines Corporation Methods and apparatus for composite configuration item management in configuration management database
CN101231656A (en) * 2007-01-26 2008-07-30 国际商业机器公司 Method and device for determining whether allowing specified modification in a configurable managed environment
CN103365646A (en) * 2012-04-11 2013-10-23 怡丰联合(北京)科技有限责任公司 Form user-defined, logical definition and processing method based on script engine
CN105580007A (en) * 2013-06-17 2016-05-11 惠普发展公司,有限责任合伙企业 Monitoring a computing network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116136801A (en) * 2021-11-12 2023-05-19 中国联合网络通信集团有限公司 Cloud platform data processing method and device, electronic equipment and storage medium
CN116136801B (en) * 2021-11-12 2024-02-23 中国联合网络通信集团有限公司 Cloud platform data processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11468103B2 (en) Relational modeler and renderer for non-relational data
CN107967159B (en) Method for configuring file application and server
US9792284B2 (en) System, method and computer program product for multilingual content management
CN102402446B (en) Method and device for installing application software
US10534671B1 (en) Container image layer compaction
US20200012582A1 (en) Code assessment platform
US10585909B2 (en) Task-execution in a DBMS using stored procedures
CN105511943A (en) Docker container running method and device
CN105740048A (en) Image management method, device and system
CN107766130B (en) Method and device for migrating virtual machine to container
US11526475B2 (en) Code generator platform for data transformation
CN110908671A (en) Method and device for constructing docker mirror image and computer readable storage medium
CN109684298B (en) Database migration method, device, equipment and storage medium
CN109885642B (en) Hierarchical storage method and device for full-text retrieval
US20130151571A1 (en) Interface defined virtual data fields
CN104182257A (en) Application software installation method and device
US20240061712A1 (en) Method, apparatus, and system for creating training task on ai training platform, and medium
CN110888736A (en) Application management method and system based on container cloud platform and related components
CN113094028A (en) Windows desktop program development framework, method and related components
US20160085544A1 (en) Data management system
CN108897838A (en) A kind of configuration method and device of the WEB application system based on CMDB
CN108334333B (en) Method and device for updating source code base
CN109144948B (en) Application file positioning method and device, electronic equipment and memory
CN111367577A (en) Method, device and terminal for loading plug-in of application
CN118056183A (en) Optimizing just-in-time compilation processes

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181127