CN116382765A - Application configuration release system and method - Google Patents

Application configuration release system and method Download PDF

Info

Publication number
CN116382765A
CN116382765A CN202310151855.3A CN202310151855A CN116382765A CN 116382765 A CN116382765 A CN 116382765A CN 202310151855 A CN202310151855 A CN 202310151855A CN 116382765 A CN116382765 A CN 116382765A
Authority
CN
China
Prior art keywords
configuration
application
subsystem
release
target
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
CN202310151855.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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd, Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202310151855.3A priority Critical patent/CN116382765A/en
Publication of CN116382765A publication Critical patent/CN116382765A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The application provides an application configuration release system and method, which relate to the technical field of computers, and the method comprises the following steps: the approval subsystem performs rationality verification and approval on the target configuration under the condition of receiving a configuration release application initiated by the application subsystem; the target configuration is a configuration which is indicated by the configuration release application and needs to be released in a configuration center; after finishing verification and approval of the configuration release application, the approval subsystem sends configuration release information to the configuration release subsystem; and the configuration release subsystem releases the target configuration to a target configuration center indicated by the configuration release information under the condition of receiving the configuration release information. The application configuration release system and the application configuration release method are used for realizing the automation of configuration release, reducing the misoperation probability and improving the research and development efficiency.

Description

应用配置发布系统及方法Application configuration release system and method

技术领域technical field

本申请涉及计算机技术领域,尤其涉及一种应用配置发布系统及方法。The present application relates to the field of computer technology, and in particular to an application configuration release system and method.

背景技术Background technique

随着微服务系统架构的广泛应用,为了提高应用部署的灵活性,在基于微服务系统架构的应用系统中引入了配置中心服务(包括:Apollo配置中心、Nacos配置中心等),实现了应用代码与配置的分离。With the wide application of microservice system architecture, in order to improve the flexibility of application deployment, configuration center services (including: Apollo configuration center, Nacos configuration center, etc.) Separation from configuration.

在相关技术中,开发人员可以根据部署环境、业务背景等,对配置中心中的相关配置进行修改和调整,即可实现应用的适应性部署,无需对应用代码进行修改。In related technologies, developers can modify and adjust relevant configurations in the configuration center according to the deployment environment, business background, etc., so as to realize adaptive deployment of applications without modifying application codes.

然而,相关技术中的配置发布方式,需要开发人员提交配置发布工单,再由运维人员根据配置发布工单在配置中心的控制台进行手动操作,将相关配置发布到配置中心。这样配置发布方式由于需要人工进行操作,有很高的误操作概率,不仅维护成本高,还在一定程度上降低了研发效率。However, the configuration release method in related technologies requires developers to submit configuration release work orders, and then operation and maintenance personnel perform manual operations on the console of the configuration center according to the configuration release work orders to release the relevant configurations to the configuration center. Since this configuration release method requires manual operations, there is a high probability of misoperation, which not only increases maintenance costs, but also reduces research and development efficiency to a certain extent.

发明内容Contents of the invention

本申请的目的是提供一种应用配置发布系统及方法,用于实现配置发布的自动化,降低误操作概率,提高研发效率。The purpose of this application is to provide an application configuration release system and method, which are used to realize the automation of configuration release, reduce the probability of misoperation, and improve the efficiency of research and development.

第一方面,本申请提供一种应用配置发布系统,包括:申请子系统,审批子系统,配置发布子系统;In the first aspect, the present application provides an application configuration release system, including: an application subsystem, an approval subsystem, and a configuration release subsystem;

所述审批子系统,用于在接收所述申请子系统发起的配置发布申请的情况下,对目标配置进行合理性验证和审批;所述目标配置为所述配置发布申请指示的需要在目标配置中心发布的配置;所述审批子系统,还用于在完成对于所述配置发布申请的验证和审批后,向所述配置发布子系统发送配置发布信息;所述配置发布子系统,用于在接收到所述配置发布信息的情况下,将所述目标配置发布到所述配置发布信息指示的目标配置中心。The approval subsystem is used to verify the rationality and approve the target configuration when receiving the configuration release application initiated by the application subsystem; The configuration released by the center; the approval subsystem is also used to send configuration release information to the configuration release subsystem after completing the verification and approval of the configuration release application; the configuration release subsystem is used to When the configuration release information is received, release the target configuration to the target configuration center indicated by the configuration release information.

可选地,所述申请子系统,用于从所述目标配置中心获取应用列表,并向申请人展示所述应用列表;所述应用列表包括:至少一个应用;所述申请子系统,还用于基于申请人从所述应用列表中选择的目标应用,从目标配置中心获取与所述目标应用相关的多个配置。Optionally, the application subsystem is configured to obtain an application list from the target configuration center, and display the application list to the applicant; the application list includes: at least one application; the application subsystem is also configured to use Based on the target application selected by the applicant from the application list, multiple configurations related to the target application are obtained from the target configuration center.

可选地,所述申请子系统,还用于基于申请人从所述多个配置中选择的需要修改的待调整配置,以及申请人提交的用于替换所述待调整配置的目标配置,向所述审批子系统发起所述配置发布申请;其中,所述配置发布申请包括:所述目标应用的应用标识,所述待调整配置的配置标识,所述目标配置。Optionally, the application subsystem is further configured to send to The approval subsystem initiates the configuration release application; wherein, the configuration release application includes: the application identifier of the target application, the configuration identifier of the configuration to be adjusted, and the target configuration.

可选地,所述申请子系统,还用于基于申请人提交的所述目标配置,向所述审批子系统发起所述配置发布申请;其中,所述配置发布申请包括:所述目标应用的应用标识,所述目标配置;所述配置发布申请用于将所述目标配置增加到所述目标应用的配置项中。Optionally, the application subsystem is further configured to initiate the configuration release application to the approval subsystem based on the target configuration submitted by the applicant; wherein, the configuration release application includes: the target application Application identifier, the target configuration; the configuration release application is used to add the target configuration to the configuration items of the target application.

可选地,所述申请子系统,还用于基于申请人从所述多个配置中选择的需要删除的所述目标配置,向所述审批子系统发起所述配置发布申请;其中,所述配置发布申请包括:所述目标应用的应用标识,所述目标配置;所述配置发布申请用于将所述目标配置从所述目标应用的配置项中删除。Optionally, the application subsystem is further configured to initiate the configuration release application to the approval subsystem based on the target configuration selected by the applicant from the multiple configurations that needs to be deleted; wherein, the The configuration release application includes: the application identifier of the target application, and the target configuration; the configuration release application is used to delete the target configuration from the configuration items of the target application.

