[go: up one dir, main page]

CN105939227B - Service configuration method, system and server based on CMDB - Google Patents

Service configuration method, system and server based on CMDB Download PDF

Info

Publication number
CN105939227B
CN105939227B CN201610551022.6A CN201610551022A CN105939227B CN 105939227 B CN105939227 B CN 105939227B CN 201610551022 A CN201610551022 A CN 201610551022A CN 105939227 B CN105939227 B CN 105939227B
Authority
CN
China
Prior art keywords
service
request
cmdb
user
configuration
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.)
Active
Application number
CN201610551022.6A
Other languages
Chinese (zh)
Other versions
CN105939227A (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.)
Suzhou Metabrain Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201610551022.6A priority Critical patent/CN105939227B/en
Publication of CN105939227A publication Critical patent/CN105939227A/en
Application granted granted Critical
Publication of CN105939227B publication Critical patent/CN105939227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开了一种基于CMDB的服务配置的方法,包括:接收用户的服务请求;根据所述服务请求,确定所述用户配置的服务接口;根据Rest API接口参数,调用所述用户配置的服务接口对应的服务;将所述服务返回给所述用户;该方法基于CMDB的可配置功能,它与所有的支持和服务交付流程紧密相关,支持流程的运转发挥配置信息的价值,在保证质量与性能的前提下,减少开发周期,减少资金、人力投入,保质保量完成项目开发;本发明还公开了一种基于CMDB的服务配置的系统及服务器。

Figure 201610551022

The invention discloses a CMDB-based service configuration method, comprising: receiving a service request from a user; determining a service interface configured by the user according to the service request; calling the service configured by the user according to Rest API interface parameters The service corresponding to the interface; the service is returned to the user; the method is based on the configurable function of the CMDB, which is closely related to all support and service delivery processes, and the operation of the support process gives play to the value of configuration information. On the premise of performance, the development cycle is reduced, the capital and human input are reduced, and the project development is completed with high quality and quantity; the invention also discloses a system and server for service configuration based on CMDB.

Figure 201610551022

Description

一种基于CMDB的服务配置的方法、系统及服务器A method, system and server for service configuration based on CMDB

技术领域technical field

本发明涉及云数据中心操作系统领域,特别涉及一种基于CMDB的服务配置的方法、系统及服务器。The invention relates to the field of cloud data center operating systems, in particular to a CMDB-based service configuration method, system and server.

背景技术Background technique

当前,互联网产品逐渐扩大,影响的人们的衣食住行,随之而来的客户对产品需求不断发生改变,版本发行周期越来越短,兼容性、弹性伸缩要求不断提升,如何在保证质量与性能的前提下,减少开发周期,减少资金、人力投入,保质保量完成项目开发,是本领域技术人员需要解决的技术问题。At present, Internet products are gradually expanding, which affects people's food, clothing, housing, and transportation. As a result, customer demand for products is constantly changing, version release cycles are getting shorter and shorter, and compatibility and elastic scaling requirements are constantly improving. How to ensure quality and performance? Under the premise, reducing the development cycle, reducing capital and human input, and completing project development with quality and quantity are technical problems that need to be solved by those skilled in the art.

发明内容SUMMARY OF THE INVENTION

本发明的目的是提供一种基于CMDB的服务配置的方法,系统及服务器,基于CMDB的可配置功能,在保证质量与性能的前提下,减少开发周期,减少资金、人力投入,保质保量完成项目开发。The purpose of the present invention is to provide a method, system and server for service configuration based on CMDB. Based on the configurable function of CMDB, under the premise of ensuring quality and performance, the development cycle can be reduced, capital and human input can be reduced, and the quality and quantity can be completed. Project Development.

为解决上述技术问题,本发明提供一种基于CMDB的服务配置的方法,包括:In order to solve the above-mentioned technical problems, the present invention provides a CMDB-based service configuration method, comprising:

接收用户的服务请求;Receive service requests from users;

根据所述服务请求,确定所述用户配置的服务接口;determining the service interface configured by the user according to the service request;

