[go: up one dir, main page]

CN114816360A - Dynamic service configuration system - Google Patents

Dynamic service configuration system Download PDF

Info

Publication number
CN114816360A
CN114816360A CN202210433480.5A CN202210433480A CN114816360A CN 114816360 A CN114816360 A CN 114816360A CN 202210433480 A CN202210433480 A CN 202210433480A CN 114816360 A CN114816360 A CN 114816360A
Authority
CN
China
Prior art keywords
configuration
service
page
business
dynamic
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
CN202210433480.5A
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.)
Shenzhen Xiaoying Information Technology Co ltd
Original Assignee
Shenzhen Xiaoying Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xiaoying Information Technology Co ltd filed Critical Shenzhen Xiaoying Information Technology Co ltd
Priority to CN202210433480.5A priority Critical patent/CN114816360A/en
Publication of CN114816360A publication Critical patent/CN114816360A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The invention provides a set of dynamic business configuration system, which comprises five modules, namely a configuration center management page, a public embedded page, an API service layer, a rule engine and a high-cohesion data model. The workflow scheme based on page embedding, unified management of service configuration data and dynamic generation of the target page is designed, so that the problems of excessive human resource occupation, complex data maintenance, overlong development period and the like of a conventional configuration system are effectively solved.

Description

动态业务配置系统Dynamic Business Configuration System

技术领域technical field

本发明涉及互联网技术和金融业务领域,具体的来说涉及一套基于vue和java等前后端技术栈实现的动态业务配置系统。The invention relates to the fields of Internet technology and financial business, and in particular to a dynamic business configuration system based on front-end and back-end technology stacks such as vue and java.

背景技术Background technique

基于业务的系统定位,核心系统需要在向业务提供稳定可扩展的基础能力上,不断的扩充丰富业务场景以便让上层业务在核心能力基础上快速的实现各种各样的配置方法。Based on the system positioning of the business, the core system needs to continuously expand and enrich business scenarios on the basis of providing stable and scalable basic capabilities to the business, so that the upper-level business can quickly implement various configuration methods based on the core capabilities.

现有核心已经向业务提供了超过20多种业务场景功能,其中包含100多个业务属性字段。现有的核心系统向业务赋能是通过以下方式来实现:各业务侧团队需要在其运营系统上经过研发测试,增加所需的业务场景,以实现业务规则配置化。并将所有的业务规则配置信息,在实际业务交易的过程中落地在标的上,以便核心系统能识别并按照配置的规则实现后端逻辑。The existing core has provided more than 20 business scenario functions to the business, including more than 100 business attribute fields. The existing core system empowers the business in the following ways: each business side team needs to go through R&D tests on its operating system and add the required business scenarios to realize the configuration of business rules. And all the business rule configuration information is landed on the target during the actual business transaction, so that the core system can identify and implement the back-end logic according to the configured rules.

现有的方案主要的缺点在于:The main disadvantages of the existing solutions are:

各业务团队所需的场景能力每次都需单独对接开发,数据单独保存,才能实现功能的配置化,存在大量重复建设;The scene capabilities required by each business team need to be developed separately each time, and the data is stored separately in order to realize the configuration of functions, and there is a lot of repeated construction;

各业务团队需要理解核心后端的业务逻辑,来实现前端交互逻辑,跨团队沟通易出现沟通理解不一致,实现逻辑与后端不匹配导致系统性风险;Each business team needs to understand the business logic of the core back-end to realize the front-end interaction logic. Cross-team communication is prone to inconsistency in communication and understanding, and the mismatch between the implementation logic and the back-end leads to systemic risks;

核心系统任何改造均涉及业务系统,耦合性高,牵一发而动全身;Any transformation of the core system involves the business system, which has high coupling and affects the whole body;

核心系统各业务规则下的场景及其组成场景的100+字段无收拢规范化管理,日常维护成本高。The scenarios under each business rule of the core system and the 100+ fields that make up the scenarios are not managed in a standardized manner, resulting in high daily maintenance costs.