可选地,所述审批子系统,具体用于在接收所述申请子系统发起的配置发布申请的情况下,将所述目标配置发布到测试环境中进行合理性验证,并在验证通过后,提交至审核人进行二次审核;所述审批子系统,具体还用于在审核人对所述配置发布申请进行二次审核后,完成对所述配置发布申请的验证和审批。Optionally, the approval subsystem is specifically configured to release the target configuration to the test environment for rationality verification after receiving the configuration release application initiated by the application subsystem, and after the verification is passed, Submit to the reviewer for a second review; the approval subsystem is specifically used to complete the verification and approval of the configuration release application after the reviewer conducts a second review of the configuration release application.

可选地,所述配置发布子系统,具体用于在接收到所述配置发布信息的情况下,基于所述配置发布信息确定所述目标配置中心的技术类型,并调用与所述目标配置中心的技术类型相对应的配置发布接口,将所述目标配置发布到所述目标配置中心。Optionally, the configuration release subsystem is specifically configured to determine the technology type of the target configuration center based on the configuration release information when receiving the configuration release information, and call the target configuration center to The configuration publishing interface corresponding to the technology type of the target configuration is published to the target configuration center.

第二方面,本申请还提供一种应用配置发布方法,应用于第一方面提供的配置发布系统,该方法包括:In the second aspect, the present application also provides an application configuration publishing method, which is applied to the configuration publishing system provided in the first aspect, and the method includes:

所述审批子系统在接收所述申请子系统发起的配置发布申请的情况下,对目标配置进行合理性验证和审批;所述目标配置为所述配置发布申请指示的需要在目标配置中心发布的配置;所述审批子系统在完成对于所述配置发布申请的验证和审批后,向所述配置发布子系统发送配置发布信息;所述配置发布子系统在接收到所述配置发布信息的情况下,将所述目标配置发布到所述配置发布信息指示的目标配置中心。When the approval subsystem receives the configuration release application initiated by the application subsystem, it verifies and approves the rationality of the target configuration; the target configuration is the one indicated by the configuration release application and needs to be released in the target configuration center configuration; the approval subsystem sends configuration release information to the configuration release subsystem after completing the verification and approval of the configuration release application; the configuration release subsystem receives the configuration release information , publishing the target configuration to the target configuration center indicated by the configuration publishing information.

可选地,所述审批子系统在接收所述申请子系统发起的配置发布申请的情况下,对目标配置进行合理性验证和审批之前,所述方法还包括:所述申请子系统从所述目标配置中心获取应用列表,并向申请人展示所述应用列表;所述应用列表包括:至少一个应用;所述申请子系统基于申请人从所述应用列表中选择的目标应用,从目标配置中心获取与所述目标应用相关的多个配置。Optionally, when the approval subsystem receives the configuration release application initiated by the application subsystem, before performing rationality verification and approval on the target configuration, the method further includes: the application subsystem obtains from the The target configuration center acquires an application list, and displays the application list to the applicant; the application list includes: at least one application; the application subsystem selects the target application from the target configuration center based on the applicant's selection from the application list. Obtain multiple configurations related to the target application.

可选地,所述申请子系统基于申请人从所述应用列表中选择的目标应用,从目标配置中心获取与所述目标应用相关的多个配置之后,所述方法还包括:所述申请子系统基于申请人从所述多个配置中选择的需要修改的待调整配置,以及申请人提交的用于替换所述待调整配置的目标配置,向所述审批子系统发起所述配置发布申请;其中,所述配置发布申请包括:所述目标应用的应用标识,所述待调整配置的配置标识,所述目标配置。Optionally, after the application subsystem obtains multiple configurations related to the target application from the target configuration center based on the target application selected by the applicant from the application list, the method further includes: the application subsystem The system initiates the configuration release application to the approval subsystem based on the configuration to be adjusted that needs to be modified selected by the applicant from the plurality of configurations, and the target configuration submitted by the applicant for replacing the configuration to be adjusted; Wherein, the configuration release application includes: the application identifier of the target application, the configuration identifier of the configuration to be adjusted, and the target configuration.

可选地,所述申请子系统基于申请人从所述应用列表中选择的目标应用,从目标配置中心获取与所述目标应用相关的多个配置之后,所述方法还包括:所述申请子系统基于申请人提交的所述目标配置,向所述审批子系统发起所述配置发布申请;其中,所述配置发布申请包括:所述目标应用的应用标识,所述目标配置;所述配置发布申请用于将所述目标配置增加到所述目标应用的配置项中。Optionally, after the application subsystem obtains multiple configurations related to the target application from the target configuration center based on the target application selected by the applicant from the application list, the method further includes: the application subsystem The system initiates the configuration release application to the approval subsystem based on the target configuration submitted by the applicant; wherein, the configuration release application includes: the application identification of the target application, the target configuration; the configuration release The application is used to add the target configuration to the configuration item of the target application.

可选地,所述申请子系统基于申请人从所述应用列表中选择的目标应用,从目标配置中心获取与所述目标应用相关的多个配置之后,所述方法还包括:所述申请子系统基于申请人从所述多个配置中选择的需要删除的所述目标配置,向所述审批子系统发起所述配置发布申请;其中,所述配置发布申请包括:所述目标应用的应用标识,所述目标配置;所述配置发布申请用于将所述目标配置从所述目标应用的配置项中删除。Optionally, after the application subsystem obtains multiple configurations related to the target application from the target configuration center based on the target application selected by the applicant from the application list, the method further includes: the application subsystem The system initiates the configuration release application to the approval subsystem based on the target configuration selected by the applicant to be deleted from the plurality of configurations; wherein the configuration release application includes: the application identification of the target application , the target configuration; the configuration release application is used to delete the target configuration from the configuration items of the target application.

可选地,所述审批子系统在接收所述申请子系统发起的配置发布申请的情况下,对目标配置进行合理性验证和审批,包括:所述审批子系统在接收所述申请子系统发起的配置发布申请的情况下,将所述目标配置发布到测试环境中进行合理性验证,并在验证通过后,提交至审核人进行二次审核;所述审批子系统在审核人对所述配置发布申请进行二次审核后,完成对所述配置发布申请的验证和审批。Optionally, when the approval subsystem receives the configuration release application initiated by the application subsystem, it verifies the rationality and approves the target configuration, including: the approval subsystem receives the application subsystem initiated by the application subsystem In the case of a configuration release application, the target configuration is released to the test environment for rationality verification, and after the verification is passed, it is submitted to the reviewer for a second review; After the second review of the release application, the verification and approval of the configuration release application is completed.