根据Rest API接口参数,调用所述用户配置的服务接口对应的服务;According to the Rest API interface parameters, call the service corresponding to the service interface configured by the user;

将所述服务返回给所述用户。Return the service to the user.

其中,将所述服务返回给所述用户之后,还包括:Wherein, after returning the service to the user, the method further includes:

接收所述用户的服务顺序配置请求;receiving a service order configuration request from the user;

根据所述服务顺序配置请求,创建服务执行流程。According to the service sequence configuration request, a service execution flow is created.

其中,还包括:Among them, it also includes:

接收开发者的注册服务请求;Receive the developer's registration service request;

根据所述注册服务请求,注册新的服务。According to the registration service request, a new service is registered.

其中,还包括:Among them, it also includes:

接收开发者的第三方jar包插入请求;Receive the developer's third-party jar package insertion request;

根据所述第三方jar包插入请求,配置第三方jar包调用策略。According to the third-party jar package insertion request, a third-party jar package invocation policy is configured.

本发明还提供一种基于CMDB的服务配置的系统,包括:The present invention also provides a CMDB-based service configuration system, comprising:

服务请求模块,用于接收用户的服务请求;The service request module is used to receive the user's service request;

接口确定模块,用于根据所述服务请求,确定所述用户配置的服务接口;an interface determining module, configured to determine the service interface configured by the user according to the service request;

调用服务模块,用于根据Rest API接口参数,调用所述用户配置的服务接口对应的服务;Calling the service module, for calling the service corresponding to the service interface configured by the user according to the Rest API interface parameters;

服务发送模块,用于将所述服务返回给所述用户。A service sending module, configured to return the service to the user.

其中,将所述服务返回给所述用户之后,还包括:Wherein, after returning the service to the user, the method further includes:

顺序配置模块,用于接收所述用户的服务顺序配置请求;根据所述服务顺序配置请求,创建服务执行流程。A sequence configuration module, configured to receive a service sequence configuration request from the user; and create a service execution flow according to the service sequence configuration request.

其中,还包括:Among them, it also includes:

注册服务模块,用于接收开发者的注册服务请求;根据所述注册服务请求,注册新的服务。The registration service module is used to receive a developer's registration service request; and register a new service according to the registration service request.

其中,还包括:Among them, it also includes:

第三方jar包模块,用于接收开发者的第三方jar包插入请求;根据所述第三方jar包插入请求,配置第三方jar包调用策略。The third-party jar package module is used to receive a developer's third-party jar package insertion request; configure the third-party jar package invocation policy according to the third-party jar package insertion request.

本发明还提供一种服务器,包括:如上述任一项所述的基于CMDB的服务配置的系统。The present invention also provides a server, comprising: the system for configuring services based on CMDB according to any one of the above.

本发明所提供的基于CMDB的服务配置的方法,包括:接收用户的服务请求;根据所述服务请求,确定所述用户配置的服务接口;根据Rest API接口参数,调用所述用户配置的服务接口对应的服务;将所述服务返回给所述用户;The CMDB-based service configuration method provided by the present invention includes: receiving a service request from a user; determining a service interface configured by the user according to the service request; calling the service interface configured by the user according to Rest API interface parameters the corresponding service; returning the service to the user;

可见,该方法基于CMDB的可配置功能,它与所有的支持和服务交付流程紧密相关,支持流程的运转发挥配置信息的价值,因此,可以灵活的根据用户配置信息进行服务的执行;在保证质量与性能的前提下,减少开发周期,减少资金、人力投入,保质保量完成项目开发;本发明还提供了一种基于CMDB的服务配置的系统及服务器,具有上述有益效果,在此不再赘述。It can be seen that this method is based on the configurable function of CMDB, which is closely related to all support and service delivery processes, and the operation of the support process exerts the value of configuration information. Therefore, the service execution can be flexibly performed according to user configuration information; in ensuring quality On the premise of and performance, the development cycle is reduced, capital and human input are reduced, and project development is completed with quality and quantity; the present invention also provides a CMDB-based service configuration system and server, which have the above beneficial effects, and will not be repeated here. .

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without creative work.

图1为本发明实施例所提供的基于CMDB的服务配置的方法的流程图;FIG. 1 is a flowchart of a method for CMDB-based service configuration provided by an embodiment of the present invention;

图2为本发明实施例所提供的基于CMDB的服务配置的系统的结构框图。FIG. 2 is a structural block diagram of a system for CMDB-based service configuration provided by an embodiment of the present invention.

具体实施方式Detailed ways

本发明的核心是提供一种基于CMDB的服务配置的方法,系统及服务器,基于CMDB的可配置功能,在保证质量与性能的前提下,减少开发周期,减少资金、人力投入,保质保量完成项目开发。The core of the present invention is to provide a method, system and server for service configuration based on CMDB. Based on the configurable function of CMDB, under the premise of ensuring quality and performance, it can reduce development cycles, reduce capital and human input, and complete the quality and quantity. Project Development.

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

请参考图1,图1为本发明实施例所提供的基于CMDB的服务配置的方法的流程图;该方法的执行主体是基于CMDB的服务配置的系统或服务器;该方法可以包括:Please refer to FIG. 1, which is a flowchart of a method for CMDB-based service configuration provided by an embodiment of the present invention; the execution body of the method is a system or server for CMDB-based service configuration; the method may include:

S100、接收用户的服务请求;S100. Receive a service request from a user;

其中,云操作系统中的基于CMDB的服务配置,其功能主要是基于CMDB(Configuration Management Database)的可配置功能,它与所有的支持和服务交付流程紧密相关,支持流程的运转发挥配置信息的价值,因此也会在一定程度上依赖流程保证数据的准确性。运用CMDB去管理服务,实现在不同情况下调用不同服务,在保证质量与性能的前提下,减少开发周期。Among them, the CMDB-based service configuration in the cloud operating system is mainly based on the configurable function of CMDB (Configuration Management Database), which is closely related to all support and service delivery processes, and supports the operation of the process to play the value of configuration information. , so it will also rely on the process to a certain extent to ensure the accuracy of the data. Use CMDB to manage services, realize calling different services under different circumstances, and reduce the development cycle under the premise of ensuring quality and performance.

其中,这里的服务请求中包含用户需要的服务内容,用户可以在CMDB配置管理里面,根据需求配置相应的服务接口,然后,在页面点击某个操作(例如点击发送按钮),向服务器端发起服务请求(配置的服务)。这个功能使得服务配置更加灵活,满足用户在不同环境下的不同需求。Among them, the service request here contains the service content required by the user. The user can configure the corresponding service interface according to the requirements in the CMDB configuration management, and then click an operation on the page (for example, click the send button) to initiate the service to the server. request (configured service). This function makes the service configuration more flexible to meet the different needs of users in different environments.

即利用CMDB配置的CURD功能对服务的增删改查操作。服务并不是一成不变的,不同的场景、不同的环境,都有可能需要不同的结果,单一的、不可修改、不可控制的服务并不能满足用户的需求;一种服务有多种实现方式,如政府机关的无代理以及互联网代理监控,linux不同操作系统在线安装指令等,网络、agent、OS、数据库等不同的场景需要不同的处理方式;用户群体的增多,需求的添加、变更、删除,都会导致相应的服务做出改变,或删、或加、或修改。用户根据自身需要发送对应服务请求。即可选的,客户根据自身的需求,修改服务接口,以获取相应数据。That is, using the CURD function of the CMDB configuration to add, delete, modify, and query services. Services are not static. Different scenarios and environments may require different results. A single, unmodifiable, and uncontrollable service cannot meet the needs of users; a service can be implemented in multiple ways, such as government Agentless and Internet agent monitoring of agencies, online installation instructions of different Linux operating systems, etc., different scenarios such as network, agent, OS, database, etc. require different processing methods; the increase of user groups, and the addition, change, and deletion of requirements will all lead to Corresponding service to make changes, or delete, or add, or modify. Users send corresponding service requests according to their own needs. That is, customers can modify the service interface according to their own needs to obtain corresponding data.