所以我们研发了一套新的动态配置管理系统,以解决核心系统向业务赋能过程中各团队重复研发、与业务耦合性高能力不专注、业务系统实现逻辑与核心逻辑不匹配带来的系统性风险、项目交付效率低等问题。Therefore, we have developed a new dynamic configuration management system to solve the problems caused by the repeated research and development of each team in the process of empowering the core system to the business, the high coupling with the business and the lack of focus, and the mismatch between the implementation logic of the business system and the core logic. Sexual risks and low project delivery efficiency.

发明内容SUMMARY OF THE INVENTION

本发明所要解决的问题在于,克服现有技术中存在的问题,提供一套动态业务配置系统。The problem to be solved by the present invention is to overcome the problems existing in the prior art and provide a dynamic service configuration system.

为了解决上述问题本发明的技术方案是这样的:In order to solve the above problems, the technical scheme of the present invention is as follows:

动态业务配置系统,包括:配置中心管理页、公共嵌入页、API服务层、规则引擎、内聚数据模型五个模块;Dynamic business configuration system, including five modules: configuration center management page, public embedded page, API service layer, rule engine, and cohesive data model;

配置中心管理页Configuration Center Management Page

通过配置要素、场景、模版及规则约束来动态生成一套公共页;Dynamically generate a set of public pages by configuring elements, scenes, templates and rule constraints;

公共嵌入页public embed page

形式表现为一个链接,由配置中心管理页配置生成,业务接入方通过iframe嵌入的方式来渲染配置;The form is represented as a link, which is generated by the configuration center management page, and the business access party renders the configuration through iframe embedding;

API服务层API service layer

使用java语言开发的基于http协议和post数据格式的RPC系统,该系统支持对配置数据的增删改查操作;An RPC system based on http protocol and post data format developed in java language, the system supports addition, deletion, modification, and query operations on configuration data;

规则引擎rules engine

针对要素的表现类型、数据格式、数值范围制定的一系列特殊标识符,同时针对这些标识进行约束性校验;A series of special identifiers are formulated for the representation type, data format, and value range of the elements, and a constraint check is carried out for these identifiers;

内聚数据模型Cohesive Data Model

根据要素、场景、模版、约束规则及业务模块组成的数据模型。A data model composed of elements, scenarios, templates, constraint rules and business modules.

所述配置中心管理页,运营人员在管理页面配置出基本要素信息、场景信息、模版信息,并且对其进行规则约束的配置控制,配置完成后,系统会动态生成一个嵌入url供业务使用。In the configuration center management page, the operator configures basic element information, scene information, and template information on the management page, and performs rule-constrained configuration control. After the configuration is completed, the system will dynamically generate an embedded url for business use.

所述公共嵌入页,使用方通过配置中心管理页生成的嵌入链接,嵌入到业务系统的模块中,实现了业务系统直接渲染出统一配置中心的页面操作入口。The public embedded page is embedded in the module of the business system by the user through the embedded link generated by the configuration center management page, so that the business system directly renders the page operation entry of the unified configuration center.

当业务方在其独立的业务系统触发保存/修改事件的时,会间接触发配置中心嵌入公共页的保存/修改事件,配置中心公共页会单独调用API服务层进行数据的增删,执行成功后,配置中心会返回一个ConfigId标识给到业务系统保存,建立起了业务和配置中心的真实关系。When the business party triggers the save/modify event in its independent business system, it will indirectly trigger the save/modify event embedded in the public page of the configuration center, and the public page of the configuration center will call the API service layer to add and delete data. The configuration center will return a ConfigId to the business system to save, establishing a real relationship between the business and the configuration center.

所述API服务层,实用java语言spring框架开发,云原生部署方式;API服务层的接口层包括了要素增删改、组的增删改、模版增删改、场景增删改、规则约束处理、公共基础配置查询、业务配置数据查询操作模块。The API service layer is developed using the Java language spring framework, and the cloud native deployment method; the interface layer of the API service layer includes element addition, deletion and modification, group addition, deletion and modification, template addition and deletion, scene addition, deletion and modification, rule constraint processing, and common basic configuration. Query, business configuration data query operation module.

所述规则引擎,实现要素或者组之间的元素规则校验和可行性判断;包括于特殊key、约束项、operator操作符、值类型、值限定类型的校验和判断。The rule engine implements element rule check and feasibility judgment among elements or groups; including checksum judgment of special keys, constraints, operators, value types, and value-limited types.

特殊key包括:and、or;Special keys include: and, or;

约束项包括:left、operator、right、right_is_prop、fail_msg;Constraints include: left, operator, right, right_is_prop, fail_msg;

operator操作符包括:in、>=>==<<=!=、regular、length;Operator operators include: in, >=>==<<=! =, regular, length;

值类型包括:json集合、数值、字符串、json对象;Value types include: json collection, numeric value, string, json object;

值限定类型包括:数值、枚举、字符串。Value-qualified types include: numeric, enum, and string.

所述内聚数据模型,使用mysql数据库作为存储软件,云机器作为介质。The cohesive data model uses the mysql database as the storage software and the cloud machine as the medium.

所述内聚数据模型,根据要素、场景、模版、约束规则及业务来划分模块。The cohesive data model is divided into modules according to elements, scenarios, templates, constraint rules and services.

所述内聚数据模型,模型信息字段包括:要素id、要素名、场景id、场景名、模版id、模版名、约束类型、业务configId、创建时间、创建人、状态。In the cohesive data model, the model information fields include: element id, element name, scene id, scene name, template id, template name, constraint type, business configId, creation time, creator, and status.

有益效果:Beneficial effects:

1,通过组件化机制、运营嵌入化和数模隔离化等技巧,有效解决了以往业务配置系统的高复杂、高研发成本、耗时长、数据安全性不足及运营不敏捷高效的问题。1. Through the techniques of componentization mechanism, operation embedding and digital-analog isolation, it effectively solves the problems of high complexity, high R&D cost, time-consuming, insufficient data security and inflexible and efficient operation of the previous business configuration system.

2,技术上,淘汰了传统BS技术选型(比如jsp、php、bootstrap、jquery等)带来的性能和开发维护上等问题。通过采取当前最流行的前后分离及动态响应式设计方案,结合云原生架构部署,达到了服务高性能、高可用、低维护成本及功能易扩展的目标。2. Technically, the performance and development and maintenance problems caused by traditional BS technology selection (such as jsp, php, bootstrap, jquery, etc.) are eliminated. By adopting the most popular front-back separation and dynamic responsive design, combined with cloud-native architecture deployment, it achieves the goals of high service performance, high availability, low maintenance costs, and easy expansion of functions.

下面结合附图和具体实施方式来详细说明本发明。The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

附图说明Description of drawings

图1为本发明所述的动态业务配置系统架构示意图。FIG. 1 is a schematic diagram of the architecture of the dynamic service configuration system according to the present invention.

图2为本发明所述的动态业务配置系统规则引擎表。FIG. 2 is a rule engine table of the dynamic service configuration system according to the present invention.

图3为本发明所述的动态业务配置系统规则引擎运算关系图。FIG. 3 is a diagram showing the operation relationship of the rule engine of the dynamic service configuration system according to the present invention.

图4为本发明所述的配置中心管理页基础字段/组件配置图。FIG. 4 is a configuration diagram of basic fields/components of the configuration center management page according to the present invention.

图5为本发明所述的公共嵌入页配置图。FIG. 5 is a configuration diagram of the public embedded page according to the present invention.

图6为本发明所述的API服务层逻辑图。FIG. 6 is a logical diagram of the API service layer according to the present invention.

