CN115840778A - Model-based visual configuration connector and connection method thereof - Google Patents

Model-based visual configuration connector and connection method thereof Download PDF

Info

Publication number
CN115840778A
CN115840778A CN202310135545.2A CN202310135545A CN115840778A CN 115840778 A CN115840778 A CN 115840778A CN 202310135545 A CN202310135545 A CN 202310135545A CN 115840778 A CN115840778 A CN 115840778A
Authority
CN
China
Prior art keywords
model
configuration
definition module
data
type
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
CN202310135545.2A
Other languages
Chinese (zh)
Other versions
CN115840778B (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.)
Beijing Better Cloud Technology Co ltd
Original Assignee
Beijing Better Cloud 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 Beijing Better Cloud Technology Co ltd filed Critical Beijing Better Cloud Technology Co ltd
Priority to CN202310135545.2A priority Critical patent/CN115840778B/en
Publication of CN115840778A publication Critical patent/CN115840778A/en
Application granted granted Critical
Publication of CN115840778B publication Critical patent/CN115840778B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a model-based visual configuration connector and a connection method thereof, wherein the connector comprises a design state and an operation state, and the design state comprises the following steps: the system comprises a configuration model definition module, a parameter model definition module and a data mapping definition module, wherein the configuration model definition module is used for freely defining configuration information of a connector, the parameter model definition module is used for defining parameter information of operation of the connector to match a service model data type of a low-code platform, and the data mapping definition module is used for mapping the parameter information defined by the parameter model definition module and parameters of an external system; the operation state comprises an operation state database, a model analysis engine, a connection engine and a data conversion engine, wherein the model analysis engine is used for analyzing configuration information and parameter information, the connection engine is used for connecting to a corresponding external system according to the analyzed configuration information, and the data conversion engine is used for data conversion. The invention reduces the workload of code development, and can quickly use the data of the external system only by utilizing the internal release mechanism of the low-code platform.

Description

Model-based visual configuration connector and connection method thereof
Technical Field
The invention relates to a model-based visual configuration connector and a connection method thereof.
Background
The low-code platform is a SaaS cloud platform which is used by designers in the cloud, performs business logic design rapidly in a dragging and pulling mode, and then releases design results to a user side for application of users, wherein the platform can be shared by multiple tenants and data is completely isolated. In actual software applications, a situation that an external system needs to be interfaced is often encountered, and in such a situation, code development is generally required to achieve an effect. The reason is that the docking of different systems has great difference, such as different interfaces for docking; the configuration information models are inconsistent; the parameters are defined differently, the parameter formats are different, and the using modes are different; when the system is in butt joint with a software platform of the system, data conversion is difficult. These problems increase the difficulty and the repetitive work of the docking, and after the development of the new connection capability is completed, a function release process is required, which may affect the stability of the system.
Disclosure of Invention
The invention provides a model-based visual configuration connector and a connection method thereof, which reduce the workload of code development, can quickly use the data of an external system only by utilizing an internal release mechanism of a low-code platform, and keep the stable operation of the low-code platform.
The invention is realized by the following technical scheme:
a model-based visual configuration connector for connecting a low-code platform to an external system, comprising a design state and a run state, the design state comprising: the system comprises a configuration model definition module, a parameter model definition module, a data mapping definition module and a design state database, wherein the configuration model definition module is used for freely defining configuration information of a connector, the parameter model definition module is used for defining parameter information of operation of the connector to match service model data types of a low-code platform, the data mapping definition module is used for mapping the parameter information defined by the parameter model definition module with parameters of an external system, and the design state database is used for storing the configuration information and the parameter information; the operating state comprises an operating state database, a model analysis engine, a connection engine and a data conversion engine, after design state design is completed, configuration information and parameter information are issued to the operating state database from the design state database, the model analysis engine is used for analyzing the configuration information and the parameter information, the connection engine is used for connecting to a corresponding external system according to the analyzed configuration information, and the data conversion engine is used for converting the parameter information into parameters which can be recognized by the external system or converting data returned by the external system into data which can be recognized by a low-code platform.
Further, the design state further comprises a configuration model engine for storing the configuration information as a JSON character string, and in the operating state, the model parsing engine parses the JSON character string to check the correctness of the configuration information and transmit the configuration information checked to an external system interface.
Further, the configuration information defined by the configuration model definition module may be a character string type, a numerical type and/or whether ciphertext is displayed, both the character string type and the numerical type may be displayed as a text input box and/or a drop-down menu option, and the array type may be displayed as a multi-choice box.
Further, the type of the parameter information is a data type supported inside the low code platform, and the data type includes a date type, a short text type, a numerical type, an automatic numbering type and/or a long text type.
Further, the model analysis engine judges whether the defined configuration information is accurate and the length and the type of the configuration information are correct according to the configuration model definition module.
Furthermore, the data conversion engine captures the exception before conversion, and if no exception exists, the data conversion is carried out by adopting JAVA quote type conversion.
Further, the connection engine determines an API interface URL according to the parsed configuration information, calls the URL, and transmits the configuration information as an interface parameter to an external system.
The invention is also realized by the following technical scheme:
the connection method for configuring the connector based on the model-based visualization comprises the following steps:
s1, selecting a connector on a service model interface of a low-code platform, defining configuration information through a configuration model definition module, defining parameter information of connector operation through a parameter model definition module, and determining a mapping relation between the parameter information and parameters of an external system through a data mapping definition module to determine a service model;
s2, issuing the determined service model to an operation state;
and S3, entering a running environment, analyzing the configuration information and the parameter information by a model analysis engine of the connector, connecting the corresponding external system by the connection engine according to the analyzed configuration information, converting the parameter information into parameters which can be recognized by the external system by a data conversion engine, and converting the returned data into data which can be recognized by a low-code platform after the external system returns the data.
The invention has the following beneficial effects:
the invention is based on the low-code platform, realizes interface connection capacity configuration by a mode of configuration model, can support service developers to quickly integrate external systems through the low-code platform, reduces the workload of code development, and can ensure that a user side can quickly use the data of the external systems by using an internal release mechanism of the low-code platform without deploying under the condition of stable operation of the low-code platform; the problem of configuration difference and parameter difference is solved through the model analysis engine, the problem of interface connection is solved through the connection engine, the difficulty of data conversion is solved through the data conversion engine, and the risk that other functions of a user are affected due to frequent version sending is solved based on a low-code platform.
Drawings
The present invention will be described in further detail with reference to the accompanying drawings.
Fig. 1 is a schematic block diagram of the present invention.
FIG. 2 is a timing diagram of the present invention in use.
FIG. 3 is a diagram illustrating a model definition according to the present invention.
FIG. 4 is a flow chart of the operation of the present invention.
FIG. 5 is a diagram of a configuration model definition module according to the present invention.
FIG. 6 is a diagram of a parametric model definition module according to the present invention.
FIG. 7 is a diagram of a data mapping definition module according to the present invention.
Detailed Description
As shown in fig. 1-7, the model-based visualization configures a connector for connecting a low-code platform and an external system. The connector comprises a design state and an operation state, wherein the design state comprises: the device comprises a configuration model definition module, a parameter model definition module, a data mapping definition module, a design state database and a configuration model engine, wherein the configuration model definition module is used for freely defining configuration information of a connector, the parameter model definition module is used for defining parameter information of operation of the connector to match with a service model data type of a low-code platform, the data mapping definition module is used for mapping the parameter information defined by the parameter model definition module and parameters of an external system, the design state database is used for storing the configuration information and the parameter information, and the configuration model engine is used for storing the configuration information as a JSON character string for transmission; the operating state comprises an operating state database, a model analysis engine, a connection engine and a data conversion engine, after design state design is completed, configuration information and parameter information are issued to the operating state database from the design state database, the model analysis engine is used for analyzing the configuration information and the parameter information, the connection engine is used for connecting to a corresponding external system according to the analyzed configuration information, and the data conversion engine is used for converting the parameter information into parameters which can be recognized by the external system or converting data returned by the external system into data which can be recognized by a low-code platform.
The configuration information defined by the configuration model definition module can be character string type, numerical type and/or whether ciphertext is displayed or not, the character string type and the numerical type can be displayed as a text input box and/or a drop-down single selection, and the array type can be displayed as a multi-selection box. Here, connector configuration information such as type, whether or not it is ciphertext, and the like can be freely defined. The configuration information is stored as a JSON string for transfer. And after the JSON character string is analyzed by the model analysis engine, judging whether the defined configuration information is accurate and the length and the type of the configuration information are correct according to the configuration model definition module, and transmitting the configuration information which is verified to be correct to an external system interface. The configuration information of a general connector is mainly authentication information, an external system interface performs authentication based on the information, and the next operation can be performed after the authentication is passed. The JSON character string analysis process is the prior art.
The type of the parameter information is a data type supported inside the low-code platform, and comprises a date type, a short text type, a numerical value type, an automatic numbering type and/or a long text type. Each connector is operated corresponding to a plurality of connectors, and after one external system is connected, various operations can be performed. Each connector operates inside the low-code platform, and data of the low-code platform is operated, so that data types supported by the low-code platform can be defined as parameters for transmission.
The defined parameter information is mapped with the parameter type of the external system, so that mutual conversion can be conveniently carried out during calling, for example, the enterprise wechat is defined as a connector, and local data can be mapped to the operation of the enterprise wechat during calling, so that data conversion can be carried out. The parameter model definition module can know which parameters are in operation, and then the parameters are mapped with an external system, so that the problem of inconsistent data types is solved, and after mapping, type conversion can be carried out in the external system. The mapping rule in this embodiment includes: short text inside the low code platform, text type, number type field and/or Boolean type field of mapping external system; a number type field internal to the platform, a number type, floating point type, and/or boolean type field that maps external systems.
After the content is designed in the design state, the designed content is published to the operation state database through the publishing button, the operation mechanism is an operation mechanism of the low-code platform, the design state is separated from the operation state, the full function of each content can be effectively guaranteed, the concurrency capability can be pertinently promoted, and the performance and the stability are improved. The operation state is an entrance of a platform used by a terminal user, and the user calls a designed service model in the operation state.
And capturing the exception by the data conversion engine before conversion, and if the exception does not exist, performing data conversion by adopting JAVA quote type conversion. And the connection engine determines an API interface URL according to the analyzed configuration information, calls the URL and transmits the configuration information serving as an interface parameter to an external system.
The connecting method of the visual configuration connector based on the model comprises the following steps:
s1, a low-code platform service developer (current tenant) selects a connector on a service model interface of a low-code platform, and defines configuration information through a configuration model definition module, defines parameter information of connector operation through a parameter model definition module, and determines a mapping relation between the parameter information and parameters of an external system through a data mapping definition module to determine a service model;
s2, releasing the determined service model to an operation state, and selecting the operation environment of the current tenant during releasing;
and S3, entering a running environment, analyzing the configuration information and the parameter information by a model analysis engine of the connector, connecting the corresponding external system by the connection engine according to the analyzed configuration information, converting the parameter information into parameters which can be recognized by the external system by a data conversion engine, and converting the returned data into data which can be recognized by a low-code platform after the external system returns the data.
The above description is only a preferred embodiment of the present invention, and therefore should not be taken as limiting the scope of the invention, which is defined by the appended claims and their equivalents and modifications within the scope of the description.

