Data access method and device and data storage method and device

A data access and data technology, applied in the database field, can solve problems that affect the normal access of data, cannot adapt to the amount of data access, etc., and achieve the effect of improving data access performance

Active Publication Date: 2020-07-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, relational databases store data in the form of a single data table. The performance limitation of reading and writing a single table cannot adapt to the increasing data access volume, affecting normal data access, and gradually becoming a bottleneck for business development.

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 access method and device and data storage method and device
  • Data access method and device and data storage method and device
  • Data access method and device and data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0081] In order to make the purpose, technical solution and advantages of the present application clearer, the present application 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 application, and are not intended to limit the present application.

[0082] The data access and data storage methods provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the data access device 110 is directly or indirectly connected to the data service device 120 through wired or wireless communication. The data service device 120 is deployed with a corresponding database 130 . The database 130 includes a relational database 130a and a non-relational database 130b. One or more non-relational databases 130b may be deployed. The data accessing party may initiate a data read request...

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 a data access method and device and a data storage method and device. The data access method comprises the following steps: when a data reading request is received, analyzingthe data reading request to obtain a query condition; when the query condition conforms to a preset high-frequency access condition, querying data conforming to the query condition in a non-relationaldatabase; when the query condition conforms to a preset complex access condition, querying data conforming to the query condition in a relational database, wherein the data stored in the non-relational database is consistent with the data stored in the relational database; and responding to the data reading request based on the queried data. By adopting the method, the high-frequency access requirement can be met, and the complex query requirement can also be met.

Description

technical field [0001] The present application relates to the technical field of databases, in particular to a data access method and device, and a data storage method and device. Background technique [0002] Massive data are generated on the Internet every day. In order to realize effective management of the massive data, Internet service providers mostly store the generated data in a database (DataBase, DB). At present, relational databases such as MySQL and Oracle are mainly used to store data. Relational databases use a structured query language for data query, and support the addition, deletion, modification and query of data in the database and the cross-table query function. It is easy to use and easy to understand, so it has been widely used. [0003] However, relational databases store data in the form of a single data table. The performance limitation of reading and writing from a single table cannot adapt to the increasing data access volume, affecting normal da...

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): G06F16/2458G06F16/27G06F16/28
CPCG06F16/2471G06F16/275G06F16/284G06F16/2379Y02D10/00
Inventor 欧霄黄东庆刘骏健李建东
Owner TENCENT TECH (SHENZHEN) 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