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

Method, apparatus, computer device and storage medium for automatically generating insert statement

A technology for automatic generation and computer program application in computing, special data processing applications, instruments, etc. It can solve the problems of low efficiency in writing insert statements and increased workload, and achieve the effect of improving reusability and efficiency.

Active Publication Date: 2018-12-21
CHINA PING AN LIFE INSURANCE CO LTD
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the amount of data is large, it is necessary to repeatedly write the insert statement, which will increase the workload, and the efficiency of writing the insert statement is relatively low

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
  • Method, apparatus, computer device and storage medium for automatically generating insert statement
  • Method, apparatus, computer device and storage medium for automatically generating insert statement
  • Method, apparatus, computer device and storage medium for automatically generating insert statement

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0030] The method for automatically generating insert statements provided by this application can be applied in such as figure 1 An application environment in which a client communicates with a server over a network. The server obtains and parses the target requirement document, and calls the corresponding basic code block according to the target configuration table identifier of the target requirement document to generate a corresponding insert statem...

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 method, a device, a computer device and a storage medium for automatically generating an insert statement. The target requirement document is parsed based on the document type identification, and the target configuration table identification and configuration parameters of the target requirement document are obtained. The method comprises querying a basic code block configuration table based on a target configuration table identifier; obtaining a basic code block corresponding to the basic configuration table identifier if there is a basic configuration table identifier matching with the target configuration table identifier in the basic code block configuration table; based on the underlying code block and configuration parameters, the corresponding insert statement being generated. The technical proposal of the invention achieves the effect of improving the efficiency of generating insert statements by adopting the method of automatically generating insert statements based on the configuration parameters and the basic code blocks, thereby effectively improving the reusability of the basic code blocks.

Description

technical field [0001] The invention relates to the field of computer software, in particular to a method, device, computer equipment and storage medium for automatically generating insert sentences. Background technique [0002] The insert statement is an insert statement of Structured Query Language (SQL, Structured Query Language), and is used to insert new data into a table. In the computer field, many system developments will be based on relational databases, so SQL technology is basically used to operate databases. If a new row needs to be inserted into the database, an insert statement needs to be written to insert the configuration parameters into the corresponding configuration table of the database. [0003] In the reinsurance system of the insurance industry, when adding new products into the system, it is necessary to add multiple configuration tables for each new product, which requires writing multiple insert statements. When the amount of data is large, it i...

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): G06F17/30
Inventor 李治
Owner CHINA PING AN LIFE INSURANCE CO LTD
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