CN112860292A - Configuration management method and device based on application - Google Patents

Configuration management method and device based on application Download PDF

Info

Publication number
CN112860292A
CN112860292A CN202110201590.4A CN202110201590A CN112860292A CN 112860292 A CN112860292 A CN 112860292A CN 202110201590 A CN202110201590 A CN 202110201590A CN 112860292 A CN112860292 A CN 112860292A
Authority
CN
China
Prior art keywords
application
configuration information
configuration
information
server
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
CN202110201590.4A
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202110201590.4A priority Critical patent/CN112860292A/en
Publication of CN112860292A publication Critical patent/CN112860292A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Abstract

An application-based configuration management method may be performed by a first server. The first server may obtain configuration information of a first application, where the configuration information of the first application includes service-level configuration information and application-level configuration information, the service-level configuration information is used to indicate an association relationship between the first application and other applications, and the application-level configuration information is used to indicate internal processing logic of the first application. After the first server obtains the configuration information of the first application, the configuration information of the first application may be saved. Since the first server stores the configuration information of the first application, the first server may implement automation of issuing the first application based on the configuration information of the first application, that is, the first server may issue the configuration information of the first application to a device that needs to run the first application. The scheme can realize the automation of the first application release.

Description

Configuration management method and device based on application
Technical Field
The present application relates to the field of computers, and in particular, to a configuration management method and apparatus based on an application.
Background
With the development of computer technology, more and more applications are emerging. How to manage the applications so as to realize the automation of application release is a problem which is urgently needed to be solved at present.
Disclosure of Invention
The technical problem to be solved by the application is how to realize automation of application release, and an application-based configuration management method is provided.
In a first aspect, an embodiment of the present application provides an application-based configuration management method, which is executed by a first server, and includes:
acquiring configuration information of a first application, wherein the configuration information of the first application comprises: configuration information of a business level and configuration information of an application level, wherein the configuration information of the business level is used for indicating an incidence relation between the first application and other applications, and the configuration information of the application level is used for indicating internal processing logic of the first application;
and saving the configuration information of the first application.
Optionally, the method further includes:
and sending the configuration information of the first application to a client.
Optionally, before sending the configuration information of the first application to the client, the method further includes:
receiving a first request sent by the client, wherein the first request is used for requesting the configuration information of the first application;
the sending the configuration information of the first application to the client includes:
and sending the configuration information of the first application to the client according to the first request.
Optionally, the method further includes:
receiving configuration updating information sent by the client, wherein the configuration updating information is used for updating the configuration information of the first application, and the configuration updating information is input on a configuration updating interface displayed by the client by a user;
updating the configuration information of the first application by using the configuration updating information;
and saving the updated configuration information of the first application.
Optionally, the method further includes:
and sending the configuration information of the first application to a second server, wherein the configuration information of the first application is used for enabling the second server to construct a test environment of the first application.
In a second aspect, an embodiment of the present application provides an application-based configuration management apparatus, applied to a first server, the apparatus including:
an obtaining unit, configured to obtain configuration information of a first application, where the configuration information of the first application includes: configuration information of a business level and configuration information of an application level, wherein the configuration information of the business level is used for indicating an incidence relation between the first application and other applications, and the configuration information of the application level is used for indicating internal processing logic of the first application;
and the first storage unit is used for storing the configuration information of the first application.
Optionally, the apparatus further comprises:
and the first sending unit is used for sending the configuration information of the first application to a client.
Optionally, the apparatus further comprises:
a first receiving unit, configured to receive a first request sent by the client, where the first request is used to request configuration information of the first application;
the first sending unit is configured to send the configuration information of the first application to the client according to the first request.
Optionally, the apparatus further comprises:
a second receiving unit, configured to receive configuration update information sent by the client, where the configuration update information is used to update configuration information of the first application, and the configuration update information is input by a user on a configuration update interface displayed by the client;
an updating unit, configured to update the configuration information of the first application by using the configuration update information;
and the second storage unit is used for storing the updated configuration information of the first application.
Optionally, the apparatus further comprises:
and a second sending unit, configured to send the configuration information of the first application to a second server, where the configuration information of the first application is used to enable the second server to construct a test environment of the first application.
Compared with the prior art, the embodiment of the application has the following advantages:
the embodiment of the application provides an application-based configuration management method, which can be executed by a first server. Specifically, the method comprises the following steps: the first server may obtain configuration information of a first application, where the configuration information of the first application includes service-level configuration information and application-level configuration information, the service-level configuration information is used to indicate an association relationship between the first application and other applications, and the application-level configuration information is used to indicate internal processing logic of the first application. After the first server obtains the configuration information of the first application, the configuration information of the first application may be saved. Since the first server stores the configuration information of the first application, the first server may implement automation of issuing the first application based on the configuration information of the first application, that is, the first server may issue the configuration information of the first application to a device that needs to run the first application. Therefore, by the scheme, the first application publishing can be automatically realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of an application-based configuration management method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an application-based configuration management apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Various non-limiting embodiments of the present application are described in detail below with reference to the accompanying drawings.
Exemplary method
Referring to fig. 1, the figure is a schematic flowchart of an application-based configuration management method according to an embodiment of the present application. In this embodiment, the method may include, for example, the steps of:
s101: acquiring configuration information of a first application, wherein the configuration information of the first application comprises: configuration information of a service level and configuration information of an application level, wherein the configuration information of the service level is used for indicating an association relationship between the first application and other applications, and the configuration information of the application level is used for indicating internal processing logic of the first application.
In an example of the embodiment of the present application, a Configuration Management Database (CMDB) Configuration Management model may be constructed, and the CMDB model may include Configuration information of the first application. The CMDB configuration management model can also comprise configuration information of other applications besides the configuration information of the first application. The application mentioned here may be an application used by a banking system for processing a transaction. In some examples, an application may also be referred to as a module.
It will be appreciated that in a banking system, there is a certain association between businesses and, therefore, there is also a certain association between applications for processing businesses, and therefore, the configuration information of the first application includes configuration information of a business hierarchy, and the configuration information of the business hierarchy is used to indicate the association between the first application and other applications. For example, the following steps are carried out: the first application is configured to process a first service, the second application is configured to process a second service, and a certain association relationship exists between the first service and the second service, so that the configuration information of the service hierarchy of the first application may include an association relationship between the first application and the second application.
As mentioned above, the first application may be configured to process the first service, and thus, the configuration information of the first application may further include processing logic configured to implement the first service. The processing logic mentioned herein for implementing the first service may also be referred to as internal processing logic of said first application. The application-level configuration information of the first application may include, for example, a software package of the first application, a device type in which the first application may run, and the like.
S102: and saving the configuration information of the first application.
After the first server obtains the configuration information of the first application, the configuration information of the first application may be saved. Since the first server stores the configuration information of the first application, the first server may implement automation of issuing the first application based on the configuration information of the first application, that is, the first server may issue the configuration information of the first application to a device that needs to run the first application. Therefore, by the scheme, the first application publishing can be automatically realized.
In one example, after the first server stores the configuration information of the first application, the configuration information of the first application may be pushed to the client by using a long connection channel between the first server and the client.
In yet another example, a client may actively request configuration information of the first application from the first server. Specifically, the method comprises the following steps: the client may send a first request to the first server, where the first request may include, for example, an identifier of a first application, and the first request is for requesting configuration information of the first application. The first server may send configuration information of the first application to the client after receiving the first request.
It should be noted that the above-described method may be performed periodically. It is understood that the configuration information of the first application may be updated, and therefore, the above-described method may be periodically performed, so that the client may also obtain the latest configuration information of the first application when the configuration information of the first application is updated.
In one example, the client may be provided with a configuration update interface, and a user may perform a corresponding operation on the configuration update interface, so as to update the configuration information of the first application. In one example, a user may, for example, enter configuration update information on the configuration update interface, the configuration update information being used to update configuration information of the first application. After the user inputs the configuration update information on the configuration update interface, the client may send the configuration update information to the first server. After receiving the configuration update information sent by the client, the first server may update the configuration information of the first application by using the configuration update information, and store the updated configuration information of the first application. At this point, the first server completes updating the configuration information of the first application.
With regard to the configuration update information, it should be noted that the configuration update information may include values of one or more configuration parameters of the first application. For example, the configuration update information may include a value of a first configuration parameter. After receiving the value of the first configuration parameter, the first server may modify the originally stored value of the first configuration parameter to the received value of the first configuration parameter, thereby implementing updating of the configuration information of the first application.
In an example, the first server may further send configuration information of the first application to a second server, where the second server is a server for testing the first application. In one example, the first server may send configuration information of the first application to the second server based on a request of the second server. For example, the first server may receive a second request sent by the second server, and then send the configuration information of the first application to the second server according to the second request. Wherein: the second request is used for requesting configuration information of the first application, and the second request may include, for example, an identifier of the first application.
After the first server sends the configuration information of the first application to the second server, the second server may construct a test environment of the first application according to the configuration information of the first application, and further, may test the first application based on the test environment. Therefore, in this way, the user is not required to manually collect the configuration information of the first application, and the test environment is constructed. The second server can automatically construct the test environment of the first application based on the acquired configuration information of the first application, so that the efficiency of constructing the test environment is improved, and the efficiency of testing the first application is further improved.
Exemplary device
Based on the method provided by the above embodiment, the embodiment of the present application further provides an apparatus, which is described below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an application-based configuration management apparatus according to an embodiment of the present application. The apparatus 200 may specifically include, for example: an acquisition unit 201 and a first holding unit 202.
An obtaining unit 201, configured to obtain configuration information of a first application, where the configuration information of the first application includes: configuration information of a business level and configuration information of an application level, wherein the configuration information of the business level is used for indicating an incidence relation between the first application and other applications, and the configuration information of the application level is used for indicating internal processing logic of the first application;
a first saving unit 202, configured to save configuration information of the first application.
Optionally, the apparatus further comprises:
and the first sending unit is used for sending the configuration information of the first application to a client.
Optionally, the apparatus further comprises:
a first receiving unit, configured to receive a first request sent by the client, where the first request is used to request configuration information of the first application;
the first sending unit is configured to send the configuration information of the first application to the client according to the first request.
Optionally, the apparatus further comprises:
a second receiving unit, configured to receive configuration update information sent by the client, where the configuration update information is used to update configuration information of the first application, and the configuration update information is input by a user on a configuration update interface displayed by the client;
an updating unit, configured to update the configuration information of the first application by using the configuration update information;
and the second storage unit is used for storing the updated configuration information of the first application.
Optionally, the apparatus further comprises:
and a second sending unit, configured to send the configuration information of the first application to a second server, where the configuration information of the first application is used to enable the second server to construct a test environment of the first application.
Since the apparatus 200 is an apparatus corresponding to the method provided in the above method embodiment, and the specific implementation of each unit of the apparatus 200 is the same as that of the above method embodiment, for the specific implementation of each unit of the apparatus 200, reference may be made to the description part of the above method embodiment, and details are not repeated here.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the attached claims
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. An application-based configuration management method, performed by a first server, the method comprising:
acquiring configuration information of a first application, wherein the configuration information of the first application comprises: configuration information of a business level and configuration information of an application level, wherein the configuration information of the business level is used for indicating an incidence relation between the first application and other applications, and the configuration information of the application level is used for indicating internal processing logic of the first application;
and saving the configuration information of the first application.
2. The method of claim 1, further comprising:
and sending the configuration information of the first application to a client.
3. The method of claim 2, wherein prior to sending configuration information for the first application to a client, the method further comprises:
receiving a first request sent by the client, wherein the first request is used for requesting the configuration information of the first application;
the sending the configuration information of the first application to the client includes:
and sending the configuration information of the first application to the client according to the first request.
4. The method of claim 1, further comprising:
receiving configuration updating information sent by the client, wherein the configuration updating information is used for updating the configuration information of the first application, and the configuration updating information is input on a configuration updating interface displayed by the client by a user;
updating the configuration information of the first application by using the configuration updating information;
and saving the updated configuration information of the first application.
5. The method of claim 1, further comprising:
and sending the configuration information of the first application to a second server, wherein the configuration information of the first application is used for enabling the second server to construct a test environment of the first application.
6. An apparatus for application-based configuration management, applied to a first server, the apparatus comprising:
an obtaining unit, configured to obtain configuration information of a first application, where the configuration information of the first application includes: configuration information of a business level and configuration information of an application level, wherein the configuration information of the business level is used for indicating an incidence relation between the first application and other applications, and the configuration information of the application level is used for indicating internal processing logic of the first application;
and the first storage unit is used for storing the configuration information of the first application.
7. The apparatus of claim 6, further comprising:
and the first sending unit is used for sending the configuration information of the first application to a client.
8. The apparatus of claim 7, further comprising:
a first receiving unit, configured to receive a first request sent by the client, where the first request is used to request configuration information of the first application;
the first sending unit is configured to send the configuration information of the first application to the client according to the first request.
9. The apparatus of claim 6, further comprising:
a second receiving unit, configured to receive configuration update information sent by the client, where the configuration update information is used to update configuration information of the first application, and the configuration update information is input by a user on a configuration update interface displayed by the client;
an updating unit, configured to update the configuration information of the first application by using the configuration update information;
and the second storage unit is used for storing the updated configuration information of the first application.
10. The apparatus of claim 6, further comprising:
and a second sending unit, configured to send the configuration information of the first application to a second server, where the configuration information of the first application is used to enable the second server to construct a test environment of the first application.
CN202110201590.4A 2021-02-23 2021-02-23 Configuration management method and device based on application Pending CN112860292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110201590.4A CN112860292A (en) 2021-02-23 2021-02-23 Configuration management method and device based on application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110201590.4A CN112860292A (en) 2021-02-23 2021-02-23 Configuration management method and device based on application

