Method, device and server for operating databases

A technology of data manipulation and manipulation method, applied in the database field to reduce development workload, improve development efficiency, and reduce coupling

Active Publication Date: 2015-01-07
GUANGZHOU HUADUO NETWORK TECH
View PDF3 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problem of needing to understand and write a large number of database scripts in the development process of non-relational databases, the embodiment of the present invention provides a database operation method, device and server

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, device and server for operating databases
  • Method, device and server for operating databases
  • Method, device and server for operating databases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0026] Please refer to figure 1 , which shows a schematic structural diagram of the implementation environment involved in the database operation method provided by an embodiment of the present invention. The implementation environment includes an application program 110 , a device 130 running a mapping tool, at least one database script 150 and at least one database 170 corresponding to the database script 150 .

[0027] A mapping tool runs in the device 130, and the mapping tool provides n unified APIs in advance, and each unified API is used to implement a data operation, and the data operations include: adding, deleting, querying and modifying. Each unified API corresponds to n database scripts, and the n database scripts have the...

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 and a server for operating databases, and belongs to the field of databases. The method includes receiving requests of application programs for invoking unified API (application program interfaces) in mapping tools; determining certain databases and data tables in the databases according to preliminarily configured corresponding relations; invoking certain database scripts among n database scripts corresponding to the invoked unified API and operating data of the data tables. The certain databases correspond to objects. The data tables in the databases correspond to the objects. The certain database scripts correspond to the databases. The method, the device and the server have the advantages that the problem that the data need to be operated by the aid of database scripts which are greatly different from one another when different non-relational databases are operated can be solved; operators can operate the data in the different non-relational databases by the aid of the unified API without understanding or writing large quantities of execution scripts when the non-relational databases are operated, accordingly, development workload can be reduced, coupling between the application programs and the non-relational databases can be lowered, and the development efficiency can be improved.

Description

technical field [0001] The invention relates to the field of databases, in particular to a database operation method, device and server. Background technique [0002] Non-relational databases are widely used in web2.0 websites, especially SNS (Social Networking Services, social networking services) type web2.0 purely dynamic websites with ultra-large scale and high concurrency. [0003] Non-relational databases differ from traditional relational databases in many ways. The most important point is that non-relational databases do not use the common SQL (Structured Query Language, Structured Query Language) language as a query language, and their data storage does not require a fixed table mode. For this reason, when performing data operations on different types of non-relational databases, you need to use database scripts corresponding to this type of non-relational database. For example, to perform data operations on type A non-relational databases, you need to use the same...

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 GUANGZHOU HUADUO NETWORK 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