Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interface development method, zero code engine and zero code data interface development system

A zero-code, interface technology, applied in the field of data development, can solve problems such as the inability to implement instant publishing and/or testing of interfaces

Active Publication Date: 2021-12-10
北京宇信科技集团股份有限公司
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: the prior art cannot realize instant publishing and / or testing of the interface

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
  • Interface development method, zero code engine and zero code data interface development system
  • Interface development method, zero code engine and zero code data interface development system
  • Interface development method, zero code engine and zero code data interface development system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0095] The embodiment of the present invention provides an Http interface created in the form of a visual form, which provides a consistent development experience for developers, and can publish a preview interface in real time. figure 1 It is a preview of the effect of the form-form interface development interface of the embodiment of the present invention. figure 1 The detailed description of the interface development form in the form of a visualized web page is as follows:

[0096] Interface name: http interface name.

[0097] Data source type & data source: The data source object to be operated by this interface can be a database or an excel file or other structured data.

[0098] Path definition: the request path of the http interface, corresponding to the url of the http protocol.

[0099] Request method: the method corresponding to the http protocol.

[0100] Definition of request parameters: business data sent to the http server through the http protocol.

[0101] ...

Embodiment 2

[0226] Such as Figure 4 As shown, the present embodiment provides a zero-code engine, which can be configured on the http server, which can include:

[0227] The Servlet module is used to receive the http request sent by the interface caller, and the http request carries URL information and the value of the request parameter; obtains the interface configuration information corresponding to the URL information from the interface configuration table according to the URL information; wherein, the interface configuration table is used for Save the interface configuration information corresponding to the interface development form in the form of a web page; the interface configuration information includes the following fields: Uniform Resource Locator URL field, interface request parameter field and SQL implementation logic field; the URL field is used to define the URL of the interface; the interface request The parameter field is used to define the request parameters correspondi...

Embodiment 3

[0248] Figure 6 It is a flow chart of the interface development method of the embodiment of the present invention. Such as Figure 6 As shown, it includes the following steps:

[0249] S110. Receive the http request sent by the interface caller, where the http request carries URL information and the value of the request parameter;

[0250] In other embodiments, the http request may further carry a request method, which corresponds to a method of the http protocol, such as a get or post method. The number of request parameters can be one or more. The above http request may be sent by the application program APP of the interface caller.

[0251]S120. Obtain the interface configuration information corresponding to the URL information from the interface configuration table according to the URL information; wherein, the interface configuration table is used to store the interface configuration information corresponding to the interface development form in the form of a webpage...

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 provides an interface development method, a zero code engine and a zero code data interface development system. The method comprises the steps of receiving an http request sent by an interface calling party, wherein the http request carries URL information and the value of a request parameter; obtaining corresponding interface configuration information from an interface configuration table according to the URL information, wherein the interface configuration information comprises a plurality of fields as follows: a URL field, an interface request parameter field and an SQL implementation logic field; the URL field is used for defining the URL of the interface; the interface request parameter field is used for defining a request parameter corresponding to the interface; and the SQL implementation logic field is used for defining sql codes corresponding to functions of the interface, the sql codes have preset placeholders, and the placeholders are in one-to-one correspondence with request parameters defined by the interface request parameter field; replacing a preset placeholder in the sql code with the value of the request parameter; and executing the sql code after replacing the placeholder, and returning an execution result to the interface calling party through the http interface. The invention provides a form of a visual form to create an Http interface.

Description

technical field [0001] The invention relates to the field of data development, in particular to an interface development method, a zero-code engine and a zero-code data interface development system. Background technique [0002] When the current products of the same type provide external services of various types of data sources, hard-coded implementation is required. For example, using Java to define the Http (Hyper Text Transfer Protocol, Hypertext Transfer Protocol) interface, writing JDBC (Java Database Connectivity, Java database connection), and then compile and package the program for release. However, different adaptation codes need to be written for different types of data sources, and the compilation, packaging and deployment cycle is relatively long. Among them, the Java database connection is an application programming interface used in the Java language to regulate how the client program accesses the database, and provides methods such as querying and updating d...

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): G06F16/955G06F16/957
CPCG06F16/955G06F16/957
Inventor 贾永强张可与谢清亮杨重鑫
Owner 北京宇信科技集团股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products