可选地,所述配置发布子系统在接收到所述配置发布信息的情况下,将所述目标配置发布到所述配置发布信息指示的目标配置中心,包括:所述配置发布子系统在接收到所述配置发布信息的情况下,基于所述配置发布信息确定所述目标配置中心的技术类型,并调用与所述目标配置中心的技术类型相对应的配置发布接口,将所述目标配置发布到所述目标配置中心。Optionally, when the configuration release subsystem receives the configuration release information, release the target configuration to the target configuration center indicated by the configuration release information, including: the configuration release subsystem receives When the configuration publishing information is received, determine the technology type of the target configuration center based on the configuration publishing information, and call the configuration publishing interface corresponding to the technology type of the target configuration center to publish the target configuration to the target configuration center.

第三方面,本申请还提供一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现如上述第二方面提供的任一种所述应用配置发布方法的步骤。In a third aspect, the present application further provides a computer program product, including a computer program/instruction, and when the computer program/instruction is executed by a processor, the steps of any one of the application configuration publishing methods provided in the above-mentioned second aspect are implemented.

本申请还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述第二方面提供的任一种所述应用配置发布方法的步骤。The present application also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, any one of the above-mentioned second aspects is implemented. Steps of the application configuration publishing method.

本申请还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述第二方面提供的任一种所述应用配置发布方法的步骤。The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the application configuration publishing methods provided in the above-mentioned second aspect are implemented.

本申请提供的应用配置发布系统及方法,审批子系统在接收申请子系统发起的配置发布申请的情况下,对目标配置进行合理性验证和审批;目标配置为配置发布申请指示的需要在配置中心发布的配置。审批子系统在完成对于配置发布申请的验证和审批后,向配置发布子系统发送配置发布信息。配置发布子系统在接收到配置发布信息的情况下,将目标配置发布到配置发布信息指示的目标配置中心。如此,通过自动化发布方式替代传统的人工发布方式,不仅降低了人工误操作的概率,还能够在一定程度上提高研发效率。In the application configuration release system and method provided by this application, the approval subsystem will verify the rationality and approve the target configuration when receiving the configuration release application initiated by the application subsystem; Published configuration. After the approval subsystem completes the verification and approval of the configuration release application, it sends configuration release information to the configuration release subsystem. When the configuration release subsystem receives the configuration release information, it releases the target configuration to the target configuration center indicated by the configuration release information. In this way, replacing the traditional manual release method with an automated release method not only reduces the probability of manual misoperation, but also improves R&D efficiency to a certain extent.

附图说明Description of drawings

为了更清楚地说明本申请或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the present application or the prior art, the following will briefly introduce 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 the For some embodiments of the present invention, those of ordinary skill in the art can also obtain other drawings based on these drawings on the premise of not paying creative efforts.

图1是本申请提供的应用配置发布系统的示意图之一;FIG. 1 is one of the schematic diagrams of the application configuration publishing system provided by the present application;

图2是本申请提供的应用配置发布方法的流程示意图之一;Fig. 2 is one of the schematic flow charts of the application configuration release method provided by the present application;

图3是本申请提供的应用配置发布方法的流程示意图之一;Fig. 3 is one of the schematic flow charts of the application configuration release method provided by the present application;

图4是本申请提供的应用配置发布系统的示意图之二;Fig. 4 is the second schematic diagram of the application configuration release system provided by this application;

图5是本申请提供的电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device provided by the present application.

具体实施方式Detailed ways

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

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.

常用的有配置中心包括:Apollo配置中心、Nacos配置中心等,传统的方式配置上线发布方式,需要开发人员提交上线工单,运维人员根据配置发布工单,登录配置中心系统控制台,以应用为维度,手动操作触发应用配置发布。随着业务规模增长和微服务数量的增长,每次配置发布过程中,都需要进行手动操作,发布大量应用的相关配置,这样的配置发布方式存在大量重复机械式的运维配置工作,很大程度上降低了研发交付效率。Commonly used configuration centers include: Apollo configuration center, Nacos configuration center, etc. In the traditional way of configuring the online release method, developers need to submit online work orders, and operation and maintenance personnel issue work orders according to the configuration, and log in to the configuration center system console to apply For dimensions, manual actions trigger application configuration publishing. With the growth of business scale and the number of microservices, manual operations are required to release a large number of application-related configurations during each configuration release process. This configuration release method involves a lot of repetitive mechanical operation and maintenance configuration work, which is very large. Reduced the efficiency of R&D delivery to a certain extent.

针对相关技术中存在的上述技术问题,本申请实施例提供了一种应用配置发布方法,通过数字化审批流,实现应配置发布的自动化,降低人工运维成本,提高研发交付效率。In view of the above-mentioned technical problems existing in related technologies, the embodiment of the present application provides a method for releasing application configurations, which realizes automation of configuration releases through a digital approval flow, reduces manual operation and maintenance costs, and improves R&D delivery efficiency.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的应用配置发布方法进行详细地说明。The method for releasing the application configuration provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.

如图1所示,为本申请实施例提供的应用配置发布方法所应用的应用配置发布系统,该系统包括:申请子系统、审批子系统,配置发布子系统,以及多个配置中心。上述申请子系统用于方便申请人进行相关配置变更信息的填写,申请子系统基于申请人填写的配置变更信息,向审批子系统发起配置发布申请。As shown in FIG. 1 , the application configuration release system applied to the application configuration release method provided by the embodiment of the present application includes: an application subsystem, an approval subsystem, a configuration release subsystem, and multiple configuration centers. The above-mentioned application subsystem is used to facilitate the applicant to fill in relevant configuration change information. The application subsystem initiates a configuration release application to the approval subsystem based on the configuration change information filled in by the applicant.

基于上述图1所示的应用配置发布系统,如图2所示,为本申请实施例提供的一种应用配置发布方法,该方法可以包括下述步骤201至步骤203:Based on the application configuration release system shown in Figure 1 above, as shown in Figure 2, an application configuration release method provided in the embodiment of the present application may include the following steps 201 to 203:

步骤201、审批子系统在接收所述申请子系统发起的配置发布申请的情况下,对目标配置进行合理性验证和审批。In step 201, the approval subsystem performs rationality verification and approval on the target configuration when receiving the configuration release application initiated by the application subsystem.

其中,所述目标配置为所述配置发布申请指示的需要在目标配置中心发布的配置。Wherein, the target configuration is the configuration indicated by the configuration release application that needs to be released in the target configuration center.

示例性地,申请人根据业务的需求,需要在配置中心中上线相关配置时,可以通过审批子系统发起相关配置的发布申请,即上述配置发布申请。之后,由审批子系统对需要上线的相关配置进行合理性验证和审批。Exemplarily, when the applicant needs to launch relevant configurations in the configuration center according to business requirements, the applicant can initiate a release application for the relevant configurations through the approval subsystem, that is, the above-mentioned configuration release application. Afterwards, the approval subsystem conducts rationality verification and approval for the relevant configurations that need to be launched.

具体地,上述步骤201,可以包括以下步骤201a1和步骤201a2:Specifically, the above step 201 may include the following steps 201a1 and 201a2:

