Data processing method and device

A data processing and database technology, applied in the field of electronics, can solve the problems of complex use and error-prone Sqlite system library, and achieve the effect of improving development and debugging efficiency, reducing coupling, and simplifying database operations.

Inactive Publication Date: 2017-01-04
BEIJING DONGFANGCHEYUN INFORMATION TECH
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the Sqlite system library is more complicated to use and more error-prone

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
  • Data processing method and device
  • Data processing method and device
  • Data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments of the specification. It should be understood that the embodiments of the present invention and the specific technical features in the embodiments are only descriptions of the technical solutions of the present invention, rather than limitations. The following embodiments of the present invention and specific technical features in the embodiments can be combined with each other.

[0044] Such as figure 1 Shown is a flow chart of a data processing method in an embodiment of the present invention, the method comprising:

[0045] S101. Obtain the class name and attribute list of the data model class;

[0046] S102. Determine the table name of the database table and the fields of the database table according to the class name and the attribute list;

[0047] S103, generate a specified structured query statement SQL state...

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 data processing method and device. The method comprises the steps of acquiring a class name and an attribute list of a data model class, and confirming a table name and a field of a database table according to the class name and the attribute list; generating an appointed SQL (Structured Query Language) according to the table name and the field of the database table; operating a database corresponding to the database table according to the SQL. According to the method, the database operation on mobile terminal equipment is simplified, the development and debugging efficiency is improved, and the coupling between the database and a data model is reduced.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a data processing method and device. Background technique [0002] During the development of mobile devices and their applications, it is often necessary to cache data on the mobile device side, and the management of these cached data usually depends on the local database. However, the local database operations on these mobile devices are often complicated. [0003] For example, in an online taxi-hailing application, some functions of the driver-side program need to cache local data, such as order history, self-defined trajectory, etc. So you need to use an offline database. The current system provides a framework for manipulating the database, the Sqlite system library. However, the Sqlite system library is more complicated to use and more error-prone. [0004] Therefore, under the above circumstances, how to simplify the local database operation on the mobile device sid...

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): G06F17/30
CPCG06F16/2455G06F16/23G06F16/2433G06F16/24552G06F16/252G06F16/284
Inventor 赵光辉
Owner BEIJING DONGFANGCHEYUN INFORMATION TECH
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