Claims (8)

1. A model-based visual configuration connector for connecting a low-code platform to an external system, comprising: the method comprises a design state and an operation state, wherein the design state comprises the following steps: the system comprises a configuration model definition module, a parameter model definition module, a data mapping definition module and a design state database, wherein the configuration model definition module is used for freely defining configuration information of a connector, the parameter model definition module is used for defining parameter information of operation of the connector to match the service model data type of a low-code platform, the data mapping definition module is used for mapping the parameter information defined by the parameter model definition module with parameters of an external system, and the design state database is used for storing the configuration information and the parameter information; the running state comprises a running state database, a model analysis engine, a connection engine and a data conversion engine, after design state design is completed, configuration information and parameter information are issued to the running state database from the design state database, the model analysis engine is used for analyzing the configuration information and the parameter information, the connection engine is used for connecting to a corresponding external system according to the analyzed configuration information, and the data conversion engine is used for converting the parameter information into parameters which can be recognized by the external system or converting data returned by the external system into data which can be recognized by a low-code platform.
2. A model-based visual configuration connector according to claim 1, wherein: the design state further comprises a configuration model engine used for storing the configuration information into a JSON character string, and in the operation state, the model analysis engine analyzes the JSON character string to check the correctness of the configuration information and transmit the configuration information checked to an external system interface.
3. A model-based visual configuration connector according to claim 1, wherein: the configuration information defined by the configuration model definition module can be character string type, numerical type and/or whether ciphertext is displayed or not, the character string type and the numerical type can be displayed as a text input box and/or a drop-down single selection, and the array type can be displayed as a multi-selection box.
4. A model-based visual configuration connector according to claim 1, 2 or 3, characterized in that: the type of the parameter information is a data type supported in the low-code platform, and the data type comprises a date type, a short text type, a numerical value type, an automatic numbering type and/or a long text type.
5. A model-based visual configuration connector according to claim 1, 2 or 3, characterized in that: and the model analysis engine judges whether the defined configuration information is accurate and the length and the type of the configuration information are correct according to the configuration model definition module.
6. A model-based visual configuration connector according to claim 1, 2 or 3, characterized in that: the data conversion engine captures the exception before conversion, and if no exception exists, the data conversion is carried out by adopting JAVA quote type conversion.
7. A model-based visual configuration connector according to claim 1, 2 or 3, characterized in that: and the connection engine determines an API interface URL according to the analyzed configuration information, calls the URL and transmits the configuration information serving as an interface parameter to an external system.
8. The method for connecting a connector configured based on a model-based visualization according to any one of claims 1 to 7, wherein: the method comprises the following steps:
s1, selecting a connector on a service model interface of a low-code platform, defining configuration information through a configuration model definition module, defining parameter information of connector operation through a parameter model definition module, and determining a mapping relation between the parameter information and parameters of an external system through a data mapping definition module to determine a service model;
s2, issuing the determined service model to an operation state;
and S3, entering a running environment, analyzing the configuration information and the parameter information by a model analysis engine of the connector, connecting the corresponding external system by the connection engine according to the analyzed configuration information, converting the parameter information into parameters which can be recognized by the external system by a data conversion engine, and converting the returned data into data which can be recognized by a low-code platform after the external system returns the data.
CN202310135545.2A 2023-02-20 2023-02-20 Visual configuration connector based on model and connection method thereof Active CN115840778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310135545.2A CN115840778B (en) 2023-02-20 2023-02-20 Visual configuration connector based on model and connection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310135545.2A CN115840778B (en) 2023-02-20 2023-02-20 Visual configuration connector based on model and connection method thereof

