System and method for mapping C language structure to relation database table

A database and structure technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as tedious repetition, simplify data management, and improve portability.

Inactive Publication Date: 2010-05-26
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In development, the conversion from C language structure to relational database table becomes tedious and repetitive work

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The mapping system from a C language structure to a relational database table in the present invention includes a mapping code generation engine from a C language structure to a relational database table, a mapping extensible markup language description module from a C language structure to a relational database table, and a The mapping code from the C language structure to the relational database table uses the module.

[0014] The code generation engine for mapping the C language structure to the relational database table includes a relational database management system adapter, an extensible markup language analysis engine, and a C language code generation engine. Although relational databases have a unified structured query language, the C language access interfaces for different relational database management systems are different, and relational database management system adapters provide corresponding optimized access interfaces for different database management s...

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 the field of embedded technology, in particular to a system and a method for mapping a C language structure to a relation database table. The invention discloses a system for mapping the C language structure to the relation database table, which simplifies the conversion from the C language structure to the relation database table. The system for mapping the C language structure to the relation database table comprises a mapping code generation engine module from the C language structure to the relation database table, a mapping extendable mark language describing module from the C language structure to the relation database table and a use module of a mapping code from the C language structure to the relation database table. The invention also provides a method for mapping the C language structure to the relation database table. The invention simplifies the cockamamie data management, shields the influence of the change of a lower-layer database on the upper-layer application simultaneously and improves the transferability of the application.

Description

technical field [0001] The invention relates to the field of embedded technology, in particular to a mapping system and a mapping method from a C language structure to a relational database table. Background technique [0002] At present, the performance of embedded devices is constantly improving, embedded applications are becoming more and more abundant, the data operations involved are becoming more and more complex, and the requirements for data management are greatly improved than before. Embedded relational databases are the development trend Very quickly, embedded databases have been used in the current embedded development. On the other hand, the C language is easy to transplant, close to the bottom layer, and has high performance. It has always been the main language for embedded development. However, in the C language, the data is stored in the C language structure, while in the relational database, it is stored in a table, and the operations on the data are fixed...

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): G06F9/44G06F17/30
Inventor 范晓波金启明张超龚洪彦赵仕才杨芳于国福王宏礼
Owner SICHUAN CHANGHONG ELECTRIC 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