图7为本发明所述的数据模型图。FIG. 7 is a data model diagram according to the present invention.

图8为本发明所述的规则ID流程图。FIG. 8 is a flow chart of the rule ID according to the present invention.

图9为本发明所述动态业务配置系统业务实现流程图。FIG. 9 is a flow chart of service implementation of the dynamic service configuration system according to the present invention.

具体实施方式Detailed ways

为了使本发明实现的技术手段、创作特征、达成目的与功效易于明白了解,下面结合具体图示,进一步阐述本发明。In order to make it easy to understand the technical means, creation features, achievement goals and effects of the present invention, the present invention will be further described below with reference to the specific figures.

系统架构:system structure:

按照每个模块的功能定位不同,将系统分为运营接入层、服务层、核心层(包括规则引擎)、DB存储层。系统上层对接业务,下层处理核心任务;上层可对不同业务进行差异适配调整,核心层稳定。(图1)According to the functional positioning of each module, the system is divided into operation access layer, service layer, core layer (including rule engine), and DB storage layer. The upper layer of the system is connected to the business, and the lower layer handles the core tasks; the upper layer can make differential adaptation adjustments to different services, and the core layer is stable. (figure 1)

缩略语和关键术语定义如下:Abbreviations and key terms are defined as follows:

Vue:Vue是一套用于构建用户界面的渐进式框架。与其他大型框架不同的是,Vue被设计为可以自底向上逐层应用。Vue的核心库只关注视图层,不仅易于上手,还便于与第三方库或既有项目整合。Vue: Vue is a progressive framework for building user interfaces. Unlike other large frameworks, Vue is designed to be applied layer by layer from the bottom up. Vue's core library only focuses on the view layer, which is not only easy to use, but also easy to integrate with third-party libraries or existing projects.

JS:JavaScript(简称“JS”)是一种具有函数优先的轻量级,解释型或即时编译型的编程语言。虽然它是作为开发Web页面的脚本语言而出名,但是它也被用到了很多非浏览器环境中,JavaScript基于原型编程、多范式的动态脚本语言,并且支持面向对象、命令式、声明式、函数式编程范式。JS: JavaScript ("JS" for short) is a lightweight, interpreted or just-in-time compiled programming language with function first. Although it is famous as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is a dynamic scripting language based on prototype programming, multi-paradigm, and supports object-oriented, imperative, declarative, functional programming paradigm.

HTML:的全称为超文本标记语言,是一种标记语言。它包括一系列标签.通过这些标签可以将网络上的文档格式统一,使分散的Internet资源连接为一个逻辑整体。HTML文本是由HTML命令组成的描述性文本,HTML命令可以说明文字,图形、动画、声音、表格、链接等。HTML: the full name of Hypertext Markup Language, is a markup language. It includes a series of tags. Through these tags, the document format on the network can be unified, and the scattered Internet resources can be connected as a logical whole. HTML text is descriptive text composed of HTML commands, which can describe text, graphics, animations, sounds, tables, links, and more.

层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。CSS不仅可以静态地修饰网页,还可以配合各种脚本语言动态地对网页各元素进行格式化。CSS能够对网页中元素位置的排版进行像素级精确控制,支持几乎所有的字体字号样式,拥有对网页对象和模型样式编辑的能力。Cascading Style Sheets (English full name: Cascading Style Sheets) is a computer language used to represent document styles such as HTML (an application of Standard Universal Markup Language) or XML (a subset of Standard Universal Markup Language). CSS can not only modify web pages statically, but also dynamically format various elements of web pages with various scripting languages. CSS can perform pixel-level precise control over the layout of element positions in web pages, supports almost all font size styles, and has the ability to edit web page objects and model styles.