Publications (2)

Publication Number Publication Date
CN115840778A true CN115840778A (en) 2023-03-24
CN115840778B CN115840778B (en) 2023-05-16

Family

ID=85579932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310135545.2A Active CN115840778B (en) 2023-02-20 2023-02-20 Visual configuration connector based on model and connection method thereof

Country Status (1)

Country Link
CN (1) CN115840778B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080270977A1 (en) * 2007-04-27 2008-10-30 Boomi, Inc. System and method for automated on-demand creation of a customized software application
CN103399942A (en) * 2013-08-14 2013-11-20 山大地纬软件股份有限公司 Data engine system supporting SaaS multi-tenant function and working method of data engine system
CN107995184A (en) * 2017-11-28 2018-05-04 营利度富信息系统(上海)有限公司 A kind of connector and the method communicated using the connector
CN109697062A (en) * 2019-01-14 2019-04-30 深圳孟德尔软件工程有限公司 A kind of multi-source data exchange system and fusion method
CN110825362A (en) * 2019-11-04 2020-02-21 广东道一信息技术股份有限公司 Low-code application software development system and method
CN114610280A (en) * 2022-02-22 2022-06-10 科大国创云网科技有限公司 Visual form design method and system realized in low-code mode
CN114675821A (en) * 2022-05-26 2022-06-28 浩鲸云计算科技股份有限公司 Service standardization system and method based on low codes
US20220239759A1 (en) * 2021-01-28 2022-07-28 Mutara, Inc. Dynamic Mapping and Integration via a Meta-Model Definitional Platform
CN115617325A (en) * 2022-10-11 2023-01-17 杭州半云科技有限公司 Component type low-code application configuration platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080270977A1 (en) * 2007-04-27 2008-10-30 Boomi, Inc. System and method for automated on-demand creation of a customized software application
CN103399942A (en) * 2013-08-14 2013-11-20 山大地纬软件股份有限公司 Data engine system supporting SaaS multi-tenant function and working method of data engine system
CN107995184A (en) * 2017-11-28 2018-05-04 营利度富信息系统(上海)有限公司 A kind of connector and the method communicated using the connector
CN109697062A (en) * 2019-01-14 2019-04-30 深圳孟德尔软件工程有限公司 A kind of multi-source data exchange system and fusion method
CN110825362A (en) * 2019-11-04 2020-02-21 广东道一信息技术股份有限公司 Low-code application software development system and method
US20220239759A1 (en) * 2021-01-28 2022-07-28 Mutara, Inc. Dynamic Mapping and Integration via a Meta-Model Definitional Platform
CN114610280A (en) * 2022-02-22 2022-06-10 科大国创云网科技有限公司 Visual form design method and system realized in low-code mode
CN114675821A (en) * 2022-05-26 2022-06-28 浩鲸云计算科技股份有限公司 Service standardization system and method based on low codes
CN115617325A (en) * 2022-10-11 2023-01-17 杭州半云科技有限公司 Component type low-code application configuration platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梁超超;陈伟;魏峻;许舒人;: "基于模型的云应用动态配置框架" *