Publications (1)

Publication Number Publication Date
CN112860292A true CN112860292A (en) 2021-05-28

Family

ID=75990019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110201590.4A Pending CN112860292A (en) 2021-02-23 2021-02-23 Configuration management method and device based on application

Country Status (1)

Country Link
CN (1) CN112860292A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115061717A (en) * 2022-06-30 2022-09-16 北京亚控科技发展有限公司 Application management method, application subscription method and related equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115061717A (en) * 2022-06-30 2022-09-16 北京亚控科技发展有限公司 Application management method, application subscription method and related equipment
CN115061717B (en) * 2022-06-30 2023-09-05 北京亚控科技发展有限公司 Application management method, application subscription method and related equipment

Similar Documents

Publication Publication Date Title
CN107729139B (en) Method and device for concurrently acquiring resources
CN110601952A (en) Multi-channel message notification sending method and device
CN111460129B (en) Method, device, electronic equipment and storage medium for generating identification
CN109783151B (en) Method and device for rule change
CN112905323B (en) Data processing method, device, electronic equipment and storage medium
CN110727560A (en) Cloud service alarm method and device
CN110581893B (en) Data transmission method and device, routing equipment, server and storage medium
CN114090366A (en) Method, device and system for monitoring data
CN110784377A (en) Method for uniformly managing cloud monitoring data in multi-cloud environment
CN115114044A (en) Message pushing method, device, equipment and medium
CN113900907B (en) Mapping construction method and system
CN107729213A (en) A kind of background task monitoring method and device
CN112860292A (en) Configuration management method and device based on application
CN110737655B (en) Method and device for reporting data
CN110928594A (en) Service development method and platform
CN110807535A (en) Construction method and construction device of unified reservation platform and unified reservation platform system
CN111831503B (en) Monitoring method based on monitoring agent and monitoring agent device
CN112948138A (en) Method and device for processing message
CN114841678B (en) Post data exchange method, data exchange system, server and storage medium
CN111190625A (en) APP version upgrading method, server, client and computer readable storage medium
CN112491943A (en) Data request method, device, storage medium and electronic equipment
CN115455097A (en) Wind control data processing method, system, computer equipment and storage medium
CN112187916A (en) Cross-system data synchronization method and device
CN113743630A (en) Method and device for executing intelligent call reservation
CN112507193A (en) Data updating method, device, 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