步骤201a1、审批子系统在接收所述申请子系统发起的配置发布申请的情况下,将所述目标配置发布到测试环境中进行合理性验证,并在验证通过后,提交至审核人进行二次审核。Step 201a1. When the approval subsystem receives the configuration release application initiated by the application subsystem, it releases the target configuration to the test environment for rationality verification, and submits it to the reviewer for a second time after the verification is passed. review.

步骤201a2、审批子系统在审核人对所述配置发布申请进行二次审核后,完成对所述配置发布申请的验证和审批。Step 201a2. The approval subsystem completes the verification and approval of the configuration release application after the reviewer conducts a second review of the configuration release application.

示例性地,上述测试环境可以包括配置中心的全量配置的备份,将目标配置在测试环境中发布后,基于该测试环境对发布后的配置进行业务验证,若验证结果符合预期,则可以进一步将该配置发布申请提交至审核人处进行二次审核;若验证结果不符合预期,则可以退回申请人处,由申请人进行调整。Exemplarily, the above-mentioned test environment may include a backup of the full configuration of the configuration center. After the target configuration is released in the test environment, business verification is performed on the released configuration based on the test environment. If the verification result meets expectations, the The configuration release application is submitted to the reviewer for a second review; if the verification result does not meet expectations, it can be returned to the applicant for adjustment.

需要说明的是,上述测试环境中的测试可以由测试人员通过人工操作的方式完成测试,也可以由自动化测试脚本完成测试,本申请实施例中对此不做限制,都属于本申请的保护范围。It should be noted that the test in the above test environment can be completed by the tester through manual operation, or the test can be completed by an automated test script, which is not limited in the embodiments of the present application, and all belong to the protection scope of the present application .

示例性地,审核人对通过合理性验证的配置发布申请进行人工审核后,便可以提交至配置发布子系统,由该配置发布子系统进行自动化操作,完成目标配置的发布。Exemplarily, after the reviewer manually reviews the configuration release application that has passed the rationality verification, it can submit it to the configuration release subsystem, and the configuration release subsystem performs an automatic operation to complete the release of the target configuration.

步骤202、审批子系统在完成对于所述配置发布申请的验证和审批后,向所述配置发布子系统发送配置发布信息。In step 202, the approval subsystem sends configuration release information to the configuration release subsystem after completing the verification and approval of the configuration release application.

示例性地,由于配置发布子系统负责多个配置中心的配置发布,因此,配置发布子系统需要根据接收到的配置发布信息确定需要进行配置发布的配置中心,并根据该配置中心的技术类型,调用对应的配置发布接口,完成相关配置的发布。上述配置发布接口为对相关配置中心提供的配置发布功能的应用程序接口(Application Programming Interface,API)进行封装后得到的。Exemplarily, since the configuration release subsystem is responsible for the configuration release of multiple configuration centers, the configuration release subsystem needs to determine the configuration center that needs to perform configuration release according to the received configuration release information, and according to the technology type of the configuration center, Call the corresponding configuration release interface to complete the release of related configurations. The above-mentioned configuration release interface is obtained by encapsulating an application programming interface (Application Programming Interface, API) of a configuration release function provided by a relevant configuration center.

举例说明,以配置发布子系统负责配置发布的配置中心包括配置中心A和配置中心B为例,配置中心A为Apollo配置中心,配置中心B为Nacos配置中心。Apollo配置中心与Nacos配置中心的技术类型不同,提供的配置发布API也不同,封装后得到的配置发布接口也不同。因此,需要根据配置中心A以及配置中心B的技术类型来确定需要调用的配置发布接口。For example, take the configuration release subsystem responsible for configuration release as an example, including configuration center A and configuration center B. Configuration center A is the Apollo configuration center, and configuration center B is the Nacos configuration center. The technology types of the Apollo configuration center and the Nacos configuration center are different, and the configuration publishing APIs provided are also different, and the configuration publishing interfaces obtained after packaging are also different. Therefore, it is necessary to determine the configuration release interface that needs to be called according to the technology types of configuration center A and configuration center B.

步骤203、配置发布子系统在接收到所述配置发布信息的情况下,将所述目标配置发布到所述配置发布信息指示的目标配置中心。Step 203: After receiving the configuration release information, the configuration release subsystem releases the target configuration to the target configuration center indicated by the configuration release information.

示例性地,配置发布子系统根据配置发布信息的指示,调用需要进行配置发布的目标配置中心对应的配置发布接口,完成目标配置的发布。Exemplarily, the configuration release subsystem invokes the configuration release interface corresponding to the target configuration center that needs to release the configuration according to the instruction of the configuration release information, and completes the release of the target configuration.

具体地,上述步骤203,还可以包括以下步骤203a:Specifically, the above step 203 may also include the following step 203a:

步骤203a、配置发布子系统在接收到所述配置发布信息的情况下,基于所述配置发布信息确定所述目标配置中心的技术类型,并调用与所述目标配置中心的技术类型相对应的配置发布接口,将所述目标配置发布到所述目标配置中心。Step 203a, when the configuration release subsystem receives the configuration release information, determine the technology type of the target configuration center based on the configuration release information, and invoke the configuration corresponding to the technology type of the target configuration center A publishing interface, publishing the target configuration to the target configuration center.

示例性地,需要进行配置发布的配置中心的相关信息、需要进行配置发布的相关应用以及该应用需要发布的具体配置,均可以包含在配置发布信息中。Exemplarily, the relevant information of the configuration center that needs to release the configuration, the related application that needs to release the configuration, and the specific configuration that needs to be released by the application can all be included in the configuration release information.

举例说明,如图3所示,为本申请实施例提供的应用配置发布方法的流程示意图。申请子系统向审批子系统发起配置发布申请后,审批子系统基于该配置发布申请,完成对相关配置(即上述目标配置)的合理性验证和审批,并向申请子系统异步返回审核结果。之后,审批子系统向配置发布系统发送配置发布信息,配置发布子系统在接收到该配置发布信息后,调用相关配置中心(即上述目标配置中心)的配置发布接口,由配置中心完成相关配置的发布。For example, as shown in FIG. 3 , it is a schematic flow chart of the application configuration release method provided by the embodiment of the present application. After the application subsystem initiates a configuration release application to the approval subsystem, the approval subsystem releases the application based on the configuration, completes the rationality verification and approval of the relevant configuration (that is, the above-mentioned target configuration), and returns the review result to the application subsystem asynchronously. Afterwards, the approval subsystem sends configuration release information to the configuration release system. After receiving the configuration release information, the configuration release subsystem invokes the configuration release interface of the relevant configuration center (namely the above-mentioned target configuration center), and the configuration center completes the relevant configuration. release.

