Unlock instant, AI-driven research and patent intelligence for your innovation.

Program statement conversion method, device, equipment and storage medium

A program statement and conversion method technology, applied in the computer field, can solve the problems of strong code intrusion, the ORM framework is not lightweight enough, and cannot support complex SQL queries, etc., and achieves the effect of scalability.

Pending Publication Date: 2022-02-25
HUNDSUN TECH
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the ORM framework itself is not lightweight enough, and cannot support complex SQL queries, and is highly intrusive to code

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
  • Program statement conversion method, device, equipment and storage medium
  • Program statement conversion method, device, equipment and storage medium
  • Program statement conversion method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the appended The figures are only for the purpose of illustration and description, and are not used to limit the protection scope of the present application. Additionally, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented in accordance with some embodiments of the application. It should be understood that the operations of the flowcharts may be performed out of order, and steps that have no logical context may be performed in reverse order or concurrently. In addition, those skilled in the art may add one or more other operations t...

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 a program statement conversion method, a device, equipment and a storage medium. The method comprises the following steps: according to a user operation for a target application program, obtaining a standard access statement corresponding to the user operation and a target database to be accessed by the user operation, the standard access statement being an access statement based on a preset language standard; according to the database type, performing statement conversion on the standard access statement to obtain a native access statement meeting the language standard of the target database. The dialect is accessed in a unified mode by providing the standard access statements, differentiation among the databases can be effectively shielded, the databases can be seamlessly integrated into codes, that is, execution can be carried out in the databases of different types by using one set of standard access statements, and compared with an ORM framework, the method is lighter, has higher expansibility and has no code framework invasion.

Description

technical field [0001] The present application relates to the field of computer technology, in particular, to a method, device, device and storage medium for converting program sentences. Background technique [0002] Structured Query Language (SQL) is a special programming language, which is a database query and programming language for accessing data, querying, updating and managing relational database systems. Although the SQL standard has been formulated, with the continuous evolution of the SQL standard, many language differences have occurred between various vendors and database products, and various SQL languages ​​have emerged. [0003] In the prior art, the object relational mapping (Object Relational Mapping, ORM) framework is usually used to shield the differences between different SQL languages, and through the unique abstraction of the ORM framework, the SQL statement is converted into a JAVA code operation or a class SQL specific to the ORM framework. statemen...

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
IPC IPC(8): G06F16/242G06F16/245G06F16/25
CPCG06F16/2433G06F16/245G06F16/25
Inventor 马骋原张良友秦元胡思豹赵盛璐
Owner HUNDSUN TECH