S110、根据所述服务请求,确定所述用户配置的服务接口;S110. Determine the service interface configured by the user according to the service request;

S120、根据Rest API接口参数,调用所述用户配置的服务接口对应的服务;S120, calling the service corresponding to the service interface configured by the user according to the Rest API interface parameter;

S130、将所述服务返回给所述用户。S130. Return the service to the user.

其中,用户发送的服务请求,确定用户所需要的服务,并根据Rest API接口参数,确定对应的范围接口,调用相应服务,返回结果到客户端。用户根据返回的数据执行服务。Among them, the service request sent by the user determines the service required by the user, and according to the Rest API interface parameters, the corresponding scope interface is determined, the corresponding service is called, and the result is returned to the client. The user performs the service based on the returned data.

基于上述技术方案,用户一次可以请求多个服务,必然会存在这些服务先后执行的问题,这里用户可以根据自身特点设定各个服务的执行顺序;优选的,将所述服务返回给所述用户之后,还包括:Based on the above technical solutions, a user can request multiple services at one time, and there is bound to be a problem that these services are executed successively. Here, the user can set the execution order of each service according to its own characteristics; preferably, after returning the service to the user ,Also includes:

接收所述用户的服务顺序配置请求;receiving a service order configuration request from the user;

根据所述服务顺序配置请求,创建服务执行流程。According to the service sequence configuration request, a service execution flow is created.

其中,利用CMDB配置的服务协调机制:协调各个服务共同完成操作。开发讲究模块化开发,功能实现模块化、方法实现模块化,微观上讲,一个服务是由多个模块共同实现;宏观上讲,一个功能是由多个服务共同完成的。可配置服务允许用户设置服务的运行先后顺序,对新增的功能,如果知道它由那几个服务执行(例如服务a,b,c),那么我们就可以创建一个流程a->c->b,或b->a->c,或c->b->a,不必受限于程序既定的流程。Among them, the service coordination mechanism configured by the CMDB is used: each service is coordinated to complete the operation together. Development pays attention to modular development, which realizes modularization of functions and modularization of methods. Microscopically, a service is implemented by multiple modules; macroscopically, a function is completed by multiple services. Configurable services allow users to set the order in which services are run. For new functions, if we know which services it is executed by (such as services a, b, c), then we can create a process a->c-> b, or b->a->c, or c->b->a, need not be limited by the established flow of the program.

为了提高用户体验,满足用户不断增长的需求,数据库中存储的服务需要及时更新,基于上述任意技术方案,该方法还包括:In order to improve user experience and meet the growing demands of users, the services stored in the database need to be updated in time. Based on any of the above technical solutions, the method further includes:

接收开发者的注册服务请求;Receive the developer's registration service request;

根据所述注册服务请求,注册新的服务。According to the registration service request, a new service is registered.

其中,开发人员在系统或服务器端利用注册服务请求,注册新的服务,系统或服务器端给新增的服务配置相应的Rest API接口参数。Among them, the developer uses the registration service request on the system or server side to register a new service, and the system or server side configures the corresponding Rest API interface parameters for the new service.

由于CMDB还可以配置使用第三方jar包:利用可配置服务管理,实现第三方接口调用。系统或服务器端需要制定一个调用第三方jar包的策略,在CMDB配置里面,指定某个操作调用某个jar包的某个操作,服务器端根据rest API参数调用相应的方法,返回数据。此功能需要入参和出参符合一定的规则。基于上述任意技术方案,该方法还包括:Because CMDB can also be configured to use third-party jar packages: use configurable service management to implement third-party interface calls. The system or server needs to formulate a strategy for calling a third-party jar package. In the CMDB configuration, specify an operation to call an operation of a jar package, and the server calls the corresponding method according to the rest API parameters to return data. This function requires input and output parameters to conform to certain rules. Based on any of the above technical solutions, the method further includes:

接收开发者的第三方jar包插入请求;Receive the developer's third-party jar package insertion request;