需要说明的是,在本申请实施例中,所有与审核、验证、操作相关的结果,都会及时反馈至申请子系统和审批子系统,以便申请人和审核人能够实时了解配置发布结果,并在出现异常时,能够及时做出处理。It should be noted that in the embodiment of this application, all results related to review, verification, and operation will be fed back to the application subsystem and approval subsystem in a timely manner, so that applicants and reviewers can understand the configuration release results in real time, and When an exception occurs, it can be dealt with in a timely manner.

可选地,在本申请实施例中,为了能够方便申请人通过审批子系统发起相关配置的发布申请,上述步骤201之前,本申请实施例提供的应用配置发布申方法,还可以包括以下步骤204和步骤205:Optionally, in this embodiment of the application, in order to make it easier for the applicant to initiate a related configuration release application through the approval subsystem, before the above step 201, the application configuration release application method provided in the embodiment of the present application may also include the following step 204 and step 205:

步骤204、申请子系统从目标配置中心获取应用列表,并向申请人展示所述应用列表。Step 204, the application subsystem obtains the application list from the target configuration center, and presents the application list to the applicant.

其中,所述应用列表包括:至少一个应用。Wherein, the application list includes: at least one application.

示例性地,申请子系统还可以获取应用配置发布系统管理的多个配置中心的配置中心列表,并从中查找选择目标应用所属的目标配置中心。Exemplarily, the application subsystem may also obtain a list of configuration centers of multiple configuration centers managed by the application configuration release system, and search for the target configuration center to which the selected target application belongs.

可以理解的是,在配置中心中,配置与应用存在关联性,即一个应用与一个或者多个配置相关联。若需要对某个应用的某些配置进行调整,首先需要获取到该应用的相关信息。It can be understood that in the configuration center, configurations are associated with applications, that is, one application is associated with one or more configurations. If you need to adjust certain configurations of an application, you first need to obtain relevant information about the application.

示例性地,上述目标配置中心为应用配置发布系统所管理的多个配置中心中目标应用所属的配置中心。为了获取到目标应用的相关信息,首先需要获取该目标配置中心所管理的多个应用的应用列表。申请人可以从该应用列表中选择需要调整配置的应用。Exemplarily, the above-mentioned target configuration center is the configuration center to which the target application belongs among the multiple configuration centers managed by the application configuration publishing system. In order to obtain relevant information of a target application, it is first necessary to obtain application lists of multiple applications managed by the target configuration center. The applicant can select the application whose configuration needs to be adjusted from the application list.

步骤205、申请子系统基于申请人从所述应用列表中选择的目标应用,从目标配置中心获取与所述目标应用相关的多个配置。Step 205, the application subsystem obtains multiple configurations related to the target application from the target configuration center based on the target application selected by the applicant from the application list.

示例性地,申请子系统根据用户选择的目标应用,从目标配置中心获取与目标应用相关联的多个配置,使得申请人可以在不登录配置中心的情况下,能够了解到配置中心所包含的应用,以及每个应用相关的配置。之后,由申请人确定具体的配置变更操作。Exemplarily, the application subsystem acquires multiple configurations associated with the target application from the target configuration center according to the target application selected by the user, so that the applicant can learn about the configurations contained in the configuration center without logging in to the configuration center. applications, and the configuration associated with each application. Afterwards, the applicant determines the specific configuration change operation.

示例性地,上述配置变更操作可以包括以下至少一项:配置新增,配置修改,配置删除。Exemplarily, the above-mentioned configuration change operation may include at least one of the following: configuration addition, configuration modification, and configuration deletion.

具体地,基于上述不同的配置变更操作,上述步骤205之后,上述步骤201之前,本申请实施例提供的应用配置发布方法,还可以包括以下步骤206a、步骤206b以及步骤206c中的至少一项:Specifically, based on the above-mentioned different configuration change operations, after the above-mentioned step 205 and before the above-mentioned step 201, the application configuration publishing method provided by the embodiment of the present application may further include at least one of the following steps 206a, 206b, and 206c:

步骤206a、申请子系统基于申请人从所述多个配置中选择的需要修改的待调整配置,以及申请人提交的用于替换所述待调整配置的目标配置,向所述审批子系统发起所述配置发布申请。Step 206a, the application subsystem initiates the approval subsystem to the approval subsystem based on the configuration to be adjusted that needs to be modified selected by the applicant from the plurality of configurations and the target configuration submitted by the applicant for replacing the configuration to be adjusted. The above configuration release application.

其中,所述配置发布申请包括:所述目标应用的应用标识,所述待调整配置的配置标识,所述目标配置。Wherein, the configuration release application includes: the application identifier of the target application, the configuration identifier of the configuration to be adjusted, and the target configuration.

示例性地,在申请人需要对目标应用的相关配置执行配置修改操作的情况下,可以在显示的多个配置中选择需要进行修改的待调整配置,并提交替换该待调整配置的目标配置,之后,申请子系统基于申请人提交的上述信息,向审批子系统发起配置发布申请。Exemplarily, in the case that the applicant needs to perform a configuration modification operation on the relevant configuration of the target application, it may select a configuration to be adjusted that needs to be modified from among the displayed multiple configurations, and submit a target configuration that replaces the configuration to be adjusted, Afterwards, the application subsystem initiates a configuration release application to the approval subsystem based on the above information submitted by the applicant.

步骤206b、申请子系统基于申请人提交的所述目标配置,向所述审批子系统发起所述配置发布申请。In step 206b, the application subsystem initiates the configuration release application to the approval subsystem based on the target configuration submitted by the applicant.

其中,所述配置发布申请包括:所述目标应用的应用标识,所述目标配置;所述配置发布申请用于将所述目标配置增加到所述目标应用的配置项中。Wherein, the configuration release application includes: the application identifier of the target application, and the target configuration; the configuration release application is used to add the target configuration to configuration items of the target application.

示例性地,在申请人需要对目标应用的相关配置执行配置新增操作的情况下,可以在显示的应用列表中选择对应的目标应用,并提交需要新增的目标配置,之后,申请子系统基于申请人提交的上述信息,向审批子系统发起配置发布申请。Exemplarily, in the case that the applicant needs to perform configuration addition operation on the relevant configuration of the target application, the applicant can select the corresponding target application in the displayed application list, and submit the target configuration to be added, after that, the application subsystem Based on the above information submitted by the applicant, a configuration release application is initiated to the approval subsystem.

步骤206c、申请子系统基于申请人从所述多个配置中选择的需要删除的所述目标配置,向所述审批子系统发起所述配置发布申请。Step 206c, the application subsystem initiates the configuration release application to the approval subsystem based on the target configuration selected by the applicant from the plurality of configurations and needs to be deleted.

