CN113672208A - Low code development framework system for realizing compatible trust and creation adaptation based on computer software - Google Patents
Low code development framework system for realizing compatible trust and creation adaptation based on computer software Download PDFInfo
- Publication number
- CN113672208A CN113672208A CN202111050880.XA CN202111050880A CN113672208A CN 113672208 A CN113672208 A CN 113672208A CN 202111050880 A CN202111050880 A CN 202111050880A CN 113672208 A CN113672208 A CN 113672208A
- Authority
- CN
- China
- Prior art keywords
- service
- file
- database
- framework
- subunit
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computing Systems (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
Abstract
本发明涉及一种基于计算机软件实现兼容信创适配的低代码开发框架系统,其中,该系统包括前端开发框架子系统,用于提供多类型控件抽象定义出json对象,并将json对象渲染成相应的页面元素;异步网关模块,用于集成会话以及服务托管功能;业务微服务开发框架子系统,用于进行数据库框架、文件框架以及搜索框架的微服务数据配置处理;后端数据库开发框架子系统,用于支持多种数据库,并通过脚手架快速生成业务代码块;运维监控模块,用于监控已上架服务器的服务节点,及时处理阻塞节点。采用了本发明的该开发框架系统,旨在帮助企业规范软件开发,提升公司整体水平,促进IT技术交流,形成合力,提升交付产品质量;减少人员的投入,缩短需求交付周期。
The invention relates to a low-code development framework system based on computer software to realize compatibility with Xinchuang adaptation, wherein the system includes a front-end development framework subsystem, which is used to provide multiple types of controls to abstractly define json objects, and render the json objects into Corresponding page elements; asynchronous gateway module, used to integrate session and service hosting functions; business microservice development framework subsystem, used for microservice data configuration processing of database framework, file framework and search framework; back-end database development framework sub-system The system is used to support a variety of databases and quickly generate business code blocks through scaffolding; the operation and maintenance monitoring module is used to monitor the service nodes of the servers that have been put on the shelves, and deal with blocked nodes in a timely manner. The development framework system of the present invention aims to help enterprises to standardize software development, improve the overall level of the company, promote IT technology exchanges, form a joint force, and improve the quality of delivered products; reduce personnel input and shorten demand delivery cycles.
Description
技术领域technical field
本发明涉及计算机应用技术领域,尤其涉及前端界面开发技术领域,具体是指一种基于计算机软件实现兼容信创适配的低代码开发框架系统。The invention relates to the technical field of computer applications, in particular to the technical field of front-end interface development, and in particular to a low-code development framework system based on computer software to realize compatible Xinchuang adaptation.
背景技术Background technique
通常,在进行软件开发的过程中,很容易出现基础技术建设分散,没有规模效应,无法有效促进技术交流,业务和技术组件复用难度高,存在重复建设现象,导致人力资源浪费;并且开发人员代码风格迥异,技术水平差异化明显,随着团队规模扩大、时间推移,新同事培训和系统交接困难,维护成本显著增加等问题就日益严重。基于此,能够实现规范代码编写,代码质量可控,降低运维成本等全生命周期的服务技术就显得很有必要。Usually, in the process of software development, it is easy to see that the basic technology construction is scattered, there is no scale effect, and the technical exchange cannot be effectively promoted. The code style is very different, and the technical level is obviously different. With the expansion of the team and the passage of time, the training of new colleagues and the handover of the system are difficult, and the maintenance cost is significantly increased. Based on this, it is necessary to realize the full life cycle service technology such as standard code writing, controllable code quality, and reduction of operation and maintenance costs.
发明内容SUMMARY OF THE INVENTION
本发明的目的是克服了上述现有技术的缺点,提供了一种涵盖开发、部署、日志监控、运维分析等全生命周期服务支持的基于计算机软件实现兼容信创适配的低代码开发框架系统。The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art, and provide a low-code development framework based on computer software that supports full life cycle services such as development, deployment, log monitoring, operation and maintenance analysis, etc. system.
为了实现上述目的,本发明的基于计算机软件实现兼容信创适配的低代码开发框架系统如下:In order to achieve the above-mentioned purpose, the low-code development framework system based on computer software of the present invention that is compatible with Xinchuang adaptation is as follows:
该基于计算机软件实现兼容信创适配的低代码开发框架系统,其主要特点是,所述的系统包括:The main features of the low-code development framework system that is compatible with Xinchuang adaptation based on computer software are that the system includes:
前端开发框架子系统,用于提供多类型控件抽象定义出json对象,并将所述的json对象渲染成相应的页面元素;The front-end development framework subsystem is used to abstractly define json objects for multiple types of controls, and render the json objects into corresponding page elements;
异步网关模块,与所述的前端开发子框架进行数据传输,用于集成会话以及服务托管功能;An asynchronous gateway module, which performs data transmission with the front-end development sub-framework for integrating session and service hosting functions;
业务微服务开发框架子系统,与所述的异步网关模块进行数据传输,用于进行数据库框架、文件框架以及搜索框架的微服务数据配置处理;The business microservice development framework subsystem performs data transmission with the asynchronous gateway module, and is used for the microservice data configuration processing of the database framework, the file framework and the search framework;
后端数据库开发框架子系统,与所述的业务微服务开发框架进行数据传输,用于支持多种数据库,并通过脚手架快速生成业务代码块;以及The back-end database development framework subsystem, which performs data transmission with the business microservice development framework, is used to support a variety of databases, and quickly generates business code blocks through scaffolding; and
运维监控模块,分别与所述的前端开发框架子系统、异步网关模块、业务微服务开发框架子系统以及后端数据库开发框架子系统进行数据传输,用于监控已上架服务器的服务节点,及时处理阻塞节点。The operation and maintenance monitoring module performs data transmission with the front-end development framework subsystem, the asynchronous gateway module, the business micro-service development framework subsystem and the back-end database development framework subsystem respectively, and is used to monitor the service nodes of the servers that have been put on the shelves, and timely Handle blocking nodes.
较佳地,所述的前端开发框架子系统具体包括容器控件单元和基础控件单元,其中,Preferably, the front-end development framework subsystem specifically includes a container control unit and a basic control unit, wherein,
所述的容器控件单元具体包括展现页面容器子单元、流程页面容器子单元以及自展现页面容器子单元,所述的容器控件单元用于处理内部控件的冒泡事件,并提供相应的方法供外部调用,以获取或者更改内部控件的属性;The container control unit specifically includes a presentation page container subunit, a process page container subunit, and a self-presentation page container subunit. The container control unit is used to process the bubbling event of the internal control, and provide corresponding methods for external use. Called to get or change the properties of internal controls;
所述的基础控件单元包括输入控件子单元、选择控件子单元、树形控件子单元、日期控件子单元、按钮控件子单元、附件控件子单元、表格控件子单元以及流程控件子单元,各个基础控件单元均具备不同的展示方式。The basic control unit includes an input control subunit, a selection control subunit, a tree control subunit, a date control subunit, a button control subunit, an accessory control subunit, a table control subunit and a process control subunit. The control units have different display methods.
较佳地,所述的异步网关模块具体包括:Preferably, the asynchronous gateway module specifically includes:
会话管理单元,用于根据用户IP、MAC地址以及认证信息进行匹配,将不符合权限的认证请求进行屏蔽阻断;以及a session management unit, used for matching according to the user IP, MAC address and authentication information, and shielding and blocking authentication requests that do not meet the authority; and
服务托管单元,用于当出现接口服务大量错误、系统升级维护时,阻断该请求并进行友好提示。The service hosting unit is used to block the request and give a friendly prompt when a large number of errors in the interface service or system upgrade and maintenance occur.
较佳地,所述的业务微服务开发框架子系统具体包括:Preferably, the business microservice development framework subsystem specifically includes:
数据库框架单元,用于支持针对关系型数据库的调用、解析服务入参和DB接口、匹配后自动调用并返回数据;以及同时支持针对文档型数据库,解析服务入参并检查配置的语句,执行对应语句;The database framework unit is used to support the invocation of relational databases, parsing service input parameters and DB interfaces, and automatically calling and returning data after matching; at the same time, it supports parsing service input parameters and checking configuration statements for document databases, and executes the corresponding statement;
文件框架单元,用于提供文件上传、下载、解析和生成服务;以及File framework unit for providing file upload, download, parsing and generation services; and
搜索框架单元,用于提供数据同步服务和搜索服务。The search framework unit is used to provide data synchronization services and search services.
较佳地,所述的关系型数据库具体包括Oracle、SQL Server、MS Sqlserver、MySql、IQ、 ES以及达梦;所述的文档型数据库具体包括MongoDB、Elasticsearch以及信创DM数据库。Preferably, the relational database specifically includes Oracle, SQL Server, MS Sqlserver, MySql, IQ, ES and Dameng; the document database specifically includes MongoDB, Elasticsearch and Xinchuang DM database.
较佳地,所述的文件框架单元具体包括:Preferably, the document frame unit specifically includes:
文件上传服务子单元,用于通过配置定义文件大小、类型的限制,文件目录位置、文件生成规则,文件重命名规则,服务将通过限制的文件上传于指定目录下;The file upload service sub-unit is used to define file size and type restrictions, file directory location, file generation rules, and file renaming rules through configuration. The service will upload the restricted files to the specified directory;
文件下载服务子单元,用于将经过用户认证、权限认证后,下载指定文件,以避免路径扫描;The file download service subunit is used to download the specified file after user authentication and authority authentication to avoid path scanning;
文件解析服务子单元,用于通过配置,服务解析excel或者csv文件内容,并将内容转存入指定数据库;The file parsing service subunit is used to parse the content of the excel or csv file through configuration and service, and transfer the content to the specified database;
文件生成服务子单元,与数据库子框架的配置文件一致,用于将响应内容写入文件并返回下载。The file generation service subunit, which is consistent with the configuration file of the database subframe, is used to write the response content into the file and return it for download.
较佳地,所述的搜索框架单元中的数据同步服务,用于根据配置将指定数据库内容同步至Elasticsearch数据库中;所述的搜索服务用于根据配置顺序、比重或列规则,从Elasticsearch 数据库进行检索。Preferably, the data synchronization service in the described search framework unit is used for synchronizing the content of the specified database to the Elasticsearch database according to the configuration; the described search service is used for performing the data synchronization from the Elasticsearch database according to the configuration order, proportion or column rules. retrieve.
较佳地,所述的后端数据库开发框架子系统具体为:Preferably, the back-end database development framework subsystem is specifically:
根据配置文件启用对应数据库适配器,包括兼容了Oralce、MS Sqlserver、Mysql、IQ、 ES、Mongo、信创DM数据库,用于解析入参并将该服务上架供外部调用,当收到请求后会注入参数,若入参包含认证信息时会自动注入,调用相关参数后并将结果返回。Enable the corresponding database adapter according to the configuration file, including compatible with Oralce, MS Sqlserver, Mysql, IQ, ES, Mongo, Xinchuang DM database, used to parse the input parameters and put the service on the shelf for external calls, which will be injected when the request is received Parameters, if the input parameters contain authentication information, it will be automatically injected, and the relevant parameters will be called and the result will be returned.
较佳地,所述的运维监控模块具体为:Preferably, the operation and maintenance monitoring module is specifically:
使用框架开发并部署后,项目管理员监控已上架服务器的服务节点当前处理情况,当出现红色节点阻塞时,支撑问题排查。After using the framework to develop and deploy, the project administrator monitors the current processing status of the service nodes that have been put on the server, and supports troubleshooting when the red node is blocked.
采用了本发明的该基于计算机软件实现兼容信创适配的低代码开发框架系统,通过通用逻辑技术封装使开发人员专注业务实现,降低技术门槛;提供标准UI组件,可视化界面设计,规范代码编写,代码质量可控,降低运维成本;微服务积木式后台服务快速部署搭建;涵盖了开发、部署、日志监控、运维分析等全生命周期服务支持,融合权限、会话、文件、事务、消息等基础组件模块。旨在帮助企业规范软件开发,提升公司整体水平;促进IT技术交流,形成合力,提升交付产品质量;减少人员的投入,缩短需求交付周期。The computer software-based low-code development framework system of the present invention that is compatible with Xinchuang adaptation is adopted, and the general logic technology encapsulation enables developers to focus on business implementation and reduces technical thresholds; provides standard UI components, visual interface design, and standardized code writing , the code quality is controllable, and the operation and maintenance cost is reduced; the microservice building block background service is rapidly deployed and constructed; it covers the development, deployment, log monitoring, operation and maintenance analysis and other full life cycle service support, integrating permissions, sessions, files, transactions, messages and other basic component modules. It aims to help enterprises standardize software development and improve the overall level of the company; promote IT technology exchanges, form a joint force, and improve the quality of delivered products; reduce personnel investment and shorten demand delivery cycles.
目前前端开发框架已提供支持八大类共计22种控件类型,40余种业务微服务,支持5 种关系型数据库和2种文档型数据库。At present, the front-end development framework has provided support for a total of 22 types of controls in eight categories, more than 40 kinds of business microservices, and supports 5 kinds of relational databases and 2 kinds of document databases.
在实际应用中已承接4个中型项目开发实施。其中电子公文项目,一个完整流程开发周期由原来的15天缩短到5天。In practical application, it has undertaken the development and implementation of 4 medium-sized projects. Among them, for the electronic document project, a complete process development cycle was shortened from 15 days to 5 days.
附图说明Description of drawings
图1为本发明的该基于计算机软件实现兼容信创适配的低代码开发框架系统的框架架构示意图。FIG. 1 is a schematic diagram of the framework structure of the low-code development framework system based on computer software to realize compatibility with Xinchuang adaptation of the present invention.
图2为本发明的json对象渲染示意图。FIG. 2 is a schematic diagram of rendering a json object according to the present invention.
图3A为本发明的json对象属性示意图。FIG. 3A is a schematic diagram of a json object attribute of the present invention.
图3B为本发明的json对象属性另一示意图。FIG. 3B is another schematic diagram of the json object attribute of the present invention.
图4A为本发明的运维监控示意图。FIG. 4A is a schematic diagram of operation and maintenance monitoring of the present invention.
图4B为本发明的另一运维监控示意图。FIG. 4B is another schematic diagram of operation and maintenance monitoring according to the present invention.
具体实施方式Detailed ways
为了能够更清楚地描述本发明的技术内容,下面结合具体实施例来进行进一步的描述。In order to describe the technical content of the present invention more clearly, further description will be given below with reference to specific embodiments.
在详细说明根据本发明的实施例前,应该注意到的是,在下文中,术语“包括”、“包含”或任何其他变体旨在涵盖非排他性的包含,由此使得包括一系列要素的过程、方法、物品或者设备不仅包含这些要素,而且还包含没有明确列出的其他要素,或者为这种过程、方法、物品或者设备所固有的要素。Before describing in detail embodiments in accordance with the present invention, it should be noted that, hereinafter, the terms "comprising", "comprising" or any other variation are intended to encompass a non-exclusive inclusion, thereby making a process comprising a series of elements A process, method, article or apparatus contains not only these elements, but also other elements not expressly listed or inherent to such process, method, article or apparatus.
该开发框架包括了前端开发框架、异步网关、微服务开发框架、数据库开发框架和监控运维平台等5部分。The development framework includes five parts: front-end development framework, asynchronous gateway, microservice development framework, database development framework and monitoring operation and maintenance platform.
请参阅图1所示,该基于计算机软件实现兼容信创适配的低代码开发框架系统,其中,所述的系统包括:Please refer to FIG. 1 , the low-code development framework system based on computer software that is compatible with Xinchuang adaptation, wherein the system includes:
前端开发框架子系统,用于提供多类型控件抽象定义出json对象,并将所述的json对象渲染成相应的页面元素;The front-end development framework subsystem is used to abstractly define json objects for multiple types of controls, and render the json objects into corresponding page elements;
异步网关模块,与所述的前端开发子框架进行数据传输,用于集成会话以及服务托管功能;An asynchronous gateway module, which performs data transmission with the front-end development sub-framework for integrating session and service hosting functions;
业务微服务开发框架子系统,与所述的异步网关模块进行数据传输,用于进行数据库框架、文件框架以及搜索框架的微服务数据配置处理;The business microservice development framework subsystem performs data transmission with the asynchronous gateway module, and is used for the microservice data configuration processing of the database framework, the file framework and the search framework;
后端数据库开发框架子系统,与所述的业务微服务开发框架进行数据传输,用于支持多种数据库,并通过脚手架快速生成业务代码块;以及The back-end database development framework subsystem, which performs data transmission with the business microservice development framework, is used to support a variety of databases, and quickly generates business code blocks through scaffolding; and
运维监控模块,分别与所述的前端开发框架子系统、异步网关模块、业务微服务开发框架子系统以及后端数据库开发框架子系统进行数据传输,用于监控已上架服务器的服务节点,及时处理阻塞节点。The operation and maintenance monitoring module performs data transmission with the front-end development framework subsystem, the asynchronous gateway module, the business micro-service development framework subsystem and the back-end database development framework subsystem respectively, and is used to monitor the service nodes of the servers that have been put on the shelves, and timely Handle blocking nodes.
在本发明的一具体实施方式中,前端开发框架,使用json(JavaScript ObjectNotation,JS 对象简谱,轻量级的数据交换格式,完全独立于编程语言的文本格式来存储和表示数据)来描述控件。该框架提供的“React适配器”将json翻译为对应的控件并展示于界面中。因为控件对应的json对象属性固定,所以能规范代码开发。In a specific embodiment of the present invention, the front-end development framework uses json (JavaScript ObjectNotation, JS Object Notation, a lightweight data exchange format, completely independent of the text format of the programming language to store and represent data) to describe the controls. The "React adapter" provided by the framework translates json into corresponding controls and displays them in the interface. Because the json object properties corresponding to the controls are fixed, code development can be standardized.
请参阅图2至图3B所示,作为本发明的优选实施方式,所述的前端开发框架子系统具体包括容器控件单元和基础控件单元,其中,Referring to FIGS. 2 to 3B, as a preferred embodiment of the present invention, the front-end development framework subsystem specifically includes a container control unit and a basic control unit, wherein,
所述的容器控件单元具体包括展现页面容器子单元、流程页面容器子单元以及自展现页面容器子单元,所述的容器控件单元用于处理内部控件的冒泡事件,并提供相应的方法供外部调用,以获取或者更改内部控件的属性;The container control unit specifically includes a presentation page container subunit, a process page container subunit, and a self-presentation page container subunit. The container control unit is used to process the bubbling event of the internal control, and provide corresponding methods for external use. Called to get or change the properties of internal controls;
所述的基础控件单元包括输入控件子单元(input)、选择控件子单元(select)、树形控件子单元、日期控件子单元(date)、按钮控件子单元(button)、附件控件子单元(upload)、表格控件子单元(table)以及流程控件子单元,各个基础控件单元均具备不同的展示方式。The basic control unit includes an input control subunit (input), a selection control subunit (select), a tree control subunit, a date control subunit (date), a button control subunit (button), and an accessory control subunit ( upload), table control sub-unit (table) and process control sub-unit, each basic control unit has different display methods.
其中,输入控件子单元分为单行文本输入、多行文本输入、搜索文本输入、密码输入、数字输入、评级数字输入、滑块数字输入;Wherein, the input control subunit is divided into single-line text input, multi-line text input, search text input, password input, number input, rating number input, slider number input;
选择控件子单元、树形控件子单元分为横向选择、下拉选择、单项选择、多选选择、树形下拉选择、级联下拉选择;The selection control subunit and the tree control subunit are divided into horizontal selection, drop-down selection, single-item selection, multi-selection selection, tree drop-down selection, and cascade drop-down selection;
日期控件子单元分为年月日、年月、年、时分、年月日时分、年月日时分秒等;Date control sub-units are divided into year month day, year month, year, hour minute, year month day hour minute, year month day hour minute second, etc.;
流程控件子单元分为文号(flownum)、人员选择(staff)、部门选择(dept)、定位(location) 等;Flow control sub-units are divided into document number (flownum), staff selection (staff), department selection (dept), location (location), etc.;
表格控件子单元为列表容器控件,内含以上的控件子单元。The table control subunit is a list container control, which contains the above control subunits.
在本发明的一具体实施方式中,以输入控件子单元为例,较为完整的示例json为:{type:”input”,displaytype:”number”,defval:”默认文本”,placeholder:”灰色提示内容”,tip:”说明文”,rules:{maxlength:50},options:{min:1,max:100,textfield:””,valuefield:””},server:{url:””}}In a specific embodiment of the present invention, taking the input control subunit as an example, a relatively complete example json is: {type: "input", displaytype: "number", defval: "default text", placeholder: "gray prompt Content",tip:"Explanation",rules:{maxlength:50},options:{min:1,max:100,textfield:"",valuefield:""},server:{url:""}}
其中,in,
1、type为子单元分类,input为输入控件子单元;1. Type is the subunit classification, and input is the input control subunit;
2、displaytype为子单元二级分类,number标识为数字输入框,控制仅输入数字;2. The displaytype is the secondary classification of the subunit, the number is identified as the number input box, and only numbers are controlled to be input;
3、defval为初始化时默认展示的文本内容;3. defval is the text content displayed by default during initialization;
4、placeholder为如果输入框内容为空时,该内容展示于输入框内,但不作为该控件的值;4. Placeholder is if the content of the input box is empty, the content is displayed in the input box, but not as the value of the control;
5、tip为出现一个提示图标,鼠标放在图标上会显示说明文本;5. The tip is a prompt icon, and when the mouse is placed on the icon, the description text will be displayed;
6、rules为对控件的规则约束,maxlength控制最多的输入字符数;6. Rules is the rule constraint on the control, and maxlength controls the maximum number of input characters;
7、options为额外的控制字段,min、max控制最小最大值,textfield、valuefield当与后台交互时,指定的字段会展示在控件上;7. options are additional control fields, min and max control the minimum and maximum values, when textfield and valuefield interact with the background, the specified fields will be displayed on the control;
8、server为如果该控件与后台接口进行交互,则会配置相关url请求、参数等信息。8. Server is if the control interacts with the background interface, it will configure relevant url requests, parameters and other information.
容器控件分为展现页面容器、流程页面容器(扩展自展现页面容器,增加了与流程相关交互行为);容器控件中处理内部控件的冒泡事件,并提供了方法供外部调用,获取或者更改内部控件的属性;Container controls are divided into presentation page containers and process page containers (extends the self-presentation page container, adding interactive behaviors related to the process); the container controls handle the bubbling events of internal controls, and provide methods for external calls to obtain or change the internal control. properties of the control;
基础控件分为了输入控件、选择控件、树形控件、日期控件、按钮控件、附件控件、表格控件、流程控件等。每一个基础控件细分展示方式,例如输入控件的展示方式可分为文本输入、数字输入、多行输入、密码输入等等。Basic controls are divided into input controls, selection controls, tree controls, date controls, button controls, attachment controls, table controls, process controls, etc. Each basic control is subdivided into display methods. For example, the display methods of input controls can be divided into text input, number input, multi-line input, password input, and so on.
每种类型控件抽象出json对象,该控件代码负责将json对象渲染成相应的页面元素。Each type of control abstracts a json object, and the control code is responsible for rendering the json object into the corresponding page element.
页面代码开发如下所示:The page code development is as follows:
作为本发明的优选实施方式,所述的异步网关模块具体包括:As a preferred embodiment of the present invention, the asynchronous gateway module specifically includes:
会话管理单元,用于根据用户IP、MAC地址以及认证信息进行匹配,将不符合权限的认证请求进行屏蔽阻断;以及a session management unit, used for matching according to the user IP, MAC address and authentication information, and shielding and blocking authentication requests that do not meet the authority; and
服务托管单元,用于当出现接口服务大量错误、系统升级维护时,阻断该请求并进行友好提示。The service hosting unit is used to block the request and give a friendly prompt when a large number of errors in the interface service or system upgrade and maintenance occur.
作为本发明的优选实施方式,所述的业务微服务开发框架子系统具体包括:As a preferred embodiment of the present invention, the business microservice development framework subsystem specifically includes:
数据库框架单元,用于支持针对关系型数据库的调用、解析服务入参和DB接口、匹配后自动调用并返回数据;以及同时支持针对文档型数据库,解析服务入参并检查配置的语句,执行对应语句;The database framework unit is used to support the invocation of relational databases, parsing service input parameters and DB interfaces, and automatically calling and returning data after matching; at the same time, it supports parsing service input parameters and checking configuration statements for document databases, and executes the corresponding statement;
文件框架单元,用于提供文件上传、下载、解析和生成服务;以及File framework unit for providing file upload, download, parsing and generation services; and
搜索框架单元,用于提供数据同步服务和搜索服务。The search framework unit is used to provide data synchronization services and search services.
作为本发明的优选实施方式,所述的关系型数据库具体包括Oracle、SQL Server、MS Sqlserver、MySql、IQ、ES以及达梦;所述的文档型数据库具体包括MongoDB、Elasticsearch 以及信创DM数据库。As a preferred embodiment of the present invention, the relational database specifically includes Oracle, SQL Server, MS Sqlserver, MySql, IQ, ES and Dameng; the document database specifically includes MongoDB, Elasticsearch and Xinchuang DM database.
作为本发明的优选实施方式,所述的文件框架单元具体包括:As a preferred embodiment of the present invention, the file frame unit specifically includes:
文件上传服务子单元,用于通过配置定义文件大小、类型的限制,文件目录位置、文件生成规则,文件重命名规则,服务将通过限制的文件上传于指定目录下;The file upload service sub-unit is used to define file size and type restrictions, file directory location, file generation rules, and file renaming rules through configuration. The service will upload the restricted files to the specified directory;
文件下载服务子单元,用于将经过用户认证、权限认证后,下载指定文件,以避免路径扫描;The file download service subunit is used to download the specified file after user authentication and authority authentication to avoid path scanning;
文件解析服务子单元,用于通过配置,服务解析excel或者csv文件内容,并将内容转存入指定数据库;The file parsing service subunit is used to parse the content of the excel or csv file through configuration and service, and transfer the content to the specified database;
文件生成服务子单元,与数据库子框架的配置文件一致,用于将响应内容写入文件并返回下载。The file generation service subunit, which is consistent with the configuration file of the database subframe, is used to write the response content into the file and return it for download.
作为本发明的优选实施方式,所述的搜索框架单元中的数据同步服务,用于根据配置将指定数据库内容同步至Elasticsearch数据库中;所述的搜索服务用于根据配置顺序、比重或列规则,从Elasticsearch数据库进行检索。As a preferred embodiment of the present invention, the data synchronization service in the search framework unit is used for synchronizing the content of the specified database to the Elasticsearch database according to the configuration; the search service is used for configuring the order, proportion or column rules, Retrieve from Elasticsearch database.
作为本发明的优选实施方式,所述的后端数据库开发框架子系统具体为:As a preferred embodiment of the present invention, the described back-end database development framework subsystem is specifically:
根据配置文件启用对应数据库适配器,包括兼容了Oralce、MS Sqlserver、Mysql、IQ、 ES、Mongo、信创DM数据库,用于解析入参并将该服务上架供外部调用,当收到请求后会注入参数,若入参包含认证信息时会自动注入,调用相关参数后并将结果返回。Enable the corresponding database adapter according to the configuration file, including compatible with Oralce, MS Sqlserver, Mysql, IQ, ES, Mongo, Xinchuang DM database, used to parse the input parameters and put the service on the shelf for external calls, which will be injected when the request is received Parameters, if the input parameters contain authentication information, it will be automatically injected, and the relevant parameters will be called and the result will be returned.
请参阅图4A至4B图示,作为本发明的优选实施方式,所述的运维监控模块具体为:4A to 4B, as a preferred embodiment of the present invention, the operation and maintenance monitoring module is specifically:
使用框架开发并部署后,项目管理员监控已上架服务器的服务节点当前处理情况,当出现红色节点阻塞时,支撑问题排查。After using the framework to develop and deploy, the project administrator monitors the current processing status of the service nodes that have been put on the server, and supports troubleshooting when the red node is blocked.
在本发明的一具体实施方式中,异步网关,集成了会话、服务托管等功能。其中,In a specific embodiment of the present invention, the asynchronous gateway integrates functions such as session and service hosting. in,
会话:根据用户IP、MAC地址、认证信息进行匹配,不符合权限认证请求进行屏蔽阻断;Session: Match according to user IP, MAC address, and authentication information, and block and block the authentication request that does not meet the authority;
服务托管:当出现接口服务大量错误、系统升级维护时,阻断该请求并进行友好提示;Service hosting: When there are a lot of errors in the interface service, system upgrade and maintenance, block the request and give a friendly prompt;
在本发明的一具体实施方式中,业务微服务开发框架包括数据库框架、文件框架、搜索框架、restful协议转发等;In a specific embodiment of the present invention, the business microservice development framework includes a database framework, a file framework, a search framework, restful protocol forwarding, and the like;
数据库框架支持了Oracle、SQL Server、MySql、达梦等关系型数据库的调用。解析服务入参和DB接口,匹配后自动调用并返回数据;The database framework supports the invocation of relational databases such as Oracle, SQL Server, MySql, and Dameng. Parse service input parameters and DB interface, automatically call and return data after matching;
同时支持MongoDB、Elasticsearch等文档型数据库,解析服务入参并检查配置的语句,执行对应语句。At the same time, it supports document databases such as MongoDB and Elasticsearch, parses service input parameters, checks the configured statements, and executes the corresponding statements.
文件框架分为了文件上传下载服务、文件解析服务、文件生成服务。The file framework is divided into file upload and download service, file parsing service, and file generation service.
文件上传服务:通过配置定义文件大小、类型等限制,文件目录位置、生成规则,文件重命名规则等,服务将通过限制的文件上传于指定目录下;File upload service: Define file size, type and other restrictions through configuration, file directory location, generation rules, file renaming rules, etc., the service will upload the restricted files to the specified directory;
文件下载服务:经过了用户认证、权限认证后,下载指定文件,避免路径扫描;File download service: After user authentication and authority authentication, download the specified file to avoid path scanning;
文件解析服务:通过配置,服务解析excel/csv文件内容,并将内容转存入指定数据库;File parsing service: Through configuration, the service parses the content of the excel/csv file and transfers the content to the specified database;
文件生成服务:与数据库框架的配置文件一致,将响应内容写入文件并返回下载;File generation service: consistent with the configuration file of the database framework, write the response content to the file and return to download;
搜索框架分为数据同步(etl)服务和搜索服务。The search framework is divided into data synchronization (etl) service and search service.
数据同步服务根据配置将指定数据库内容同步至Elasticsearch数据库中;The data synchronization service synchronizes the specified database content to the Elasticsearch database according to the configuration;
搜索服务根据配置(顺序、比重、列)从Elasticsearch数据库进行检索。The search service retrieves from the Elasticsearch database according to the configuration (order, weight, columns).
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the invention includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present invention belong.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行装置执行的软件或固件来实现。It should be understood that various parts of the present invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by suitable instruction execution means.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like.
在本说明书的描述中,参考术语“一实施例”、“一些实施例”、“示例”、“具体示例”、或“实施例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, reference to the terms "an embodiment", "some embodiments", "example", "specific example", or "an embodiment", etc., means the specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present invention. Embodiments are subject to variations, modifications, substitutions and variations.
采用了本发明的该基于计算机软件实现兼容信创适配的低代码开发框架系统,通过通用逻辑技术封装使开发人员专注业务实现,降低技术门槛;提供标准UI组件,可视化界面设计,规范代码编写,代码质量可控,降低运维成本;微服务积木式后台服务快速部署搭建;涵盖了开发、部署、日志监控、运维分析等全生命周期服务支持,融合权限、会话、文件、事务、消息等基础组件模块。旨在帮助企业规范软件开发,提升公司整体水平;促进IT技术交流,形成合力,提升交付产品质量;减少人员的投入,缩短需求交付周期。The computer software-based low-code development framework system of the present invention that is compatible with Xinchuang adaptation is adopted, and the general logic technology encapsulation enables developers to focus on business implementation and reduces technical thresholds; provides standard UI components, visual interface design, and standardized code writing , the code quality is controllable, and the operation and maintenance cost is reduced; the microservice building block background service is rapidly deployed and constructed; it covers the development, deployment, log monitoring, operation and maintenance analysis and other full life cycle service support, integrating permissions, sessions, files, transactions, messages and other basic component modules. It aims to help enterprises standardize software development and improve the overall level of the company; promote IT technology exchanges, form a joint force, and improve the quality of delivered products; reduce personnel investment and shorten demand delivery cycles.
目前前端开发框架已提供支持八大类共计22种控件类型,40余种业务微服务,支持5 种关系型数据库和2种文档型数据库。At present, the front-end development framework has provided support for a total of 22 types of controls in eight categories, more than 40 kinds of business microservices, and supports 5 kinds of relational databases and 2 kinds of document databases.
在实际应用中已承接4个中型项目开发实施。其中电子公文项目,一个完整流程开发周期由原来的15天缩短到5天。In practical application, it has undertaken the development and implementation of 4 medium-sized projects. Among them, for the electronic document project, a complete process development cycle was shortened from 15 days to 5 days.
在此说明书中,本发明已参照其特定的实施例作了描述。但是,很显然仍可以作出各种修改和变换而不背离本发明的精神和范围。因此,说明书和附图应被认为是说明性的而非限制性的。In this specification, the invention has been described with reference to specific embodiments thereof. However, it will be evident that various modifications and changes can still be made without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111050880.XA CN113672208A (en) | 2021-09-08 | 2021-09-08 | Low code development framework system for realizing compatible trust and creation adaptation based on computer software |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111050880.XA CN113672208A (en) | 2021-09-08 | 2021-09-08 | Low code development framework system for realizing compatible trust and creation adaptation based on computer software |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN113672208A true CN113672208A (en) | 2021-11-19 |
Family
ID=78548842
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111050880.XA Pending CN113672208A (en) | 2021-09-08 | 2021-09-08 | Low code development framework system for realizing compatible trust and creation adaptation based on computer software |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113672208A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114153869A (en) * | 2021-12-03 | 2022-03-08 | 浪潮云信息技术股份公司 | Intelligent database analysis adaptation method for micro-service architecture |
| CN114860205A (en) * | 2022-05-09 | 2022-08-05 | 维沃移动通信有限公司 | Application extension system, method and device for low-code development platform |
| CN114895878A (en) * | 2022-07-13 | 2022-08-12 | 天津中新智冠信息技术有限公司 | Information system framework, development method and multilevel management system |
| CN117289929A (en) * | 2023-11-24 | 2023-12-26 | 浙江口碑网络技术有限公司 | Plug-in frame, plug-in and data processing method and device and electronic equipment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060085400A1 (en) * | 2004-10-19 | 2006-04-20 | Microsoft Corporation | Data access layer design and code generation |
| CN102467379A (en) * | 2010-11-15 | 2012-05-23 | 中国人民解放军63928部队 | Lightweight extensible application integration framework based on component technology |
| CN110321152A (en) * | 2019-07-04 | 2019-10-11 | 青岛华正信息技术股份有限公司 | A kind of Software Development Platform |
| CN110795071A (en) * | 2019-10-11 | 2020-02-14 | 国电南京自动化股份有限公司 | User interface design and code separation method supporting real-time data dynamic binding |
| CN111176627A (en) * | 2019-12-06 | 2020-05-19 | 深圳市科南软件有限公司 | Device and method for separating front end from back end based on micro-service |
-
2021
- 2021-09-08 CN CN202111050880.XA patent/CN113672208A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060085400A1 (en) * | 2004-10-19 | 2006-04-20 | Microsoft Corporation | Data access layer design and code generation |
| CN102467379A (en) * | 2010-11-15 | 2012-05-23 | 中国人民解放军63928部队 | Lightweight extensible application integration framework based on component technology |
| CN110321152A (en) * | 2019-07-04 | 2019-10-11 | 青岛华正信息技术股份有限公司 | A kind of Software Development Platform |
| CN110795071A (en) * | 2019-10-11 | 2020-02-14 | 国电南京自动化股份有限公司 | User interface design and code separation method supporting real-time data dynamic binding |
| CN111176627A (en) * | 2019-12-06 | 2020-05-19 | 深圳市科南软件有限公司 | Device and method for separating front end from back end based on micro-service |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114153869A (en) * | 2021-12-03 | 2022-03-08 | 浪潮云信息技术股份公司 | Intelligent database analysis adaptation method for micro-service architecture |
| CN114860205A (en) * | 2022-05-09 | 2022-08-05 | 维沃移动通信有限公司 | Application extension system, method and device for low-code development platform |
| CN114860205B (en) * | 2022-05-09 | 2024-08-23 | 维沃移动通信有限公司 | Application extension system, method and device of low-code development platform |
| CN114895878A (en) * | 2022-07-13 | 2022-08-12 | 天津中新智冠信息技术有限公司 | Information system framework, development method and multilevel management system |
| CN117289929A (en) * | 2023-11-24 | 2023-12-26 | 浙江口碑网络技术有限公司 | Plug-in frame, plug-in and data processing method and device and electronic equipment |
| CN117289929B (en) * | 2023-11-24 | 2024-03-19 | 浙江口碑网络技术有限公司 | Plug-in frame, plug-in and data processing method and device and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113672208A (en) | Low code development framework system for realizing compatible trust and creation adaptation based on computer software | |
| US8949789B2 (en) | Adaptable business objects | |
| US9940591B2 (en) | Customized-enterprise-software integration systems and methods | |
| US7739243B2 (en) | System and method for dynamically configuring a multiplatform computing environment | |
| US10044561B2 (en) | Application provisioning system for requesting configuration updates for application objects across data centers | |
| US10664455B2 (en) | Complex log entry type schemas | |
| US7509327B2 (en) | Business data migration using metadata | |
| US20120041921A1 (en) | Mechanism for facilitating efficient business rules management and data processing | |
| US20120159435A1 (en) | Support for temporally asynchronous interface extensions | |
| US11079909B2 (en) | Macro building tool with an information pane and a macro building pane for compiling an ordered macro and determining data dependency | |
| BRPI0903299B1 (en) | method implemented by computer, computer system and storage medium | |
| US20120158788A1 (en) | System and Method for Modular Business Applications | |
| US11120016B2 (en) | Automated generation of a query statement based on user selections received through a user interface | |
| US12348599B2 (en) | Techniques for distributed interface component generation | |
| US9330140B1 (en) | Transient virtual single tenant queries in a multi-tenant shared database system | |
| CN116992092A (en) | Method and device for establishing flow model, storage medium and terminal equipment | |
| AU2017352442A1 (en) | Defining variability schemas in an application programming interface (Api) | |
| US10896194B2 (en) | Generating a combined database with data extracted from multiple systems | |
| US12019647B2 (en) | Accessing application services from forms | |
| CN113485927A (en) | Test data generation method, device, equipment and storage medium | |
| US20130297368A1 (en) | Updating customer relationship management systems through sales playbook activities | |
| US20170116878A1 (en) | Dynamic interface virtualization in a networked computing environment | |
| CN115130442A (en) | Report generation method and device, storage medium and computer equipment | |
| EP2466461B1 (en) | System and method for modular business applications | |
| US20210377364A1 (en) | Synchronization of customizations for enterprise software applications |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211119 |
|
| RJ01 | Rejection of invention patent application after publication |