根据所述第三方jar包插入请求,配置第三方jar包调用策略。According to the third-party jar package insertion request, a third-party jar package invocation policy is configured.

即开发人员现在系统或服务器端注册服务、插入第三方jar包,保存到数据库,并完成对应的配置参数的设置。That is, the developer now registers the service on the system or server side, inserts the third-party jar package, saves it to the database, and completes the setting of the corresponding configuration parameters.

基于上述技术方案,本发明实施例提供的基于CMDB的服务配置的方法,利用CMDB理念实现服务可配置管理,从配置出发,利用配置调用接口,支持第三方接口,提高系统的兼容性,避免系统的二次开发,提高了开发效率。Based on the above technical solutions, the CMDB-based service configuration method provided by the embodiment of the present invention utilizes the CMDB concept to realize service configurable management, starts from the configuration, uses the configuration to call the interface, supports the third-party interface, improves the compatibility of the system, and avoids the system The secondary development has improved the development efficiency.

本发明实施例提供了基于CMDB的服务配置的方法,在保证质量与性能的前提下,减少开发周期,减少资金、人力投入,保质保量完成项目开发。The embodiment of the present invention provides a CMDB-based service configuration method, and under the premise of ensuring quality and performance, the development cycle is reduced, capital and human input are reduced, and project development is completed with quality and quantity guaranteed.

下面对本发明实施例提供的基于CMDB的服务配置的系统及服务器进行介绍,下文描述的基于CMDB的服务配置的系统及服务器与上文描述的基于CMDB的服务配置的方法可相互对应参照。The CMDB-based service configuration system and server provided by the embodiments of the present invention are described below. The CMDB-based service configuration system and server described below and the CMDB-based service configuration method described above may refer to each other correspondingly.

请参考图2,图2为本发明实施例所提供的基于CMDB的服务配置的系统的结构框图;该系统可以包括:Please refer to FIG. 2, which is a structural block diagram of a system for CMDB-based service configuration provided by an embodiment of the present invention; the system may include:

服务请求模块100,用于接收用户的服务请求;A service request module 100, configured to receive a service request from a user;

接口确定模块200,用于根据所述服务请求,确定所述用户配置的服务接口;An interface determining module 200, configured to determine the service interface configured by the user according to the service request;

调用服务模块300,用于根据Rest API接口参数,调用所述用户配置的服务接口对应的服务;The calling service module 300 is used for calling the service corresponding to the service interface configured by the user according to the Rest API interface parameter;

服务发送模块400,用于将所述服务返回给所述用户。The service sending module 400 is configured to return the service to the user.

基于上述技术方案,该系统还包括:Based on the above technical solution, the system further includes:

顺序配置模块,用于接收所述用户的服务顺序配置请求;根据所述服务顺序配置请求,创建服务执行流程。A sequence configuration module, configured to receive a service sequence configuration request from the user; and create a service execution flow according to the service sequence configuration request.

基于上述任意技术方案,该系统还包括:Based on any of the above technical solutions, the system further includes:

注册服务模块,用于接收开发者的注册服务请求;根据所述注册服务请求,注册新的服务。The registration service module is used to receive a developer's registration service request; and register a new service according to the registration service request.

基于上述任意技术方案,该系统还包括:Based on any of the above technical solutions, the system further includes:

第三方jar包模块,用于接收开发者的第三方jar包插入请求;根据所述第三方jar包插入请求,配置第三方jar包调用策略。The third-party jar package module is used to receive a developer's third-party jar package insertion request; configure the third-party jar package invocation policy according to the third-party jar package insertion request.

本发明还提供一种服务器,包括:上述任意技术方案所述的基于CMDB的服务配置的系统。The present invention also provides a server, including: the system for configuring services based on CMDB described in any of the above technical solutions.

说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the possibilities of hardware and software. Interchangeability, the above description has generally described the components and steps of each example in terms of functionality. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of a method or algorithm described in conjunction with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by a processor, or a combination of the two. A software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.