其中,所述配置发布申请包括:所述目标应用的应用标识,所述目标配置;所述配置发布申请用于将所述目标配置从所述目标应用的配置项中删除。Wherein, the configuration release application includes: the application identifier of the target application, and the target configuration; the configuration release application is used to delete the target configuration from the configuration items of the target application.

示例性地,在申请人需要对目标应用的相关配置执行配置删除操作的情况下,可以在显示的多个配置中选择需要进行删除的目标配置。之后,申请子系统基于申请人提交的上述信息,向审批子系统发起配置发布申请。Exemplarily, in the case that the applicant needs to perform a configuration deletion operation on the relevant configuration of the target application, the target configuration to be deleted may be selected from the multiple displayed configurations. Afterwards, the application subsystem initiates a configuration release application to the approval subsystem based on the above information submitted by the applicant.

需要说明的是,在本申请实施例中,审核人可以直接登录审批子系统进行配置发布申请的二次审核,也可以通过独立的子系统完成对配置发布申请的二次审核。It should be noted that, in the embodiment of this application, the reviewer can directly log in to the approval subsystem to conduct the secondary review of the configuration release application, or complete the secondary review of the configuration release application through an independent subsystem.

本申请实施例提供的应用配置发布方法,审批子系统在接收申请子系统发起的配置发布申请的情况下,对目标配置进行合理性验证和审批;目标配置为配置发布申请指示的需要在配置中心发布的配置。审批子系统在完成对于配置发布申请的验证和审批后,向配置发布子系统发送配置发布信息。配置发布子系统在接收到配置发布信息的情况下,将目标配置发布到配置发布信息指示的目标配置中心。如此,通过自动化发布方式替代传统的人工发布方式,不仅降低了人工误操作的概率,还能够在一定程度上提高研发效率。In the application configuration release method provided by the embodiment of the present application, the approval subsystem performs rationality verification and approval on the target configuration when receiving the configuration release application initiated by the application subsystem; Published configuration. After the approval subsystem completes the verification and approval of the configuration release application, it sends configuration release information to the configuration release subsystem. When the configuration release subsystem receives the configuration release information, it releases the target configuration to the target configuration center indicated by the configuration release information. In this way, replacing the traditional manual release method with an automated release method not only reduces the probability of manual misoperation, but also improves R&D efficiency to a certain extent.

需要说明的是,本申请实施例提供的应用配置发布方法,执行主体可以为应用配置发布系统,或者该应用配置发布系统中的用于执行应用配置发布方法的控制模块。本申请实施例中以应用配置发布系统执行应用配置发布方法为例,说明本申请实施例提供的应用配置发布系统。It should be noted that, for the application configuration release method provided in the embodiment of the present application, the execution body may be the application configuration release system, or a control module in the application configuration release system for executing the application configuration release method. In the embodiment of the present application, the application configuration publishing system provided by the embodiment of the present application is described by taking the application configuration publishing system executing the application configuration publishing method as an example.

需要说明的是,本申请实施例中,上述各个方法附图所示的。应用配置发布方法均是以结合本申请实施例中的一个附图为例示例性的说明的。具体实现时,上述各个方法附图所示的应用配置发布方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiment of the present application, the above-mentioned methods are shown in the drawings. The methods for publishing application configurations are all described in conjunction with a drawing in the embodiment of the present application as an example. During specific implementation, the application configuration release method shown in the drawings of the above methods can also be implemented in combination with any other drawings shown in the above embodiments that can be combined, and details will not be described here.

下面对本申请提供的应用配置发布系统进行描述,下文描述的与上文描述的应用配置发布方法可相互对应参照。The application configuration publishing system provided by this application is described below, and the application configuration publishing method described below and the above-mentioned application configuration publishing method can be referred to in correspondence.

图4为本申请实施例提供的应用配置发布系统的结构示意图,如图4所示,具体包括:Fig. 4 is a schematic structural diagram of the application configuration release system provided by the embodiment of the present application, as shown in Fig. 4, specifically including:

审批子系统402,用于在接收所述申请子系统401发起的配置发布申请的情况下,对目标配置进行合理性验证和审批;所述目标配置为所述配置发布申请指示的需要在目标配置中心发布的配置;审批子系统402,还用于在完成对于所述配置发布申请的验证和审批后,向所述配置发布子系统403发送配置发布信息;配置发布子系统403,用于在接收到所述配置发布信息的情况下,将所述目标配置发布到所述配置发布信息指示的目标配置中心。The approval subsystem 402 is configured to verify the rationality and approve the target configuration when receiving the configuration release application initiated by the application subsystem 401; The configuration released by the center; the approval subsystem 402 is also used to send configuration release information to the configuration release subsystem 403 after completing the verification and approval of the configuration release application; the configuration release subsystem 403 is used to receive When the configuration release information is received, release the target configuration to the target configuration center indicated by the configuration release information.

可选地,所述申请子系统401,用于从所述目标配置中心获取应用列表,并向申请人展示所述应用列表;所述应用列表包括:至少一个应用;所述申请子系统401,还用于基于申请人从所述应用列表中选择的目标应用,从目标配置中心获取与所述目标应用相关的多个配置。Optionally, the application subsystem 401 is configured to obtain an application list from the target configuration center, and display the application list to the applicant; the application list includes: at least one application; the application subsystem 401, It is also used to acquire multiple configurations related to the target application from the target configuration center based on the target application selected by the applicant from the application list.

可选地,所述申请子系统401,还用于基于申请人从所述多个配置中选择的需要修改的待调整配置,以及申请人提交的用于替换所述待调整配置的目标配置,向所述审批子系统402发起所述配置发布申请;其中,所述配置发布申请包括:所述目标应用的应用标识,所述待调整配置的配置标识,所述目标配置。Optionally, the application subsystem 401 is further configured to, based on the configuration to be adjusted selected by the applicant from the plurality of configurations and the target configuration submitted by the applicant for replacing the configuration to be adjusted, Initiate the configuration release application to the approval subsystem 402; wherein, the configuration release application includes: the application identifier of the target application, the configuration identifier of the configuration to be adjusted, and the target configuration.

可选地,所述申请子系统401,还用于基于申请人提交的所述目标配置,向所述审批子系统402发起所述配置发布申请;其中,所述配置发布申请包括:所述目标应用的应用标识,所述目标配置;所述配置发布申请用于将所述目标配置增加到所述目标应用的配置项中。Optionally, the application subsystem 401 is further configured to initiate the configuration release application to the approval subsystem 402 based on the target configuration submitted by the applicant; wherein, the configuration release application includes: the target The application identifier of the application, the target configuration; the configuration release application is used to add the target configuration to the configuration items of the target application.

