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

Database implementation method and database

An implementation method and database technology, applied in the information field, can solve the problems of low system performance and processing efficiency, and time-consuming, and achieve the effects of improving real-time response capability, improving processing efficiency, and reducing complexity

Inactive Publication Date: 2017-04-19
SHENZHEN IBOX INFORMATION TECH CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiments of the present invention is to provide a database implementation method, aiming to solve the problem that the current development and application based on C / C++ language consumes too much time when accessing the data information of the database, resulting in low system performance and processing efficiency

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
  • Database implementation method and database
  • Database implementation method and database
  • Database implementation method and database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0028] figure 1 The implementation process of the database implementation method provided by the embodiment of the present invention is shown, and the details are as follows:

[0029] In S101, the C / C++ programming language is used to generate the table record structure of the customer table and the root node table.

[0030] A data table is an object in the database, which includes a customer table and a system table, and the root node table is a system table. In a data table, each row of data is a table record. Each table record contains the data types of multiple fields, and the data types of ...

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 is applied to the technical field of information, and provides a database implementation method and a database. The database implementation method comprises the following steps of: generating table recording structural bodies of a client table and a root node table by adopting C / C++ programming language; establishing a balanced binary tree AVL index, and loading all data in a memory; performing interaction with an application by utilizing an application programming interface API based on the C / C++ language version, so that interaction information is obtained; and, according to the interaction information and the table recording structural bodies, directly operating the data, and returning a result set. In the embodiment of the invention, due to adoption of the C / C++ programming language, the table recording structural bodies are generated and the corresponding API is provided; therefore, when the database receives the interaction information of the development application based on the C / C++ language, the data can be managed without any conversion; the processing efficiency is increased; the AVL tree index is established; therefore, the data query complexity is reduced; because the data processing is completed in the memory, limitation of the I / O speed of the traditional database magnetic disk is broken through; and the real-time response capability of the database system is improved.

Description

technical field [0001] The invention belongs to the field of information technology, and in particular relates to a method for realizing a database and the database. Background technique [0002] An important feature of the database is data independence, which includes the physical independence and logical independence of data, that is, when the physical storage and logical structure of data change, the application that calls the database will not change. Based on the true isolation of program and data, the database can develop independently from the program and management system. [0003] In the process of company management and business operation, as long as there is data in the database, it needs to be found out from the database through appropriate methods, and the business development trend can be analyzed according to the query results. The traditional database manages all the data on the disk, and needs to access the disk frequently to perform data operations. On the...

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/252G06F16/2246
Inventor 刘振豪黄利庆韩昌雷
Owner SHENZHEN IBOX INFORMATION TECH 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