以上对本发明所提供的基于CMDB的服务配置的方法、系统及服务器系统进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The method, system and server system for CMDB-based service configuration provided by the present invention are described above in detail. The principles and implementations of the present invention are described herein by using specific examples, and the descriptions of the above embodiments are only used to help understand the method and the core idea of the present invention. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, several improvements and modifications can also be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

Claims (7)

1.一种基于CMDB的服务配置的方法,其特征在于,包括:1. a method for service configuration based on CMDB, is characterized in that, comprises: 接收用户的服务请求;其中,所述服务请求包含利用CMDB配置的CURD对服务的增删改查操作;其中,所述CMDB为配置管理数据库;所述CURD为处理数据的基本原子操作;Receive a user's service request; wherein, the service request includes an operation of adding, deleting, modifying, and checking services by using the CURD configured by the CMDB; wherein, the CMDB is a configuration management database; and the CURD is a basic atomic operation for processing data; 根据所述服务请求,确定所述用户配置的服务接口;determining the service interface configured by the user according to the service request; 根据Rest API接口参数,调用所述用户配置的服务接口对应的服务;According to the Rest API interface parameters, call the service corresponding to the service interface configured by the user; 将所述服务返回给所述用户;returning the service to the user; 将所述服务返回给所述用户之后,还包括:After returning the service to the user, it also includes: 接收所述用户的服务顺序配置请求;receiving a service order configuration request from the user; 根据所述服务顺序配置请求,创建服务执行流程。According to the service sequence configuration request, a service execution flow is created. 2.如权利要求1所述的基于CMDB的服务配置的方法,其特征在于,还包括:2. The method for CMDB-based service configuration as claimed in claim 1, further comprising: 接收开发者的注册服务请求;Receive the developer's registration service request; 根据所述注册服务请求,注册新的服务。According to the registration service request, a new service is registered. 3.如权利要求1或2所述的基于CMDB的服务配置的方法,其特征在于,还包括:3. The method for CMDB-based service configuration as claimed in claim 1 or 2, further comprising: 接收开发者的第三方jar包插入请求;Receive the developer's third-party jar package insertion request; 根据所述第三方jar包插入请求,配置第三方jar包调用策略。According to the third-party jar package insertion request, a third-party jar package invocation policy is configured. 4.一种基于CMDB的服务配置的系统,其特征在于,包括:4. a system based on CMDB service configuration, is characterized in that, comprises: 服务请求模块,用于接收用户的服务请求;其中,所述服务请求包含利用CMDB配置的CURD对服务的增删改查操作;其中,所述CMDB为配置管理数据库;所述CURD为处理数据的基本原子操作;The service request module is used to receive the service request of the user; wherein, the service request includes the operation of adding, deleting, modifying and querying the service by using the CURD configured by the CMDB; wherein, the CMDB is a configuration management database; the CURD is the basic data processing database atomic operation; 接口确定模块,用于根据所述服务请求,确定所述用户配置的服务接口;an interface determining module, configured to determine the service interface configured by the user according to the service request; 调用服务模块,用于根据Rest API接口参数,调用所述用户配置的服务接口对应的服务;Calling the service module, for calling the service corresponding to the service interface configured by the user according to the Rest API interface parameters; 服务发送模块,用于将所述服务返回给所述用户;a service sending module, configured to return the service to the user; 将所述服务返回给所述用户之后,还包括:After returning the service to the user, it also includes: 顺序配置模块,用于接收所述用户的服务顺序配置请求;根据所述服务顺序配置请求,创建服务执行流程。A sequence configuration module, configured to receive a service sequence configuration request from the user; and create a service execution flow according to the service sequence configuration request. 5.如权利要求4所述的基于CMDB的服务配置的系统,其特征在于,还包括:5. the system based on CMDB service configuration as claimed in claim 4, is characterized in that, also comprises: 注册服务模块,用于接收开发者的注册服务请求;根据所述注册服务请求,注册新的服务。The registration service module is used to receive a developer's registration service request; and register a new service according to the registration service request. 6.如权利要求4或5所述的基于CMDB的服务配置的系统,其特征在于,还包括:6. the system based on CMDB service configuration as claimed in claim 4 or 5, is characterized in that, also comprises: 第三方jar包模块,用于接收开发者的第三方jar包插入请求;根据所述第三方jar包插入请求,配置第三方jar包调用策略。The third-party jar package module is used to receive a developer's third-party jar package insertion request; according to the third-party jar package insertion request, a third-party jar package invocation policy is configured. 7.一种服务器,其特征在于,包括:如权利要求4至6任一项所述的基于CMDB的服务配置的系统。7 . A server, characterized in that, comprising: the system for CMDB-based service configuration according to any one of claims 4 to 6 . 8 .
CN201610551022.6A 2016-07-13 2016-07-13 Service configuration method, system and server based on CMDB Active CN105939227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610551022.6A CN105939227B (en) 2016-07-13 2016-07-13 Service configuration method, system and server based on CMDB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610551022.6A CN105939227B (en) 2016-07-13 2016-07-13 Service configuration method, system and server based on CMDB

