[go: up one dir, main page]

CN115955408A - Application arrangement service system and method based on Conductor framework - Google Patents

Application arrangement service system and method based on Conductor framework Download PDF

Info

Publication number
CN115955408A
CN115955408A CN202211663279.2A CN202211663279A CN115955408A CN 115955408 A CN115955408 A CN 115955408A CN 202211663279 A CN202211663279 A CN 202211663279A CN 115955408 A CN115955408 A CN 115955408A
Authority
CN
China
Prior art keywords
node
service
orchestration
application
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211663279.2A
Other languages
Chinese (zh)
Other versions
CN115955408B (en
Inventor
周小微
黄超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiyu Fund Sales Co ltd
Original Assignee
Shanghai Jiyu Fund Sales 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 Shanghai Jiyu Fund Sales Co ltd filed Critical Shanghai Jiyu Fund Sales Co ltd
Priority to CN202211663279.2A priority Critical patent/CN115955408B/en
Publication of CN115955408A publication Critical patent/CN115955408A/en
Application granted granted Critical
Publication of CN115955408B publication Critical patent/CN115955408B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an application arrangement service system and method based on a factor framework, which comprises the following steps: and (3) a data layer: the database and the data table are used for storing data required by the application arrangement process; a logic arrangement layer: forming service interfaces for different service scenes by assembling a plurality of node modules; an application layer: accessing corresponding service interfaces, databases and/or data tables through pages, thereby providing corresponding arrangement services; the node module is different node templates which are packaged, is the minimum execution unit in the arrangement service and bears execution logic.

Description

基于Conductor框架的应用编排服务系统及方法Conductor framework-based application orchestration service system and method

技术领域technical field

本发明涉及应用服务编排技术领域,具体地,涉及基于Conductor框架的应用编排系统及方法,更为具体地,涉及基于Netflix Conductor开源微服务编排引擎设计的集合前端应用操作界面、监控体系的应用服务编排系统。The present invention relates to the technical field of application service arrangement, in particular, it relates to the application arrangement system and method based on the Conductor framework, and more specifically, it relates to the integrated front-end application operation interface and the application service of the monitoring system designed based on the Netflix Conductor open source micro-service arrangement engine orchestration system.

背景技术Background technique

微服务是当前流行的软件架构风格,在底层共性技术服务和中台业务服务能力具备后,上层应用应基于这些服务快速地构建,但不可能所有场景都简单调用一个服务就能实现。当存在一定业务规则需要处理的时候,往往都涉及到多个服务的调用,中间还涉及到基础的数据处理,逻辑判断才能够完成。Microservices are currently a popular software architecture style. After the underlying common technical services and middle-end business service capabilities are available, upper-layer applications should be quickly built based on these services. However, it is impossible to simply call a service for all scenarios. When there are certain business rules that need to be processed, it often involves the invocation of multiple services, and basic data processing is also involved in the middle, so that logical judgment can be completed.

如果让前端应用来处理这种组合,需要大量编写脚本代码,还不时需要调整,而且存在共性领域服务逻辑对外泄露的问题。其二在前后端分离的场景下,前端并不关心复杂的后端逻辑。If you let the front-end application handle this combination, you need to write a lot of script code, and you need to adjust it from time to time, and there is a problem of external leakage of common domain service logic. Second, in the scenario where the front-end and back-end are separated, the front-end does not care about the complex back-end logic.

应用服务编排是对基础的业务服务按照一定的业务规则进行逻辑组合,提供一个封装后的组合服务接口给前端的过程。Application service orchestration is the process of logically combining basic business services according to certain business rules, and providing an encapsulated combined service interface to the front end.

应用服务编排可以进行可视化的业务流程编排来降低这些大量重复且没有技术含量的前端脚本、提升服务调用逻辑的可视化。Application service orchestration can perform visual business process orchestration to reduce these repetitive and non-technical front-end scripts and improve the visualization of service call logic.

专利文献CN107343018B(申请号:201710005170.2)公开了一种PaaS云平台的应用服务编排方法及系统,方法的步骤如下:S1、用户根据业务选择Catalog服务列表中需要编排的具体服务;S2、对服务中的必须参数进行设置;S3、依次编写服务后调用平台接口,将编排文件传递到平台;S4、平台根据不同服务的编排文件进行服务的编排。Patent document CN107343018B (application number: 201710005170.2) discloses a PaaS cloud platform application service arrangement method and system. The steps of the method are as follows: S1. The user selects the specific service that needs to be arranged in the Catalog service list according to the business; S2. The necessary parameters are set; S3, the platform interface is called after writing the service in sequence, and the arrangement file is transferred to the platform; S4, the platform arranges the service according to the arrangement file of different services.

发明内容Contents of the invention

针对现有技术中的缺陷,本发明的目的是提供一种基于Conductor框架的应用编排服务系统及方法。In view of the defects in the prior art, the object of the present invention is to provide an application orchestration service system and method based on the Conductor framework.

根据本发明提供的一种基于Conductor框架的应用编排服务系统,包括:According to the present invention, an application arrangement service system based on the Conductor framework includes:

数据层:存储应用编排流程所需数据的数据库和数据表;Data layer: the database and data table that store the data required for the application orchestration process;

逻辑编排层:通过组装多个节点模块形成用于不同业务场景的服务接口;Logical arrangement layer: By assembling multiple node modules to form service interfaces for different business scenarios;

应用层:通过页面访问对应的服务接口、数据库和/或数据表,从而提供相应的编排服务;Application layer: access the corresponding service interface, database and/or data table through the page, so as to provide the corresponding orchestration service;

所述节点模块是已完成封装的不同节点模板,是编排服务中最小的执行单元,承载执行逻辑。The node modules are different node templates that have been packaged, and are the smallest execution unit in the orchestration service, carrying execution logic.

优选地,所述逻辑编排层包括:使用Netflix Conductor编排引擎构建工作流,基于构建的工作流将节点模块的功能进行二次组装。Preferably, the logical orchestration layer includes: using the Netflix Conductor orchestration engine to construct a workflow, and reassembling the functions of the node modules based on the constructed workflow.

优选地,所述节点模板包括:开始/结束节点、判断节点、调用节点、等待节点、输出节点、轮询节点以及并行开始/结束节点。Preferably, the node template includes: a start/end node, a judgment node, a call node, a wait node, an output node, a polling node, and a parallel start/end node.

优选地,在进行编排服务时需要依赖底层资源配置;Preferably, it needs to rely on the underlying resource configuration when performing orchestration services;

所述底层资源配置包括证书、加解密规则以及数据库连接密码。The underlying resource configuration includes certificates, encryption and decryption rules, and database connection passwords.

优选地,在所述数据层上设置不同的数据操作权限;应用层基于对应的数据操作权限使用相应数据。Preferably, different data operation permissions are set on the data layer; the application layer uses corresponding data based on the corresponding data operation permissions.

优选地,对所述编排服务设置访问权限。Preferably, access rights are set for the orchestration service.

优选地,基于conductor底层框架能力,编排服务被外部应用每调用一次,将形成对应服务ID标记本次调用的数据执行情况;每次调用,服务监控会对调用结果进行监控;通过明细展示对应服务的调用记录以及执行结果;Preferably, based on the underlying framework capabilities of the conductor, each time the orchestration service is called by an external application, the corresponding service ID will be formed to mark the data execution status of this call; for each call, the service monitoring will monitor the call result; the corresponding service will be displayed in detail call records and execution results;

监控同时将对服务下的每个节点进行监控;通过节点运行的详细日志信息对于节点执行情况进行监控。Monitoring will monitor each node under the service at the same time; monitor the execution of the node through the detailed log information of the node operation.

根据本发明提供的一种基于Conductor框架的应用编排服务方法,包括:According to the present invention, an application orchestration service method based on the Conductor framework includes:

步骤S1:数据层存储应用编排流程所需数据的数据库和数据表;Step S1: the data layer stores the database and data table for the data required by the application orchestration process;

步骤S2:逻辑编排层通过组装多个节点模块形成用于不同业务场景的服务接口;Step S2: The logic orchestration layer forms service interfaces for different business scenarios by assembling multiple node modules;

步骤S3:应用层通过页面访问对应的服务接口、数据库和/或数据表,从而提供相应的编排服务;Step S3: The application layer accesses the corresponding service interface, database and/or data table through the page, so as to provide the corresponding orchestration service;

所述节点模块是已完成封装的不同节点模板,是编排服务中最小的执行单元,承载执行逻辑。The node modules are different node templates that have been packaged, and are the smallest execution unit in the orchestration service, carrying execution logic.

优选地,所述逻辑编排层包括:使用Netflix Conductor编排引擎构建工作流,基于构建的工作流将节点模块的功能进行二次组装;Preferably, the logic arrangement layer includes: using Netflix Conductor arrangement engine to construct a workflow, and based on the constructed workflow, the functions of the node modules are reassembled;

所述节点模板包括:开始/结束节点、判断节点、调用节点、等待节点、输出节点、轮询节点以及并行开始/结束节点。The node template includes: start/end node, judgment node, call node, wait node, output node, polling node and parallel start/end node.

优选地,基于conductor底层框架能力,编排服务被外部应用每调用一次,将形成对应服务ID标记本次调用的数据执行情况;每次调用,服务监控会对调用结果进行监控;通过明细展示对应服务的调用记录以及执行结果;Preferably, based on the underlying framework capabilities of the conductor, each time the orchestration service is called by an external application, the corresponding service ID will be formed to mark the data execution status of this call; for each call, the service monitoring will monitor the call result; the corresponding service will be displayed in detail call records and execution results;

监控同时将对服务下的每个节点进行监控;通过节点运行的详细日志信息对于节点执行情况进行监控。Monitoring will monitor each node under the service at the same time; monitor the execution of the node through the detailed log information of the node operation.

与现有技术相比,本发明具有如下的有益效果:Compared with the prior art, the present invention has the following beneficial effects:

1、本发明基于conductor开源框架进行适用于上层页面场景的应用服务,通过抽象多类标准处理节点达到低代码化效果,实现底层处理逻辑的封装便于业务应用;1. Based on the conductor open source framework, the present invention provides application services applicable to upper-layer page scenarios, achieves low-code effects by abstracting multiple types of standard processing nodes, and realizes the encapsulation of bottom-level processing logic to facilitate business applications;

2、本发明通过可视化界面,可进行多类节点逻辑的组装实现不同业务场景下的服务调用逻辑;2. The present invention can assemble multi-type node logic through a visual interface to realize service call logic in different business scenarios;

3、本发明通过将节点抽象封装为不同标准化的执行逻辑,能够快速完成http、HTTPS、数据访问等不同方式的数据获取方案;集成多种正则规则、不等式配置、运算逻辑加工等方法,可通过界面直接进行配置使用,无需每次进行代码开发;3. By abstracting and encapsulating nodes into different standardized execution logics, the present invention can quickly complete data acquisition schemes in different ways such as http, HTTPS, and data access; integrate various regular rules, inequality configuration, and operation logic processing, etc., through The interface can be configured and used directly, without the need for code development every time;

4、本发明通过画布拖拉拽的交互方式,支持使用者直接进行服务流程的搭建,界面友好易使用。4. The present invention supports the user to directly construct the service process through the interactive mode of dragging and dropping the canvas, and the interface is friendly and easy to use.

附图说明Description of drawings

通过阅读参照以下附图对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1为基于Conductor框架的应用编排服务系统示意图。Figure 1 is a schematic diagram of an application orchestration service system based on the Conductor framework.

图2为基于Conductor框架的应用编排服务系统示意图Figure 2 is a schematic diagram of the application orchestration service system based on the Conductor framework

图3为节点执行流程图。Figure 3 is a flowchart of node execution.

具体实施方式Detailed ways

下面结合具体实施例对本发明进行详细说明。以下实施例将有助于本领域的技术人员进一步理解本发明,但不以任何形式限制本发明。应当指出的是,对本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变化和改进。这些都属于本发明的保护范围。The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

实施例1Example 1

根据本发明提供的一种基于Conductor框架的应用编排服务系统,包括:According to the present invention, an application arrangement service system based on the Conductor framework includes:

数据层:存储应用编排流程所需数据的数据库和数据表;Data layer: the database and data table that store the data required for the application orchestration process;

逻辑编排层:通过组装多个节点模块形成用于不同业务场景的服务接口;Logical arrangement layer: By assembling multiple node modules to form service interfaces for different business scenarios;

应用层:通过页面访问对应的服务接口、数据库和/或数据表,从而提供相应的编排服务;Application layer: access the corresponding service interface, database and/or data table through the page, so as to provide the corresponding orchestration service;

所述节点模块是已完成封装的不同节点模板,是编排服务中最小的执行单元,承载执行逻辑。The node modules are different node templates that have been packaged, and are the smallest execution unit in the orchestration service, carrying execution logic.

具体地,所述逻辑编排层包括:使用Netflix Conductor编排引擎构建工作流,基于构建的工作流将节点模块的功能进行二次组装。Specifically, the logical orchestration layer includes: using the Netflix Conductor orchestration engine to construct a workflow, and reassembling the functions of the node modules based on the constructed workflow.

具体地,所述节点模板包括:开始/结束节点、判断节点、调用节点、等待节点、输出节点、轮询节点以及并行开始/结束节点。Specifically, the node template includes: a start/end node, a judgment node, a call node, a wait node, an output node, a polling node, and a parallel start/end node.

具体地,在进行编排服务时需要依赖底层资源配置;Specifically, it needs to rely on the underlying resource configuration when orchestrating services;

所述底层资源配置包括证书、加解密规则以及数据库连接密码。The underlying resource configuration includes certificates, encryption and decryption rules, and database connection passwords.

具体地,在所述数据层上设置不同的数据操作权限;应用层基于对应的数据操作权限使用相应数据。Specifically, different data operation permissions are set on the data layer; the application layer uses corresponding data based on the corresponding data operation permissions.

具体地,对所述编排服务设置访问权限。Specifically, set access rights to the orchestration service.

具体地,基于conductor底层框架能力,编排服务被外部应用每调用一次,将形成对应服务ID标记本次调用的数据执行情况;每次调用,服务监控会对调用结果进行监控;通过明细展示对应服务的调用记录以及执行结果;Specifically, based on the capabilities of the underlying framework of the conductor, each time the orchestration service is called by an external application, it will form the corresponding service ID to mark the data execution status of this call; for each call, the service monitoring will monitor the call result; the corresponding service will be displayed in detail call records and execution results;

监控同时将对服务下的每个节点进行监控;通过节点运行的详细日志信息对于节点执行情况进行监控。Monitoring will monitor each node under the service at the same time; monitor the execution of the node through the detailed log information of the node operation.

根据本发明提供的一种基于Conductor框架的应用编排服务方法,包括:According to the present invention, an application orchestration service method based on the Conductor framework includes:

步骤S1:数据层存储应用编排流程所需数据的数据库和数据表;Step S1: the data layer stores the database and data table for the data required by the application orchestration process;

步骤S2:逻辑编排层通过组装多个节点模块形成用于不同业务场景的服务接口;Step S2: The logic orchestration layer forms service interfaces for different business scenarios by assembling multiple node modules;

步骤S3:应用层通过页面访问对应的服务接口、数据库和/或数据表,从而提供相应的编排服务;Step S3: The application layer accesses the corresponding service interface, database and/or data table through the page, so as to provide the corresponding orchestration service;

所述节点模块是已完成封装的不同节点模板,是编排服务中最小的执行单元,承载执行逻辑。The node modules are different node templates that have been packaged, and are the smallest execution unit in the orchestration service, carrying execution logic.

具体地,所述逻辑编排层包括:使用Netflix Conductor编排引擎构建工作流,基于构建的工作流将节点模块的功能进行二次组装;Specifically, the logic arrangement layer includes: using the Netflix Conductor arrangement engine to construct a workflow, and reassembling the functions of the node modules based on the constructed workflow;

所述节点模板包括:开始/结束节点、判断节点、调用节点、等待节点、输出节点、轮询节点以及并行开始/结束节点。The node template includes: start/end node, judgment node, call node, wait node, output node, polling node and parallel start/end node.

具体地,基于conductor底层框架能力,编排服务被外部应用每调用一次,将形成对应服务ID标记本次调用的数据执行情况;每次调用,服务监控会对调用结果进行监控;通过明细展示对应服务的调用记录以及执行结果;Specifically, based on the capabilities of the underlying framework of the conductor, each time the orchestration service is called by an external application, it will form the corresponding service ID to mark the data execution status of this call; for each call, the service monitoring will monitor the call result; the corresponding service will be displayed in detail call records and execution results;

监控同时将对服务下的每个节点进行监控;通过节点运行的详细日志信息对于节点执行情况进行监控。Monitoring will monitor each node under the service at the same time; monitor the execution of the node through the detailed log information of the node operation.

所述节点实质即对应微服务架构体系,将具体执行逻辑拆解成可独立输出提供的服务。而中台化实质是对应可解决单一业务场景的一个聚合服务项。服务编排可通过多个节点的组合编排形成对应中台化能力;本发明通过结合微服务架构以及中台化能力,由下而上快速响应业务层的不同场景诉求。The essence of the nodes corresponds to the micro-service architecture system, and the specific execution logic is disassembled into services that can be independently output and provided. The essence of centralization is an aggregated service item that can solve a single business scenario. Service orchestration can form the corresponding mid-stage capability through the combination and orchestration of multiple nodes; the present invention quickly responds to different scenario demands of the business layer from bottom to top by combining the micro-service architecture and mid-stage capability.

实施例2Example 2

实施例2是实施例1的优选例Embodiment 2 is a preferred example of embodiment 1

根据本发明提供的一种底层基于Netflix Conductor开源微服务编排引擎设计的集合前端应用操作界面、监控体系的应用服务编排系统,如图1-2所示,该系统核心包括三层结构:数据层、逻辑编排层以及应用层。According to the present invention, an application service orchestration system based on Netflix Conductor open-source micro-service orchestration engine design and integrated front-end application operation interface and monitoring system is provided. As shown in Figure 1-2, the core of the system includes a three-layer structure: data layer , logical orchestration layer and application layer.

所述数据层指存储应用编排流程所需数据的数据库和数据表。数据层包含三个基础数据模块:应用数据模块、服务编排模块、资源参数模块。The data layer refers to a database and a data table that store data required by the application orchestration process. The data layer contains three basic data modules: application data module, service orchestration module, and resource parameter module.

所述逻辑编排层指主要使用Netflix Conductor编排引擎构建工作流,通过节点(Task)的功能二次组装实现多个模板应用。具体可以抽象为将每个接口能力定义为一个单独的节点模板,每个节点将具备对应的数据处理能力,通过组装多个节点形成用于不同业务场景的服务接口。The logical orchestration layer refers to mainly using the Netflix Conductor orchestration engine to build a workflow, and realize multiple template applications through the secondary assembly of the function of the node (Task). Specifically, it can be abstracted as defining each interface capability as a separate node template, each node will have corresponding data processing capabilities, and service interfaces for different business scenarios can be formed by assembling multiple nodes.

所述应用层指用户实际操作的、需要进行账户登录控制的前端应用。应用层通过提供对应页面访问对应逻辑编排层、数据层的能力。The application layer refers to the front-end application that is actually operated by the user and needs to perform account login control. The application layer provides the ability to access the corresponding logical layout layer and data layer by providing corresponding pages.

服务流(WorkFlow)模块指提供给到用户用于服务流程编排并进行管理的包含前端可视化界面的整体功能模块。模块通过内置提供多类已完成封装的节点(TASK),支持通过节点(Task)模板定义不同微服务接口,在通过画布应用完成组装从而实现服务工作流的创建。所包装的服务可直接暴露给到外部应用端进行使用。The service flow (WorkFlow) module refers to the overall functional module including the front-end visual interface provided to users for service process arrangement and management. The module provides multiple types of encapsulated nodes (TASK) built-in, supports the definition of different microservice interfaces through node (Task) templates, and completes the assembly through the canvas application to realize the creation of service workflows. The packaged services can be directly exposed to external applications for use.

节点(TASK)模块指已完成封装的不同节点模板,是整体服务中最小的执行单元,承载了一段执行逻辑,如发送HTTP请求。本应用编排系统主要封装给出7大节点模板(开始/结束节点、判断节点、调用节点、等待节点、输出节点、轮询节点、并行开始/结束节点)。通过节点(TASK)的组装可形成对应服务流(WorkFlow)。The node (TASK) module refers to different node templates that have been packaged. It is the smallest execution unit in the overall service and carries a piece of execution logic, such as sending HTTP requests. This application orchestration system mainly encapsulates and gives 7 major node templates (start/end node, judgment node, call node, wait node, output node, polling node, parallel start/end node). The corresponding service flow (WorkFlow) can be formed through the assembly of nodes (TASK).

资源(Source)模块,指对在进行服务编排时所依赖的底层资源配置。依赖的底层资源主要可分为以下几类:证书、加解密规则、数据库连接密码The resource (Source) module refers to the configuration of the underlying resources that are relied upon for service orchestration. The underlying resources that depend on can be mainly divided into the following categories: certificates, encryption and decryption rules, and database connection passwords

访问权限(Access),指控制用户登录后是否能够在软件(或网站)中访问某个应用的权限。具体来说,当用户不具备某个应用的访问权限时,该应用的入口将对该用户隐藏或无法点击。Access permission (Access) refers to the permission to control whether a user can access an application in the software (or website) after logging in. Specifically, when a user does not have access rights to an application, the application's entrance will be hidden or unclickable for the user.

数据权限(Data),指控制用户在某个应用中能够操作(增、删、改、查)的数据范围的权限。在涉及数据权限的应用中,当用户不具备某条数据的权限时,该条数据将对该用户隐藏或无法操作。Data permission (Data) refers to the permission to control the range of data that a user can operate (add, delete, modify, check) in an application. In an application involving data permissions, when a user does not have permission for a piece of data, the piece of data will be hidden or inoperable to the user.

该系统完成一个应用服务编排的流程包括:The system completes an application service orchestration process including:

步骤一:开通系统使用权限,允许客户登录对应后台进行配置操作。Step 1: Open the system usage authority, allowing customers to log in to the corresponding background for configuration operations.

步骤二:创建服务,完成服务基础信息填写,包括:服务基础信息定义、服务请求参数定义、服务返回参数定义。Step 2: Create a service and complete the service basic information, including: service basic information definition, service request parameter definition, and service return parameter definition.

步骤三:构建服务下的具体应用编排逻辑,基于数据流处理逻辑通过添加不同的处理节点完成对应数据的处理加工。Step 3: Construct the specific application orchestration logic under the service, and complete the corresponding data processing by adding different processing nodes based on the data flow processing logic.

步骤四:通过调式功能完成服务的整体逻辑调试并发布。发布后的服务将统一封装为restful接口对外提供服务,可由应用端服务进行调用。Step 4: Complete the overall logic debugging and release of the service through the debugging function. The published services will be uniformly encapsulated into a restful interface to provide external services, which can be called by application-side services.

所述服务可以扩展为服务基础信息定义、服务调试、服务监控。服务作为多个节点的更上层封装,可直接被上层应用服务进行调用。可按照应用服务的场景进行逻辑的处理和返回。同时具备对应调试能力可配合业务场景进行测试调试,确确保处理逻辑复核业务诉求:The service can be extended to define service basic information, service debugging, and service monitoring. As a higher-level encapsulation of multiple nodes, services can be directly invoked by upper-level application services. Logical processing and return can be performed according to the application service scenario. At the same time, it has the corresponding debugging ability to test and debug in conjunction with business scenarios to ensure that the processing logic reviews business demands:

服务基础信息定义包含服务的名称、服务编码、服务类型、请求方式、报文格式、请求参数、返回参数的定义。基础信息定义该封装的服务将以什么方式对外进行提供。The definition of basic service information includes the definition of service name, service code, service type, request method, message format, request parameters, and return parameters. The basic information defines how the encapsulated service will be provided externally.

服务调试:系统提供调试能力,类似postman发起模拟调用的方式进行服务的调试,确认编排完成的服务按照业务诉求返回对应处理结果。Service debugging: The system provides debugging capabilities, which are similar to postman initiating simulation calls to debug services, and confirm that the services that have been orchestrated return corresponding processing results according to business requirements.

服务监控:基于conductor底层框架能力,服务被外部应用每调用一次,将形成对应服务ID标记本次调用的数据执行情况。每次调用,服务监控会对调用结果进行监控。通过明细展示对应服务的调用记录以及执行结果。Service monitoring: Based on the capabilities of the underlying framework of the conductor, every time a service is called by an external application, the corresponding service ID will be generated to mark the data execution status of this call. For each call, the service monitor will monitor the result of the call. Display the call records and execution results of the corresponding services in detail.

监控同时将对服务下的每个节点进行监控。通过打印节点运行的详细日志信息对于节点执行情况进行监控。Monitoring will also monitor each node under the service. Monitor node execution by printing detailed log information of node operation.

所述节点,可以扩展为不同的节点模板。通过将不同的执行逻辑封装为对应模板以提供相应能力直接使用。标准逻辑的二次封装以减少上游的调用复杂程度同时提升性能。通过不同节点能力的组装应用可建立更为复杂的服务流程以应对不同的业务处理场景。针对整体编排服务中的每个节点,均会按照如图3所示流程判定如何进行节点对应逻辑的执行并输出对应结果;The node can be expanded into different node templates. By encapsulating different execution logics into corresponding templates, the corresponding capabilities can be used directly. The secondary encapsulation of standard logic reduces the complexity of upstream calls and improves performance. By assembling applications with different node capabilities, more complex service processes can be established to cope with different business processing scenarios. For each node in the overall orchestration service, it will determine how to execute the logic corresponding to the node and output the corresponding results according to the process shown in Figure 3;

封装核心节点模板细述如下:The encapsulation core node template is detailed as follows:

调用节点:数据获取及处理节点。节点封装支持通过HTTP、HTTPS、web sercive、socket、databaseToAPI等数据源访问的能力。1.支持直接通过配置对应数据源的请求方式、请求格式、请求地址、加解密规则、证书等信息与下游数据源建立对接机制,获取对应数据。2.对于数据源获取结果,可进行二次加工以符合上游业务诉求(包括赋值运算、字段映射、码值映射、运算加工)。3.异常机制的处理。数据获取处理节点可进行异常处理机制的配置。支持定义在下游接口异常的情况下的重试机制,包括超时机制、超时时间、重试次数等参数。Call node: data acquisition and processing node. Node encapsulation supports the ability to access data sources such as HTTP, HTTPS, web sercive, socket, databaseToAPI, etc. 1. It supports directly establishing a docking mechanism with downstream data sources by configuring the request method, request format, request address, encryption and decryption rules, certificates and other information of the corresponding data source to obtain corresponding data. 2. For the data source acquisition results, secondary processing can be carried out to meet the upstream business demands (including assignment operation, field mapping, code value mapping, and operation processing). 3. Handling of exception mechanism. The data acquisition processing node can configure the exception handling mechanism. It supports defining the retry mechanism when the downstream interface is abnormal, including parameters such as timeout mechanism, timeout period, and number of retries.

其中DatabaseToApi支持直接配置访问数据库表的模式,对多张数据库表进行组合的查询加工获取对应参数结果并将结果封装为restful标准接口进行服务提供。Among them, DatabaseToApi supports the mode of directly configuring and accessing database tables, performs combined query processing on multiple database tables to obtain corresponding parameter results, and encapsulates the results into restful standard interfaces for service provision.

判断节点:处理基于不同数据结果的分支判断逻辑。通过条件表达式的配置,支持与或非、大于、小于、等于等条件对参数值进行判断后进一步走不同的处理逻辑。Judgment node: processing branch judgment logic based on different data results. Through the configuration of conditional expressions, conditions such as AND or NOT, greater than, less than, equal to, etc. are supported to judge the parameter value and then go further with different processing logic.

并发开始/结束节点:进行并发数据获取处理。并发节点下可配置多个调用节点实现并行的数据获取和处理机制。支持多数据源的同步加工以及结果输出。Concurrent start/end node: perform concurrent data acquisition processing. Multiple call nodes can be configured under the concurrent node to implement parallel data acquisition and processing mechanisms. Support synchronous processing and result output of multiple data sources.

转换节点:数据映射关系的配置。可进行码值转换、数据格式转换、字段名称转换等。Transformation node: configuration of data mapping relationship. Code value conversion, data format conversion, field name conversion, etc. can be performed.

轮询节点:异步数据源获取处理机制。定义定时任务的触发机制和处理逻辑。Polling node: Asynchronous data source acquisition processing mechanism. Define the trigger mechanism and processing logic of the scheduled task.

所述资源模块,可拓展包含数据库、服务器、证书管理、数据源接口等底层数据资源的整体管理,拓展对于多类底层数据源的获取处理能力:The resource module can expand the overall management of underlying data resources including databases, servers, certificate management, and data source interfaces, and expand the acquisition and processing capabilities of multiple types of underlying data sources:

数据库可进行数据库名称、数据库类型(支持oracle、MQL、PG关系型数据库的访问)、用户名、密码、JDBC URL等参数配置。完成对于底层数据库表的连接访问。The database can be configured with parameters such as database name, database type (supporting access to oracle, MQL, and PG relational databases), user name, password, and JDBC URL. Complete connection access to the underlying database tables.

服务器通过配置服务器地址、用户名、密码,可与对应服务器建立连接获取文件等非关系型数据源。By configuring the server address, user name, and password, the server can establish a connection with the corresponding server to obtain non-relational data sources such as files.

证书管理通过添加证书支持HTTPS接口的调用。Certificate management supports the calling of the HTTPS interface by adding certificates.

所述数据权限,可以进一步结合用户的角色,封装出不同的系统操作角色,每个角色将对应具体可操作性的数据权限。保证系统在有对应权限管控的机制下进行使用。The data permissions can be further combined with user roles to encapsulate different system operation roles, and each role will correspond to specific operable data permissions. Ensure that the system is used under a mechanism with corresponding authority control.

实施例3Example 3

实施例3是实施例1和/或实施例2的优选例Embodiment 3 is a preferred example of embodiment 1 and/or embodiment 2

根据本发明提供的一种基金场外交易系统对接解决方案A docking solution for fund over-the-counter trading system provided according to the present invention

投资管理系统,即投管人端自有资管系统,一般资管系统是部署在金融机构内部的系统。投资经理使用该系统进行交易指令的下发。The investment management system refers to the asset management system owned by the investment manager, and the general asset management system is a system deployed within the financial institution. Investment managers use this system to issue trading orders.

基金销售系统,指基金销售基构通与投资机构对接的系统,负责执行投资管理系统下发的查询、交易等指令,并根据约定给基金投资机构提供开展业务所需的基金交易指令执行结果等信息。The fund sales system refers to the system connecting the fund sales infrastructure with investment institutions, which is responsible for executing inquiries, transactions and other instructions issued by the investment management system, and providing fund investment institutions with the execution results of fund transaction orders required for business development according to the agreement. information.

投资经理,即使用投资管理系统操作交易指令的下发。并使用投资管理系统进行交易链路的整体追踪。Investment managers, that is, use the investment management system to issue trading orders. And use the investment management system to track the overall transaction link.

系统端到端对接,指通过投资管理系统与基金销售系统之间直接通过API接口的方式进行数据的交互。不改变投资经理原有的界面使用习惯,即可进行场外基金交易。The end-to-end connection of the system refers to the data interaction between the investment management system and the fund sales system directly through the API interface. Over-the-counter fund transactions can be carried out without changing the original interface usage habits of investment managers.

在金融机构全面开展数字化改革的背景下,通过系统对接方式完成场外基金交易的全链路成为标准方案。一般金融机构会进行多家销售机构的对接,而不同销售机构的销售系统会遵循不同的接口规则,即对于投资管理系统将面临多套接口开发对接的现状。投资管理系统作为上游应用系统期望其通过一套标准接口即可完成多家销售系统的接入。通过应用编排服务可将不同销售机构提供的接口通过服务流模块进行标准化封装,制定标准的接口请求方式、请求格式、请求入参、请求出参等信息。In the context of the comprehensive digital reform of financial institutions, it has become a standard solution to complete the full link of OTC fund transactions through system docking. Generally, financial institutions will connect multiple sales agencies, and the sales systems of different sales agencies will follow different interface rules, that is, the investment management system will face the current situation of multiple sets of interface development and docking. As an upstream application system, the investment management system is expected to be able to complete the access of multiple sales systems through a set of standard interfaces. Through the application orchestration service, the interfaces provided by different sales organizations can be standardized and encapsulated through the service flow module, and the standard interface request method, request format, request input parameters, request output parameters and other information can be formulated.

在接口存在某系参数的特殊加工和变动时,可通过应用编排系统进行编辑调整,减少代码层面的调整。When the interface has special processing and changes of certain parameters, it can be edited and adjusted through the application layout system to reduce adjustments at the code level.

本领域技术人员知道,除了以纯计算机可读程序代码方式实现本发明提供的系统、装置及其各个模块以外,完全可以通过将方法步骤进行逻辑编程来使得本发明提供的系统、装置及其各个模块以逻辑门、开关、专用集成电路、可编程逻辑控制器以及嵌入式微控制器等的形式来实现相同程序。所以,本发明提供的系统、装置及其各个模块可以被认为是一种硬件部件,而对其内包括的用于实现各种程序的模块也可以视为硬件部件内的结构;也可以将用于实现各种功能的模块视为既可以是实现方法的软件程序又可以是硬件部件内的结构。Those skilled in the art know that, in addition to realizing the system, device and each module thereof provided by the present invention in a purely computer-readable program code mode, the system, device and each module thereof provided by the present invention can be completely programmed by logically programming the method steps. The same program is implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, and embedded microcontrollers, among others. Therefore, the system, device and each module provided by the present invention can be regarded as a hardware component, and the modules included in it for realizing various programs can also be regarded as the structure in the hardware component; A module for realizing various functions can be regarded as either a software program realizing a method or a structure within a hardware component.

以上对本发明的具体实施例进行了描述。需要理解的是,本发明并不局限于上述特定实施方式,本领域技术人员可以在权利要求的范围内做出各种变化或修改,这并不影响本发明的实质内容。在不冲突的情况下,本申请的实施例和实施例中的特征可以任意相互组合。Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art may make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. In the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.

Claims (10)

1.一种基于Conductor框架的应用编排服务系统,其特征在于,包括:1. An application orchestration service system based on the Conductor framework, characterized in that it comprises: 数据层:存储应用编排流程所需数据的数据库和数据表;Data layer: the database and data table that store the data required for the application orchestration process; 逻辑编排层:通过组装多个节点模块形成用于不同业务场景的服务接口;Logical arrangement layer: By assembling multiple node modules to form service interfaces for different business scenarios; 应用层:通过页面访问对应的服务接口、数据库和/或数据表,从而提供相应的编排服务;Application layer: access the corresponding service interface, database and/or data table through the page, so as to provide the corresponding orchestration service; 所述节点模块是已完成封装的不同节点模板,是编排服务中最小的执行单元,承载执行逻辑。The node modules are different node templates that have been packaged, and are the smallest execution unit in the orchestration service, carrying execution logic. 2.根据权利要求1所述的基于Conductor框架的应用编排服务系统,其特征在于,所述逻辑编排层包括:使用Netflix Conductor编排引擎构建工作流,基于构建的工作流将节点模块的功能进行二次组装。2. The application orchestration service system based on the Conductor framework according to claim 1, wherein the logical orchestration layer includes: using the Netflix Conductor orchestration engine to construct a workflow, and performing two functions of the node module based on the constructed workflow secondary assembly. 3.根据权利要求1所述的基于Conductor框架的应用编排服务系统,其特征在于,所述节点模板包括:开始/结束节点、判断节点、调用节点、等待节点、输出节点、轮询节点以及并行开始/结束节点。3. The application orchestration service system based on the Conductor framework according to claim 1, wherein the node template includes: start/end node, judgment node, call node, wait node, output node, polling node and parallel start/end node. 4.根据权利要求1所述的基于Conductor框架的应用编排服务系统,其特征在于,在进行编排服务时需要依赖底层资源配置;4. The application orchestration service system based on the Conductor framework according to claim 1, wherein it needs to rely on underlying resource configuration when performing orchestration services; 所述底层资源配置包括证书、加解密规则以及数据库连接密码。The underlying resource configuration includes certificates, encryption and decryption rules, and database connection passwords. 5.根据权利要求1所述的基于Conductor框架的应用编排服务系统,其特征在于,在所述数据层上设置不同的数据操作权限;应用层基于对应的数据操作权限使用相应数据。5. The application orchestration service system based on the Conductor framework according to claim 1, wherein different data operation permissions are set on the data layer; the application layer uses corresponding data based on the corresponding data operation permissions. 6.根据权利要求1所述的基于Conductor框架的应用编排服务系统,其特征在于,对所述编排服务设置访问权限。6. The application orchestration service system based on the Conductor framework according to claim 1, characterized in that access rights are set for the orchestration service. 7.根据权利要求2所述的基于Conductor框架的应用编排服务系统,其特征在于,基于conductor底层框架能力,编排服务被外部应用每调用一次,将形成对应服务ID标记本次调用的数据执行情况;每次调用,服务监控会对调用结果进行监控;通过明细展示对应服务的调用记录以及执行结果;7. The application orchestration service system based on the Conductor framework according to claim 2, characterized in that, based on the underlying framework capabilities of the conductor, each time the orchestration service is called by an external application, the corresponding service ID will be formed to mark the data execution status of this call ;For each call, the service monitoring will monitor the call result; display the call record and execution result of the corresponding service in detail; 监控同时将对服务下的每个节点进行监控;通过节点运行的详细日志信息对于节点执行情况进行监控。Monitoring will monitor each node under the service at the same time; monitor the execution of the node through the detailed log information of the node operation. 8.一种基于Conductor框架的应用编排服务方法,其特征在于,包括:8. An application orchestration service method based on the Conductor framework, characterized in that it comprises: 步骤S1:数据层存储应用编排流程所需数据的数据库和数据表;Step S1: the data layer stores the database and data table for the data required by the application orchestration process; 步骤S2:逻辑编排层通过组装多个节点模块形成用于不同业务场景的服务接口;Step S2: The logic orchestration layer forms service interfaces for different business scenarios by assembling multiple node modules; 步骤S3:应用层通过页面访问对应的服务接口、数据库和/或数据表,从而提供相应的编排服务;Step S3: The application layer accesses the corresponding service interface, database and/or data table through the page, so as to provide the corresponding orchestration service; 所述节点模块是已完成封装的不同节点模板,是编排服务中最小的执行单元,承载执行逻辑。The node modules are different node templates that have been packaged, and are the smallest execution unit in the orchestration service, carrying execution logic. 9.根据权利要求8所述的基于Conductor框架的应用编排服务方法,其特征在于,所述逻辑编排层包括:使用Netflix Conductor编排引擎构建工作流,基于构建的工作流将节点模块的功能进行二次组装;9. The application orchestration service method based on the Conductor framework according to claim 8, wherein the logic orchestration layer includes: using the Netflix Conductor orchestration engine to construct a workflow, and performing two functions of the node module based on the constructed workflow secondary assembly; 所述节点模板包括:开始/结束节点、判断节点、调用节点、等待节点、输出节点、轮询节点以及并行开始/结束节点。The node template includes: start/end node, judgment node, call node, wait node, output node, polling node and parallel start/end node. 10.根据权利要求9所述的基于Conductor框架的应用编排服务方法,其特征在于,基于conductor底层框架能力,编排服务被外部应用每调用一次,将形成对应服务ID标记本次调用的数据执行情况;每次调用,服务监控会对调用结果进行监控;通过明细展示对应服务的调用记录以及执行结果;10. The application orchestration service method based on the Conductor framework according to claim 9, characterized in that, based on the capabilities of the underlying framework of the conductor, each time the orchestration service is called by an external application, the corresponding service ID will be formed to mark the data execution status of this call ;For each call, the service monitoring will monitor the call result; display the call record and execution result of the corresponding service in detail; 监控同时将对服务下的每个节点进行监控;通过节点运行的详细日志信息对于节点执行情况进行监控。Monitoring will monitor each node under the service at the same time; monitor the execution of the node through the detailed log information of the node operation.
CN202211663279.2A 2022-12-23 2022-12-23 Conductor framework-based application programming service system and method Active CN115955408B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211663279.2A CN115955408B (en) 2022-12-23 2022-12-23 Conductor framework-based application programming service system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211663279.2A CN115955408B (en) 2022-12-23 2022-12-23 Conductor framework-based application programming service system and method

Publications (2)

Publication Number Publication Date
CN115955408A true CN115955408A (en) 2023-04-11
CN115955408B CN115955408B (en) 2024-11-01

Family

ID=87297653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211663279.2A Active CN115955408B (en) 2022-12-23 2022-12-23 Conductor framework-based application programming service system and method

Country Status (1)

Country Link
CN (1) CN115955408B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118502992A (en) * 2024-07-22 2024-08-16 国网信息通信产业集团有限公司 Service arrangement method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893591A (en) * 2016-04-10 2016-08-24 广州金越软件技术有限公司 Intelligent compiling technology of data sharing service
CN111142867A (en) * 2019-12-31 2020-05-12 谷云科技(广州)有限责任公司 Service visual arrangement system and method under micro-service architecture
CN111245916A (en) * 2020-01-07 2020-06-05 苏宁云计算有限公司 Service invocation method, service orchestration method and device based on microservice gateway
CN113157271A (en) * 2021-05-13 2021-07-23 中国建设银行股份有限公司 Service processing method and device
CN113626002A (en) * 2021-08-13 2021-11-09 中国工商银行股份有限公司 Service execution method and device
CN114115852A (en) * 2021-11-30 2022-03-01 深圳壹账通智能科技有限公司 Visual service orchestration method, device, device and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893591A (en) * 2016-04-10 2016-08-24 广州金越软件技术有限公司 Intelligent compiling technology of data sharing service
CN111142867A (en) * 2019-12-31 2020-05-12 谷云科技(广州)有限责任公司 Service visual arrangement system and method under micro-service architecture
CN111245916A (en) * 2020-01-07 2020-06-05 苏宁云计算有限公司 Service invocation method, service orchestration method and device based on microservice gateway
CN113157271A (en) * 2021-05-13 2021-07-23 中国建设银行股份有限公司 Service processing method and device
CN113626002A (en) * 2021-08-13 2021-11-09 中国工商银行股份有限公司 Service execution method and device
CN114115852A (en) * 2021-11-30 2022-03-01 深圳壹账通智能科技有限公司 Visual service orchestration method, device, device and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118502992A (en) * 2024-07-22 2024-08-16 国网信息通信产业集团有限公司 Service arrangement method and related equipment

Also Published As

Publication number Publication date
CN115955408B (en) 2024-11-01

Similar Documents

Publication Publication Date Title
CN118761087A (en) User interface for building data privacy pipelines and contractual agreements for sharing data
RU2433463C2 (en) Dynamic repositioning workflow by end users
CN111176867B (en) Data sharing exchange and open application platform
US9230273B2 (en) Creation and use of constraint templates
US10445675B2 (en) Confirming enforcement of business rules specified in a data access tier of a multi-tier application
CN106600226B (en) Method and device for optimizing process management system
US11886941B2 (en) Systems and methods for providing uniform access in a multi-tenant system
CN110188132A (en) A data exchange method and system
TW202020760A (en) Ontologically-driven business model system and method
CN120579969A (en) Payment service processing method, device, equipment and medium based on process engine
Santos et al. A logical architecture design method for microservices architectures
Bhattacharjee et al. A model-driven approach to automate the deployment and management of cloud services
US12130789B1 (en) Data lineage tracking service
US20230315789A1 (en) Configuration-driven query composition for graph data structures for an extensibility platform
CN115955408B (en) Conductor framework-based application programming service system and method
CN115640613A (en) RPA-based privacy data distributed control method, system and electronic terminal
Ziani Configuration in erp saas multi-tenancy
CN114417208A (en) Configurable general system and system configuration method
JP7641604B1 (en) How to visualize enterprise business processes as process menus
US20250335170A1 (en) Fine grained telemetry sharing
US12242827B1 (en) Dynamic user interface customization for no-code application development
CN114461298B (en) A method and system for generating interface technology standard documents
US20100076779A1 (en) Methods and systems for recording and managing manufacturing capacity attributes
CN118466913A (en) Business logic arrangement method, system, electronic device and storage medium
Richter Performance Impact of the Command Query Responsibility Segregation (CQRS) Pattern in C# Web APIs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant