Server and database access method

A database and server technology, applied in the database field, can solve the problem that non-relational databases cannot completely replace relational databases

Active Publication Date: 2014-05-28
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF6 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Operations on the database include query operations and non-query operations. Since non-relational databases are mainly suitable for query operations, non-relational databases cannot completely replace the functions of relational databases. However, access to relational databases requires the use of structure A

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
  • Server and database access method
  • Server and database access method
  • Server and database access method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] To access relational databases, you need to use structured query language SQL. There are certain differences in the SQL statements used by different relational databases. For relational databases, you can "add", "delete", "modify" and / or "Query" and other operations; when accessing non-relational databases, you cannot directly use SQL to access, but need to use unstructured query language, and you can perform "query" operations on non-relational databases. In the server provided by each embodiment of the present invention, a heterogeneous database unified service PaaS platform is constructed, and the PaaS platform supports relational databases and non-relational databases at the same time. PaaS means Platform as a Service (Platform as a Service). Through the PaaS platform in the server, the operation of using SQL to query the non-relational database is realized. The servers described in the following embodiments are the servers that build the PaaS platform, and are esp...

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 provides a server and a database access method. The server comprises a receiving module, an access rule routing module, a semantic translation module and a connection protocol fitting module. The receiving module is used for receiving a first access statement; the access rule routing module is used for acquiring a first operating command and data-table identification information both carried in the first access statement, and judging whether or not data in a data table corresponding to the identification information is extracted into a non-relational database when the first operating command is an operation capable of being performed by the non-relational database; the semantic translation module is used for determining the non-relational database as a target non-relational database and translating the first operating command into a second operating command capable of being analyzed by the target non-relational database when the data in the data table corresponding to the identification information is extracted into the non-relational database is judged; the connection protocol fitting module is used for sending the second operating command and the data-table identification information to the target non-relational database. According to the server and the database access method, requirements on high-concurrency database read-write and the like are met by the non-relational database.

Description

technical field [0001] The invention relates to database technology, in particular to a server and a database access method. Background technique [0002] With the rise of Internet web2.0 websites, the demand for data query of ultra-large-scale and high-concurrency social network services (Social Networking Services, SNS) type web2.0 purely dynamic websites also increases accordingly. [0003] A relational database is a database based on a relational model, using Structured Query Language (SQL) to perform retrieval and manipulation of data in a relational database. Tables in relational databases store some formatted data structures, and the composition of each tuple field is the same. Even if not every tuple needs all the fields, the database will allocate all the fields for each tuple , such a structure can facilitate operations such as connections between tables, but limits the performance of relational databases. The relational database used in the existing technology c...

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/2308G06F16/252
Inventor 郭志斌李卫张云勇
Owner CHINA UNITED NETWORK COMM GRP 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