Java:一门面向对象编程语言,不仅吸收了C++语言的各种优点,还摒弃了C++里难以理解的多继承、指针等概念,因此Java语言具有功能强大和简单易用两个特征。Java语言作为静态面向对象编程语言的代表,极好地实现了面向对象理论,允许程序员以优雅的思维方式进行复杂的编程。Java: An object-oriented programming language, it not only absorbs various advantages of C++ language, but also abandons the incomprehensible concepts of multiple inheritance and pointers in C++. Therefore, Java language has two characteristics of powerful functions and ease of use. As a representative of static object-oriented programming language, Java language perfectly implements object-oriented theory, allowing programmers to perform complex programming in an elegant way of thinking.

要素:是构成各个配置场景的原子内容,是业务活动/规则中的最小条件。Element: It is the atomic content that constitutes each configuration scenario, and is the minimum condition in business activities/rules.

组:指几个要素或者条件组成的集合,它们绑定以集合方式出现,可配置多套规则,以便后端能实现业务规则A“或”B的逻辑。Group: refers to a set of several elements or conditions, which are bound in a set form, and multiple sets of rules can be configured so that the backend can implement the logic of business rule A "or" B.

场景:指业务活动中所有的条件的集合。Scenario: Refers to a collection of all conditions in a business activity.

模板:指业务活动可以按照固定的格式来设定规则,多个/单个场景可生成一份模板。Template: It means that business activities can set rules according to a fixed format, and multiple/single scenarios can generate a template.

规则ID:基于模板,业务运营人员完成业务规则配置后,生成的唯一数值,规则ID背后对应的是所有的规则配置详情(参看图8)Rule ID: Based on the template, the unique value generated by the business operator after completing the business rule configuration. The rule ID corresponds to all the rule configuration details (see Figure 8)

规则引擎:针对要素的表现类型、数据格式、数值范围等制定了一系列特殊标识符,同时针对这些标识进行约束性校验(参看图2-3)。Rule engine: A series of special identifiers are formulated for the representation type, data format, value range, etc. of the elements, and constraint verification is performed on these identifiers (see Figure 2-3).

技术实施步骤Technical Implementation Steps

配置中心管理页:使用时,先配置基础字段(即公共嵌入页的基础组件),可以设置字段存储类型,所属业务方,展示类型;可以根据这些基础字段配置成模版,字段间可以配置业务规则以实现不同的交互功能。(参看图4)Configuration center management page: When using, first configure the basic fields (that is, the basic components of the public embedded page), you can set the field storage type, the business party to which it belongs, and the display type; you can configure templates according to these basic fields, and you can configure business rules between fields to achieve different interactive functions. (See Figure 4)

公共嵌入页:公共嵌入页,由不同的表单组件构建。业务方接入时,入口统一,通过传入不同的模版id来展示不同的组件所构成的页面。达到减少前端代码的开发工作(参看图5)。Common Embed Pages: Common embed pages, built from different form components. When the business party accesses, the entrance is unified, and pages composed of different components are displayed by passing in different template ids. To reduce the development work of front-end code (see Figure 5).

API服务层:一套使用java语言开发的基于http协议和post数据格式的api服务层系统,系统提供了对配置数据的增删改查支持,并且按照不同的使用场景来划分出子模块。在提供基础数据能力的时候,我们还考虑了业务配置关联查询接口,通过此接口打开了实际业务与配置系统唯一的关联入口。在新增和更新配置数据的时候,系统会触发规则引擎的执行来对数据进行统一校验与约束处理(参看图6)。API service layer: a set of api service layer system based on http protocol and post data format developed in java language, the system provides support for adding, deleting, modifying and checking configuration data, and divides sub-modules according to different usage scenarios. When providing basic data capabilities, we also considered the business configuration association query interface, through which the only association entry between the actual business and the configuration system is opened. When adding and updating configuration data, the system will trigger the execution of the rule engine to perform unified verification and constraint processing on the data (see Figure 6).