可选地,所述申请子系统401,还用于基于申请人从所述多个配置中选择的需要删除的所述目标配置,向所述审批子系统402发起所述配置发布申请;其中,所述配置发布申请包括:所述目标应用的应用标识,所述目标配置;所述配置发布申请用于将所述目标配置从所述目标应用的配置项中删除。Optionally, the application subsystem 401 is further configured to initiate the configuration release application to the approval subsystem 402 based on the target configuration selected by the applicant from the multiple configurations that needs to be deleted; wherein, The configuration release application includes: the application identifier of the target application, and the target configuration; the configuration release application is used to delete the target configuration from the configuration items of the target application.

可选地,所述审批子系统402,具体用于在接收所述申请子系统401发起的配置发布申请的情况下,将所述目标配置发布到测试环境中进行合理性验证,并在验证通过后,提交至审核人进行二次审核;所述审批子系统402,具体还用于在审核人对所述配置发布申请进行二次审核后,完成对所述配置发布申请的验证和审批。Optionally, the approval subsystem 402 is specifically configured to, in the case of receiving the configuration release application initiated by the application subsystem 401, release the target configuration to the test environment for rationality verification, and when the verification passes Afterwards, it is submitted to the reviewer for a second review; the approval subsystem 402 is specifically used to complete the verification and approval of the configuration release application after the reviewer conducts a second review of the configuration release application.

可选地,所述配置发布子系统403,具体用于在接收到所述配置发布信息的情况下,基于所述配置发布信息确定所述目标配置中心的技术类型,并调用与所述目标配置中心的技术类型相对应的配置发布接口,将所述目标配置发布到所述目标配置中心。Optionally, the configuration release subsystem 403 is specifically configured to determine the technology type of the target configuration center based on the configuration release information when the configuration release information is received, and call the The configuration publishing interface corresponding to the technology type of the center publishes the target configuration to the target configuration center.

本申请提供的应用配置发布系统,审批子系统在接收申请子系统发起的配置发布申请的情况下,对目标配置进行合理性验证和审批;目标配置为配置发布申请指示的需要在配置中心发布的配置。审批子系统在完成对于配置发布申请的验证和审批后,向配置发布子系统发送配置发布信息。配置发布子系统在接收到配置发布信息的情况下,将目标配置发布到配置发布信息指示的目标配置中心。如此,通过自动化发布方式替代传统的人工发布方式,不仅降低了人工误操作的概率,还能够在一定程度上提高研发效率。In the application configuration release system provided by this application, the approval subsystem will verify the rationality and approve the target configuration after receiving the configuration release application initiated by the application subsystem; the target configuration needs to be released in the configuration center as indicated by the configuration release application. configuration. After the approval subsystem completes the verification and approval of the configuration release application, it sends configuration release information to the configuration release subsystem. When the configuration release subsystem receives the configuration release information, it releases the target configuration to the target configuration center indicated by the configuration release information. In this way, replacing the traditional manual release method with an automated release method not only reduces the probability of manual misoperation, but also improves R&D efficiency to a certain extent.

图5示例了一种电子设备的实体结构示意图,如图5所示,该电子设备可以包括:处理器(processor)510、通信接口(Communications Interface)520、存储器(memory)530和通信总线540,其中,处理器510,通信接口520,存储器530通过通信总线540完成相互间的通信。处理器510可以调用存储器530中的逻辑指令,以执行应用配置发布方法中的任一项,该方法包括:所述审批子系统在接收所述申请子系统发起的配置发布申请的情况下,对目标配置进行合理性验证和审批;所述目标配置为所述配置发布申请指示的需要在目标配置中心发布的配置;所述审批子系统在完成对于所述配置发布申请的验证和审批后,向所述配置发布子系统发送配置发布信息;所述配置发布子系统在接收到所述配置发布信息的情况下,将所述目标配置发布到所述配置发布信息指示的目标配置中心。FIG. 5 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG. 5, the electronic device may include: a processor (processor) 510, a communication interface (Communications Interface) 520, a memory (memory) 530 and a communication bus 540, Wherein, the processor 510 , the communication interface 520 , and the memory 530 communicate with each other through the communication bus 540 . The processor 510 may call the logic instructions in the memory 530 to execute any one of the application configuration release methods, the method includes: when the approval subsystem receives the configuration release application initiated by the application subsystem, The target configuration is rationally verified and approved; the target configuration is the configuration indicated by the configuration release application and needs to be released in the target configuration center; after the approval subsystem completes the verification and approval of the configuration release application, it sends The configuration release subsystem sends configuration release information; upon receiving the configuration release information, the configuration release subsystem releases the target configuration to the target configuration center indicated by the configuration release information.

此外,上述的存储器530中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above logic instructions in the memory 530 may be implemented in the form of software function units and be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

另一方面,本申请还提供一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法所提供的应用配置发布方法中的任一项,该方法包括:所述审批子系统在接收所述申请子系统发起的配置发布申请的情况下,对目标配置进行合理性验证和审批;所述目标配置为所述配置发布申请指示的需要在目标配置中心发布的配置;所述审批子系统在完成对于所述配置发布申请的验证和审批后,向所述配置发布子系统发送配置发布信息;所述配置发布子系统在接收到所述配置发布信息的情况下,将所述目标配置发布到所述配置发布信息指示的目标配置中心。On the other hand, the present application also provides a computer program product, the computer program product includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, The computer can execute any one of the application configuration publishing methods provided by the above-mentioned methods, and the method includes: when the approval subsystem receives the configuration release application initiated by the application subsystem, rationalizes the target configuration Verification and approval; the target configuration is the configuration indicated by the configuration release application that needs to be released in the target configuration center; after the approval subsystem completes the verification and approval of the configuration release application, it releases the sub- The system sends configuration release information; the configuration release subsystem, upon receiving the configuration release information, releases the target configuration to the target configuration center indicated by the configuration release information.

又一方面,本申请还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各提供的应用配置发布方法中的任一项,该方法包括:所述审批子系统在接收所述申请子系统发起的配置发布申请的情况下,对目标配置进行合理性验证和审批;所述目标配置为所述配置发布申请指示的需要在目标配置中心发布的配置;所述审批子系统在完成对于所述配置发布申请的验证和审批后,向所述配置发布子系统发送配置发布信息;所述配置发布子系统在接收到所述配置发布信息的情况下,将所述目标配置发布到所述配置发布信息指示的目标配置中心。In yet another aspect, the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to perform any one of the application configuration publishing methods provided above, the method Including: when the approval subsystem receives the configuration release application initiated by the application subsystem, it conducts rationality verification and approval on the target configuration; released configuration; the approval subsystem sends configuration release information to the configuration release subsystem after completing the verification and approval of the configuration release application; the configuration release subsystem receives the configuration release information In this case, publish the target configuration to the target configuration center indicated by the configuration publishing information.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims (10)