Publications (2)

Publication Number Publication Date
CN105939227A CN105939227A (en) 2016-09-14
CN105939227B true CN105939227B (en) 2020-02-07

Family

ID=56872259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610551022.6A Active CN105939227B (en) 2016-07-13 2016-07-13 Service configuration method, system and server based on CMDB

Country Status (1)

Country Link
CN (1) CN105939227B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710676B (en) * 2018-12-26 2021-07-06 新华三技术有限公司 Data acquisition method and device of CMDB model and electronic equipment

Citations (1)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080183690A1 (en) * 2007-01-26 2008-07-31 Ramachandran Puthukode G Method for providing assistance in making change decisions in a configurable managed environment

Patent Citations (1)

* 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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《CMDB配置管理系统研究及设计》;王刚;《中国优秀硕士学位论文全文数据库信息科技辑》;20160415;第I138-718页 *

Also Published As

Publication number Publication date
CN105939227A (en) 2016-09-14

Similar Documents

Publication Publication Date Title
US10637796B2 (en) Linking instances within a cloud computing environment
US9811370B2 (en) Determining an optimal datacenter for placing a resource instance in a cloud that would benefit an intended set of end users in a geographical region
CN110163755B (en) Blockchain-based data compression, query method and device and electronic equipment
US10397051B1 (en) Configuration and testing of network-based service platform resources using a service platform specific language
WO2019057055A1 (en) Task processing method and apparatus, electronic device, and storage medium
CN109582452A (en) A kind of container dispatching method, dispatching device and electronic equipment
CN113110982A (en) Data access layer verification method and device, storage medium and electronic device
KR102738473B1 (en) Adaptive state management for stateless services
CN116360918A (en) Modeling data processing method, modeling data processing device, computer equipment and storage medium
CN105939227B (en) Service configuration method, system and server based on CMDB
CN111930783A (en) Monitoring method, monitoring system and computing device
CN111078571B (en) Test method for analog response, terminal equipment and computer readable storage medium
CN108696559A (en) Method for stream processing and device
CN112036576A (en) Data processing method and device based on data form and electronic equipment
US12020022B2 (en) In-band instantiation configuration for application workloads
CN117273924A (en) Transaction execution method and device and electronic equipment
US11042426B2 (en) Utilizing reusable AJAX requests
CN113469814A (en) Method and device for determining transaction duration data
dos Santos FaaS-utility
CN112000496A (en) Access method, device and implementation method of third-party source API
CN105450743A (en) Realization method of regularly pushing advertisement data, system and wireless access point
CN111552578A (en) Third-party interface calling method and device
CN106156339B (en) Access method, device and system of policy management system
CN114579180B (en) Method, device, electronic device and storage medium for data migration
CN117201318A (en) Asynchronous business processing methods, devices, equipment and media

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20191210

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road to information on the ground floor, building 2-1, No. 1, C

Applicant before: INSPUR (BEIJING) ELECTRONIC INFORMATION INDUSTRY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province

Patentee after: Suzhou Yuannao Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province

Patentee before: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Country or region before: China