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

Method for converting object type to database type

An object type, database technology, applied in the database field, can solve the problems of large access to the database, easy to cause errors, large workload, etc., to achieve the effect of strong adaptability, avoidance of errors, and good fault tolerance.

Inactive Publication Date: 2018-02-09
BEIJING KUWO TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] Obviously, today, when frequent interaction with the database is required and frequent reading / storage of data is required, the workload of accessing the database is very heavy. Programmers tediously write SQL statements, which not only has a heavy workload, but also easily leads to errors. Further reasonable optimization

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 for converting object type to database type

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0029] Such as figure 1 As shown, the object type described in the present invention is converted into the method for database type, comprises the following steps:

[0030] After getting the user input, call the type processing algorithm,

[0031] The type processing algorithm parses out the object type from the data entered by the user,

[0032] Type handling algorithms convert object types to database types,

[0033] The type processing algorithm outputs a data type correspondence table externally.

[0034] The preset types here are: number type, integer type, floating point type, Boolean type, string type, binary data type, picture type, date type.

[0035] typedef NS_ENUM(NSUInteger, SSTypeCode) {

[0036] __TYPE_Unknown,

[0037] __TYPE_Number,

[0038] __TYPE_Integer,

[0039] __TYPE_Float,

[0040] __TYPE_BOOL,

[0041] __TYPE_String,

[0042...

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 relates to a method for converting an object type to a database type. The method comprises the following steps of acquiring user input; then calling a type processing algorithm, whereinthe type processing algorithm analyzes the object type from data input by a user, the object type is converted into the database type by the type processing algorithm, and the type processing algorithm externally outputs a data type corresponding table. According to the method for converting the object type to the database type, the object type input by the user can be automatically converted intothe corresponding database type according to preset information, thus the type conversion speed and accuracy are improved, the fault-tolerant capability is good, the adaptability is high, the code writing speed and efficiency are favorably improved, errors generated by accumulation of repetitive works are avoided, and a good basis is provided for automatic generation of a standardized and formulated SQL (Structured Query Language) statement.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a method for converting an object type into a database type. Background technique [0002] With the development of database technology, various demands continue to emerge, constantly urging further technological innovation and upgrading. In program development, programmers sometimes encounter the following situations: [0003] When working in the company, sometimes the daytime work is not finished, and the programmer will take the work home and continue to work overtime at night. However, the companys supporting development database for program development is usually a physical database, which is deployed on the development support server. The development support server is a server inside the companys LAN, and the normal operation of the server depends on the development support server. Database for development. Since working overtime at home cannot access the companys LAN, ...

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): G06F9/448G06F17/30
CPCG06F16/24528G06F16/2433
Inventor 邱扬
Owner BEIJING KUWO TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More