1. An application configuration distribution system, the system comprising: the application subsystem, the approval subsystem and the configuration release subsystem;
the approval subsystem is used for verifying and approving the rationality of the target configuration under the condition of receiving the configuration release application initiated by the application subsystem; the target configuration is the configuration which is indicated by the configuration release application and needs to be released in a target configuration center;
the approval subsystem is further used for sending configuration release information to the configuration release subsystem after verification and approval of the configuration release application are completed;
the configuration release subsystem is used for releasing the target configuration to a target configuration center indicated by the configuration release information under the condition that the configuration release information is received.
2. The application configuration distribution system according to claim 1, wherein,
the application subsystem is used for acquiring an application list from the target configuration center and displaying the application list to the applicant; the application list comprises: at least one application;
the application subsystem is further used for acquiring a plurality of configurations related to the target application from a target configuration center based on the target application selected by the applicant from the application list.
3. The application configuration distribution system according to claim 2, wherein,
the application subsystem is further used for initiating the configuration release application to the approval subsystem based on the configuration to be modified selected by the applicant from the plurality of configurations and the target configuration submitted by the applicant and used for replacing the configuration to be modified;
the configuration release application comprises the following steps: the application identifier of the target application, the configuration identifier of the configuration to be adjusted and the target configuration.
4. The application configuration distribution system according to claim 2, wherein,
the application subsystem is further used for initiating the configuration release application to the approval subsystem based on the target configuration submitted by the applicant;
the configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is configured to add the target configuration to a configuration item of the target application.
5. The application configuration distribution system according to claim 2, wherein,
the application subsystem is further used for initiating the configuration release application to the approval subsystem based on the target configuration which is selected from the multiple configurations by the applicant and needs to be deleted;
the configuration release application comprises the following steps: the application identifier of the target application and the target configuration; the configuration release application is used for deleting the target configuration from the configuration item of the target application.
6. The application configuration distribution system according to claim 1, wherein,
the approval subsystem is specifically used for issuing the target configuration to a test environment for rationality verification under the condition of receiving a configuration issuing application initiated by the application subsystem, and submitting the target configuration to an auditor for secondary audit after verification is passed;
the approval subsystem is specifically used for completing verification and approval of the configuration release application after the auditor carries out secondary audit on the configuration release application.
7. The application configuration distribution system according to claim 1, wherein,
the configuration release subsystem is specifically configured to determine a technology type of the target configuration center based on the configuration release information under the condition that the configuration release information is received, and call a configuration release interface corresponding to the technology type of the target configuration center to release the target configuration to the target configuration center.
8. An application configuration release method, which is applied to an application configuration release system, wherein the system comprises: the application subsystem, the approval subsystem and the configuration release subsystem; the method comprises the following steps:
the approval subsystem performs rationality verification and approval on the target configuration under the condition of receiving a configuration release application initiated by the application subsystem; the target configuration is the configuration which is indicated by the configuration release application and needs to be released in a target configuration center;
the approval subsystem sends configuration release information to the configuration release subsystem after completing verification and approval of the configuration release application;
and the configuration release subsystem releases the target configuration to a target configuration center indicated by the configuration release information under the condition that the configuration release information is received.
9. The application configuration issuing method according to claim 8, wherein the approval subsystem, in the case of receiving a configuration issuing application initiated by the application subsystem, performs rationality verification and approval on a target configuration, the method further comprising:
the application subsystem acquires an application list from the target configuration center and displays the application list to the applicant; the application list comprises: at least one application;
the application subsystem obtains a plurality of configurations related to the target application from a target configuration center based on the target application selected by the applicant from the application list.
10. The application configuration issuing method according to claim 8, wherein the validating and validating the target configuration by the validating subsystem in the case of receiving the configuration issuing application initiated by the application subsystem includes:
the approval subsystem issues the target configuration to a testing environment for rationality verification under the condition of receiving a configuration issuing application initiated by the application subsystem, and submits the target configuration to an auditor for secondary audit after verification is passed;
and the approval subsystem completes verification and approval of the configuration release application after the auditor carries out secondary audit on the configuration release application.
CN202310151855.3A 2023-02-22 2023-02-22 Application configuration release system and method Pending CN116382765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310151855.3A CN116382765A (en) 2023-02-22 2023-02-22 Application configuration release system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310151855.3A CN116382765A (en) 2023-02-22 2023-02-22 Application configuration release system and method

Publications (1)

Publication Number Publication Date
CN116382765A true CN116382765A (en) 2023-07-04

Family

ID=86970183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310151855.3A Pending CN116382765A (en) 2023-02-22 2023-02-22 Application configuration release system and method

Country Status (1)

Country Link
CN (1) CN116382765A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119045858A (en) * 2024-09-02 2024-11-29 广州逸虎网络科技有限公司 Software loading method, system, equipment and medium based on application store

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119045858A (en) * 2024-09-02 2024-11-29 广州逸虎网络科技有限公司 Software loading method, system, equipment and medium based on application store

Similar Documents

Publication Publication Date Title
US8341629B2 (en) Method and system for provisioning a virtual computer and scheduling resources of the provisioned virtual computer
US8700439B2 (en) Action console framework
US10204125B2 (en) Method, apparatus, and application platform for updating application object attribute
CN110309022B (en) Method, simulator, device and storage medium for simulating transaction test
CN112488652A (en) Work order auditing method, system, terminal and storage medium
CN112711640A (en) Method and device for configuring business handling process
CN110837470B (en) Bank card network transaction testing method and device
CN105528726A (en) Virtual article transaction assistant method and device and virtual article transaction system
CN110765004A (en) Testing method and device based on sandbox system and electronic equipment
CN112734387A (en) Document approval method and device, electronic equipment and storage medium
CN114169924A (en) Advertisement full-link automatic verification method and device and computing equipment
CN116382765A (en) Application configuration release system and method
CN113392002A (en) Test system construction method, device, equipment and storage medium
CN111381863B (en) APP transaction and automatic online method and system based on block chain technology
US12099520B2 (en) Minimizing read and update conflict errors in blockchains
CN113609014A (en) Interface field checking method and device, storage medium and electronic equipment
CN111625458A (en) Service system testing method, device and equipment
US20250124450A1 (en) Method and Apparatus for Executing Smart Contract
US11449415B2 (en) Self-service integration and feature testing
CN115309623A (en) Requirements testing method, device, equipment and storage medium
CN117193818B (en) A method, device, equipment and medium for updating a business system
US20240338305A1 (en) Systems and Methods for Connection Switch Automation
KR20250091060A (en) Performance evaluation device and method of blockchain service
CN120179532A (en) A method and device for joint debugging of business
CN118535148A (en) Business process control method, electronic equipment, storage medium and product

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