Xml-based APP background interface development-free scripted configuration method

A configuration method and scripted technology, applied in the field of APP development, can solve the problems of high development difficulty, low development efficiency, and long development cycle of APP background interface, so as to reduce the difficulty of entry, save development costs, and shorten the project cycle.

Pending Publication Date: 2022-04-29
成都易达数安科技有限公司
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to: provide a scripted configuration method based on xml-based APP background interface without development, and solve the problems of long development cycle, low development efficiency and high development difficulty of the existing APP background 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
  • Xml-based APP background interface development-free scripted configuration method
  • Xml-based APP background interface development-free scripted configuration method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] A development-free scripted configuration method for an xml-based APP background interface, comprising the following steps:

[0039] (1) Intercept the request interface, obtain the request IP and request parameters, and store them locally;

[0040] (2) Match the corresponding service according to the request parameters;

[0041] (3) Analyze the service configuration filter whitelist, determine whether it is in the whitelist, if not, execute and return to prompt that there is no authority; if so, enter step (4);

[0042] (4) Match the corresponding database and link the database through the service name;

[0043] (5) Analyze the parameters to determine whether there is a pre-function, if so, first execute the pre-function to obtain the secondary parameter, and enter step (6), if not, directly enter step (6);

[0044] (6) Execute the service SQL script, if it is pure SQL, execute SQL directly, if it is a stored procedure, execute the stored procedure;

[0045] (7) Anal...

Embodiment 2

[0048] On the basis of embodiment 1, in described step (4), database configuration comprises database connection address, database connection account number, database connection password, the driver program that current JDBC uses, database connection pool size, the timeout time that obtains connection pool, Log storage path.

Embodiment 3

[0050] On the basis of the foregoing embodiments, in the step (3), the service configuration includes service name, service type sql, stored procedure, Sql script, parameter name, return data type, pre-function, post-function, request IP address list.

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 an xml-based APP background interface development-free scripted configuration method, belongs to the technical field of APP development, and aims to provide an xml-based APP background interface development-free scripted configuration method to solve the problems of long development period, low development efficiency and high development difficulty of an existing APP background interface. According to the method, a corresponding interface can be automatically generated only by reflecting an engineering project and writing xml, compared with traditional code logic, the method is easy to use and can be completed only by understanding a database sql, so that time of developers is saved, entry difficulty is reduced, development cost is saved, interns can rapidly participate in the project, and the project period is shortened. The invention is suitable for the development-free scripted configuration method of the APP background interface based on the xml.

Description

technical field [0001] The invention belongs to the technical field of APP development, and in particular relates to a development-free scripting configuration method of an XML-based APP background interface. Background technique [0002] In the current existing technology, if the APP background needs to implement an interface, it needs to write code layer by layer from domain, controller, service, dao, xml, but most of the code logic is consistent, resulting in a relatively large amount of repetitive code, and the project The cycle is extended, and programmers with certain basic capabilities in java or other programming languages ​​are required to get started and participate in the project. [0003] Therefore, how to solve the problems of long development cycle, low development efficiency and high development difficulty of APP background interface is of great significance. Contents of the invention [0004] The purpose of the present invention is to provide an xml-based ...

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): G06F9/445G06F16/2457G06F40/149
CPCG06F9/44505G06F16/2457G06F40/149
Inventor 赖贵全王剑明
Owner 成都易达数安科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products