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

Distributed database system and transaction processing method

A transaction processing and database technology, applied in the database field, can solve problems such as errors, no effective technical solutions, payment loopholes, etc.

Active Publication Date: 2020-07-07
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] If the distributed system does not support the transactional access method, errors may occur due to operations on consumer accounts or merchant accounts inserted between the above operations, for example, there may be payment loopholes where consumers use the same money to purchase multiple times
How to support transactional access in distributed databases, there is no effective solution for related technologies

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
  • Distributed database system and transaction processing method
  • Distributed database system and transaction processing method
  • Distributed database system and transaction processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the examples provided here are only used to explain the present invention, not to limit the present invention. In addition, the examples provided below are some examples for implementing the present invention, rather than providing all the examples for implementing the present invention. In the case of no conflict, the technical solutions recorded in the embodiments of the present invention can be combined in any manner implement.

[0032] Here, first, the relational database and non-relational data involved in the embodiment of the present invention will be described.

[0033] A relational database is a database based on a relational model, and uses mathematical concepts and methods such as set algebra to process data in the database. Various entities in the real world and various links between entities are repres...

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 distributed database system and a transaction processing method; a storage layer, including at least two storage servers, used for partitioning and distributing data in at least two servers for storage; an access layer, used for receiving transactions initiated by users , to request the lock service layer to lock the target data that needs to be accessed by transactions stored in the storage layer; the lock service layer is used to determine whether the target data is in a locked state according to the lock record of the data in the maintained storage layer, and respond to the lock of the transaction on the target data Request, or block the transaction's lock request for the target data, and store it in the queue corresponding to the target data for queuing. Implementing the present invention can support and realize transactional access mode in the distributed database.

Description

technical field [0001] The invention relates to database technology, in particular to a distributed database system and a transaction processing method. Background technique [0002] A traditional relational database is a database based on a relational model. In order to support data connection (join) processing, the same data has to be stored in a server, which is not conducive to the dispersion of data and the writing of large data. [0003] With the rise of Internet WEB 2.0 websites, traditional relational databases are applied to WEB websites, especially WEB2.0 pure dynamic websites with ultra-large-scale and high-concurrency social relationship network (SNS) have become incapable, exposing many insurmountable problems. question. [0004] Distributed databases, including distributed relational databases and distributed non-relational databases (NoSQL), have developed very rapidly due to their own characteristics. [0005] For example, non-relational databases do not su...

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 Patents(China)
IPC IPC(8): G06F16/21G06F16/28G06F16/23G06F9/46
CPCG06F16/28G06F16/211G06F16/27G06F9/526G06F9/52
Inventor 肖涛
Owner TENCENT TECH (SHENZHEN) 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