内聚数据模型:配置中心系统需兼容各种业务场景的使用,且又要有独立系统的约束,所以对数模的建设要求比较高。我们从最小粒度配置数据着手,抽象出要素信息表,再衍生出场景模型,通过场景模型同时又衍生出模版模型。我们将这几大模型封装为基础数据模型,在基础模型之上,再加上规则引擎约束模型和具体业务配置数据模型,由此来降低业务、策略、基础数据之间的耦合。整个模型边界清晰,易于扩展和维护,也易于异常数据的修正。当模型不完全适用于业务的变更时,我们能做到业务模型的更新,核心基础模型的稳定。在技术上,我们使用云端mysql存储技术来进行数据的保存,拥有完善的备份机制,数据安全得到保障(参看图7)。Cohesive data model: The configuration center system needs to be compatible with the use of various business scenarios, and has the constraints of independent systems, so the construction of digital models is relatively high. We start from the minimum granularity configuration data, abstract the element information table, and then derive the scene model, and then derive the template model through the scene model. We encapsulate these major models as the basic data model, and add the rule engine constraint model and the specific business configuration data model on top of the basic model, thereby reducing the coupling between business, strategy, and basic data. The entire model has clear boundaries, is easy to expand and maintain, and is also easy to correct abnormal data. When the model is not fully suitable for business changes, we can update the business model and stabilize the core basic model. Technically, we use cloud mysql storage technology to save data, with a complete backup mechanism, data security is guaranteed (see Figure 7).

业务接入步骤Service access steps

首先,上游业务会评估所需的业务活动配置管理能力,并向配置中心提出诉求。First, the upstream business will evaluate the required business activity configuration management capabilities and make demands to the configuration center.

接着配置中心管理人员,会在配置中心运营系统中创建对应的业务活动所需的所有的要素或者是组,并按照业务逻辑配置各要素或者组之间的交互逻辑、校验规则内容等逐个配置场景。并将多个场景配置成模板,生成对应模板ID及页面链接。Next, the configuration center administrator will create all the elements or groups required for the corresponding business activities in the configuration center operation system, and configure the interaction logic between each element or group, the content of the verification rules, etc., one by one according to the business logic. Scenes. Configure multiple scenarios into templates, and generate corresponding template IDs and page links.

业务系统拿到对应的模板ID及页面链接后,在上游业务自身的运营系统中完成嵌入模块ID对应的页面链接、配置ID落地存储的研发测试工作。After the business system obtains the corresponding template ID and page link, it completes the R&D test work of embedding the page link corresponding to the module ID and configuring the ID storage in the operating system of the upstream business itself.

至此,业务接入的工作就已经完成,后续如有核心系统任何能力拓展及变化均无需涉及业务系统。At this point, the business access work has been completed, and if there is any capacity expansion and change of the core system in the future, there is no need to involve the business system.

业务实现逻辑business implementation logic

首先,上游业务运营系统配置好所有的业务规则,向配置中心发出[保存]的指令,配置中心校验配置数据无误后,保存配置的详情,生成规则ID并返回至上游业务侧,业务侧保存好规则ID与业务侧的关联关系。First, the upstream business operation system configures all business rules, and sends the [Save] command to the configuration center. After the configuration center verifies that the configuration data is correct, it saves the configuration details, generates a rule ID and returns it to the upstream business side, where the business side saves it. The relationship between the good rule ID and the business side.

接着,在发生实际的交易的时候,规则ID或者规则ID背后对应的所有的规则配置详情会在业务订单信息中进行存储。Then, when an actual transaction occurs, the rule ID or all the rule configuration details corresponding to the rule ID will be stored in the business order information.

最后核心系统会在业务逻辑实现的各流程中,按照获取的业务订单信息中的规则详情执行代码逻辑,全程不再依赖业务系统。Finally, the core system will execute the code logic according to the rules details in the obtained business order information in each process of the business logic implementation, and no longer rely on the business system in the whole process.

