Statement type conversion method and device, storage medium and electronic device

A technology of statement type and conversion method, which is applied in the field of communication, can solve the problems of low database operation efficiency, achieve the effect of solving low operation efficiency and improving operation efficiency

Pending Publication Date: 2021-10-15
ZHEJIANG DAHUA TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a sentence type conversion method, device, storage medium and

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
  • Statement type conversion method and device, storage medium and electronic device
  • Statement type conversion method and device, storage medium and electronic device
  • Statement type conversion method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0023] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.

[0024] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking running on a mobile terminal as an example, figure 1 It is a hardware structural block diagram of a mobile terminal according to a sentence type conversion method in an embodiment of the present invention. Such as figure 1 As shown, the mobile terminal may include one or mor...

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 statement type conversion method and a device thereof, a storage medium and an electronic device, and the method comprises the steps: obtaining a to-be-converted statement of a first statement type, and enabling the to-be-converted statement to carry a target index; determining a second statement type according to the target index; determining a target mapping relationship between the first statement type and the second statement type in a preset mapping relationship; and converting the to-be-converted statement into a target statement of the second statement type according to the target mapping relationship. According to the method and the device, the problem of low efficiency caused by the fact that different SQL statements need to be used when various databases are operated is solved, and then the effect of operating different types of databases by using universal SQL statements is achieved.

Description

technical field [0001] The present invention relates to the communication field, in particular to a sentence type conversion method, device, storage medium and electronic device. Background technique [0002] In the current era of big data, there are many practical database components on the market, such as Analytical Massively Parallel Processing Databases (MPP for short), ElasticSearch database (ES for short), and Oracle Database (Oracle for short). , Ali relational database (Relational Database Service, referred to as Ads), etc. However, the syntax of each database is very different, and developers need to write codes with different syntaxes to perform operations on different types of databases according to the syntax of each database. However, it is difficult for developers to understand the grammar of various databases, and it is necessary to write codes of multiple grammars for databases with different grammar types, which consumes a lot of time and reduces the operat...

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/2453G06F16/242G06F16/2455
CPCG06F16/2453G06F16/2433G06F16/2455
Inventor 王如雷周明伟
Owner ZHEJIANG DAHUA TECH CO LTD
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