Supercharge Your Innovation With Domain-Expert AI Agents!

Dynamic api visualization generation method based on spring boot framework

A framework and dynamic technology, applied in the field of information processing, can solve problems such as no one involved, and achieve the effect of reducing repetitive work

Inactive Publication Date: 2021-04-20
BEIJING SCISTOR TECH
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the technology that combines the Spring boot framework with dynamic api visualization is currently untouched

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Dynamic api visualization generation method based on spring boot framework
  • Dynamic api visualization generation method based on spring boot framework
  • Dynamic api visualization generation method based on spring boot framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0085] This embodiment adopts the spring boot framework, separates the front and back ends, uses the http restful protocol, and performs data interaction through ajax. The database is mysql, and the mainstream jdbc+mybatis is used for database access to obtain data. The front-end interface uses html static pages, and data interaction is performed through ajax.

[0086] Configuration management includes two modules: data source management and api registration.

[0087] (1) Data source management

[0088] First click on the navigation menu - data source management, enter the data source management interface, select the data source type, currently supported data sources are mysql, ES, sqlserver and Gbase, etc., and finally fill in the corresponding data source connection address, data source name, fill in the access Username and password for the data source.

[0089] (2) API registration

[0090] First, click the navigation menu - api registration to enter the api registratio...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a dynamic api visualization generation method based on a spring boot framework, which belongs to the field of information processing, and comprises the following steps: firstly, configuring a data source and registering an api interface through a visualization interface, then, selecting each data table in the data source one by one by selecting a certain configured data source, and configuring input parameters and a calculation formula through field types in the data tables to obtain a dynamic api visualization result; configuring output parameters according to fields in the data table, and filling in api names and custom api addresses at the same time; finally, calling an api interface, obtaining an api address and a request parameter of the request through a spring boot interceptor, obtaining an input parameter, a calculation formula and an output parameter of a request data source, judging whether the input parameter, the calculation formula and the output parameter are matched with each parameter in the custom api or not, splicing the matched input parameter, the calculation formula and the output parameter to obtain a query statement, and querying the query statement in the corresponding data source; and returning the data in the json format to the request end. The api interface is dynamically generated to be called by a front-end page or an external program, and repeated work is greatly reduced.

Description

technical field [0001] The invention belongs to the field of information processing, and in particular relates to a dynamic API visualization generation method based on a spring boot framework. Background technique [0002] In today's era of information explosion, the data information managed by each unit has experienced rapid growth, resulting in the emergence of many different types of data sources and more and more data tables. For more and more data, rapid Data query and visual display have become the most urgent needs of each unit. However, data query and visual display depend on the api interface. If every new part of data is added, the research and development of the api interface is re-developed, which will not only consume time and effort but also greatly waste resources. [0003] Dynamic API generation technology is a method in which users customize data sources, user-defined interface addresses, configuration input parameters and output parameters in a visual way...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/34G06F8/38G06F9/445
Inventor 谢铭刘大鹏
Owner BEIJING SCISTOR TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More