业务实现流程(图9),本实施例中配置中心系统接入业务系统有2个,共顺利完成20余类业务配置的迁移使用工作,线上配置数据导致的事故0起,节约产研测人力成本3人,极大提高了研发效率和研发质量,有效规避了配置数据安全和紧急项目因配置而延期的风险。The service implementation process (Figure 9), in this embodiment, the configuration center system has two access service systems, and the migration and use of more than 20 types of service configurations has been successfully completed. There are 0 accidents caused by online configuration data, saving production, research and testing. The labor cost is 3 people, which greatly improves the R&D efficiency and R&D quality, and effectively avoids the risk of configuration data security and the delay of emergency projects due to configuration.

以上显示和描述了本发明的基本原理、主要特征和本发明的优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明专利要求保护的范围由所附的权利要求书及其等同物界定。The foregoing has shown and described the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above-mentioned embodiments. The above-mentioned embodiments and descriptions only illustrate the principle of the present invention. Such changes and improvements fall within the scope of the claimed invention. The scope of patent protection for the present invention is defined by the appended claims and their equivalents.

Claims (10)

1. The dynamic service configuration system is characterized by comprising: the system comprises five modules, namely a configuration center management page, a public embedded page, an API service layer, a rule engine and a cohesive data model;
configuration center management page
Dynamically generating a set of public pages by configuring elements, scenes, templates and rule constraints;
public embedded page
The form is expressed as a link, the link is configured and generated by a configuration center management page, and a service access party renders the configuration in an iframe embedding mode;
API service layer
An RPC system developed by using java language and based on http protocol and post data format supports the operations of adding, deleting, modifying and checking configuration data;
rules engine
A series of special identifiers are formulated according to the expression types, data formats and numerical ranges of the elements, and meanwhile, the identifiers are subjected to constraint verification;
cohesive data model
And the data model is composed according to the elements, the scene, the template, the constraint rule and the business module.
2. The dynamic service configuration system according to claim 1, wherein the configuration center management page is configured by an operator to configure basic element information, scenario information, and template information on the management page, and perform rule-constrained configuration control on the basic element information, the scenario information, and the template information, and after the configuration is completed, the system dynamically generates an embedded url for service use.
3. The dynamic service configuration system according to claim 2, wherein the common embedded page is embedded into a module of the service system through an embedded link generated by the configuration center management page by a user, so that the service system directly renders a page operation entry of the unified configuration center.
4. The dynamic service configuration system according to claim 3, wherein when the service party triggers the save/modify event in its independent service system, the save/modify event embedded in the public page in the configuration center is indirectly triggered, the public page in the configuration center separately calls the API service layer to add or delete data, and after the execution is successful, the configuration center returns a ConfigId identifier to the service system for saving, thereby establishing the real relationship between the service and the configuration center.
5. The dynamic business configuration system of claim 1, wherein the API service layer is developed in a practical java language spring framework, cloud-based deployment; the interface layer of the API service layer comprises element addition and deletion, group addition and deletion, template addition and deletion, scene addition and deletion, rule constraint processing, public basic configuration query and service configuration data query operation modules.
6. The dynamic business configuration system of claim 1, wherein the rules engine, implements element rule checksum feasibility determinations between elements or groups; including checksum determinations for special keys, constraint terms, operator operators, value types, and value limit types.
7. The set of dynamic service provisioning systems of claim 6,
the special key includes: and, or;
the constraint items include: left, operator, right _ is _ prop, fail _ msg;
operator operators include: in, or ═ in! Renular, length;
the value types include: json set, numerical value, character string, json object;
the value definition types include: numeric values, enumerations, strings.
8. The dynamic business configuration system of claim 1, wherein the cohesive data model uses a mysql database as storage software and a cloud machine as a medium.
9. The dynamic business configuration system of claim 8 wherein the cohesive data model partitions modules according to elements, scenarios, templates, constraint rules, and businesses.
10. The dynamic service configuration system of claim 9, wherein the cohesive data model, model information field, comprises: element id, element name, scene id, scene name, template id, template name, constraint type, service configId, creation time, creator, status.
CN202210433480.5A 2022-04-24 2022-04-24 Dynamic service configuration system Pending CN114816360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210433480.5A CN114816360A (en) 2022-04-24 2022-04-24 Dynamic service configuration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210433480.5A CN114816360A (en) 2022-04-24 2022-04-24 Dynamic service configuration system