Also Published As

Publication number Publication date
CN115840778B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
CN108108162B (en) Application programming interface generation method and device
US20080209405A1 (en) Distributed debugging for a visual programming language
CN113900958A (en) Test case script generation method, system, medium and electronic device
CN109032923A (en) Method for testing software, device based on call chain, terminal
CN112187558B (en) Data verification method and device and electronic equipment
CN109977012B (en) Joint debugging test method, device, equipment and computer readable storage medium of system
US7385927B2 (en) Methods and structure for improved testing of embedded systems
CN113961332A (en) Method and device for realizing workflow engine, electronic equipment and storage medium
CN114675820A (en) Service arrangement data processing method and device, electronic equipment and storage medium
CN112464620A (en) Implementation method and implementation system of financial rule engine
CN115840778B (en) Visual configuration connector based on model and connection method thereof
CN109286689B (en) Information sending method and device and vehicle-mounted man-vehicle interaction terminal
CN115730309A (en) Multi-type scanning tool source code index statistical method, storage medium and terminal
CN117215661A (en) Event processing method, device and storage medium
CN112445473A (en) Client layout method and device, storage medium and electronic equipment
CN113515354B (en) Unified processing system and method based on environment context consistency
CN114676198A (en) Benchmark evaluation system for multimode database and construction method thereof
CN114297057A (en) Design and use method of automatic test case
CN114327416A (en) Interface synchronization method and device applied to development branch and electronic equipment
CN111752840A (en) Cross-system financial self-service equipment SP automatic test method, equipment and medium
CN115687162B (en) Software testing device and method and electronic device
CN111061636B (en) Automatic software testing method and device, computer equipment and storage medium
CN112732576B (en) Automatic testing method, device and equipment based on user interface
EP4174639A1 (en) Auxiliary processing method and device for software development, storage medium and program product
CA2566025C (en) Type validation for applications incorporating a weakly-typed language

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