Publications (1)

Publication Number Publication Date
CN114816360A true CN114816360A (en) 2022-07-29

Family

ID=82506799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210433480.5A Pending CN114816360A (en) 2022-04-24 2022-04-24 Dynamic service configuration system

Country Status (1)

Country Link
CN (1) CN114816360A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140310591A1 (en) * 2013-03-13 2014-10-16 Thong Nguyen Presentation layer software development kit for creation of dynamic webpages
CN111913734A (en) * 2020-08-06 2020-11-10 中国电子系统技术有限公司 On-line development platform based on micro-service technology system
CN112328212A (en) * 2020-09-08 2021-02-05 中国电子系统技术有限公司 Rapid development platform based on separation of front end and rear end of engine mode and use method thereof
CN113849178A (en) * 2021-09-28 2021-12-28 航天科工网络信息发展有限公司 WEB system development framework based on form-driven combined with dynamic rule engine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140310591A1 (en) * 2013-03-13 2014-10-16 Thong Nguyen Presentation layer software development kit for creation of dynamic webpages
CN111913734A (en) * 2020-08-06 2020-11-10 中国电子系统技术有限公司 On-line development platform based on micro-service technology system
CN112328212A (en) * 2020-09-08 2021-02-05 中国电子系统技术有限公司 Rapid development platform based on separation of front end and rear end of engine mode and use method thereof
CN113849178A (en) * 2021-09-28 2021-12-28 航天科工网络信息发展有限公司 WEB system development framework based on form-driven combined with dynamic rule engine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
爱是与世界平行: "规则引擎Drools介绍、使用及SpringBoot整合Drools", pages 2 - 11, Retrieved from the Internet <URL:https://blog.51cto.com/lovebetterworld/4289934> *

Similar Documents

Publication Publication Date Title
CN114035773B (en) Configuration-based low-code form development method, system and device
CN107370786B (en) A general information management system based on microservice architecture
CN110825362B (en) Low-code application software development system and method
CN115640045B (en) Low-code development platform based on domain-driven design and business system creation method
CN104111826B (en) A kind of software project development method and device
CN101334728B (en) Interface creating method and platform based on XML document description
CN101847100B (en) Method for expanding software application and device
CN112860260B (en) Web-based cross-platform application construction tool and method in college scene
CN101546260B (en) Method and device thereof for reconstructing service-oriented applications
US20120011447A1 (en) Facilitating propagation of user interface patterns or themes
JP2014523042A (en) Business model oriented software execution platform and its execution mode
CN107766042A (en) A kind of visual data manager and device of the model file based on CSAR
CN103645908A (en) Full life circle development achievement system of intemetware
WO2008099393A2 (en) Service provisioning system
CN107291736A (en) A kind of method and system of edit page
US20240378028A1 (en) Automated authoring of software solutions from a data model
CN108491195A (en) Equipment controls page generation method and system
CN113626016A (en) Front-end and back-end separated reusable component based on Vue + Element UI + Koa2
CN107122171A (en) Automatically generate the method and system of data manipulation in operation flow
CN114610280A (en) Visual form design method and system realized in low-code mode
CN118860361A (en) A method for online integration of SQL based on low-code platform
CN112328917A (en) A method for generating http interface service and data display page for SQL programming
Zhang et al. Mockup‐driven fast‐prototyping methodology for Web application development
CN114816360A (en) Dynamic service configuration system
CN118605855A (en) A method and system for implementing list-based UI via JSON configuration on Hongmeng platform

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