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

Database system, node and method

A database and node technology, applied in the database field, can solve the problems of inability to realize relational database data management capabilities, inability to realize data transaction operations, and inability to meet the needs of data management in large data systems, and achieve the effect of improving the efficiency of task collaboration

Pending Publication Date: 2020-06-05
HUAWEI TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Based on the existing blockchain solution, the data management capability in the relational database cannot be realized, nor can the transaction operation of the data be realized
Therefore, it is difficult to meet the data management needs of large data systems

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 system, node and method
  • Database system, node and method
  • Database system, node and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0071] Combine below figure 1 , introduces the system architecture diagram of the database system of an embodiment of the present invention. As shown in the figure, the database system in this embodiment of the present invention can be divided into a client 110 side and a server 120 side. The client 110 includes multiple clients of clients 110a, 110b, 110c...110n, and the server 120 includes multiple servers of server nodes 120a, 120b, 120c...120n. The server node can be an independent physical server or a virtual machine node.

[0072] Each client (110a, 110b, 110c...110n) in the client 110 has an application program 111, an SDK / API module 112 and a signature module 113. The SDK / API module 112 is responsible for supporting the database connection API, so that the database system supports other business systems. The signature module 113 completes the login and request signature verification through the certificate issued by Triangle CA; during the handshake phase between th...

Embodiment 2

[0102] refer to Figure 4 is a schematic flow chart of an embodiment of the present invention, which can be applied in figure 1 The database system shown can also be based on other system architectures that conform to the design idea of ​​the present invention. The process method describes how, in the database system of this embodiment, the client's transaction request generates transaction data in the server and saves it in the database of the data node. In this embodiment, in combination with different specific implementation manners, different node roles may be implemented by the same node, or may be implemented by different nodes. For example, in some implementations, the node that executes the endorsement process and the node that stores data are the same node, that is, the same node can realize both the function of an endorsement node and the function of a data node; and for example, in some implementations, Some data nodes do not serve as endorsement nodes, that is, s...

Embodiment 3

[0139] This embodiment includes a process description between on-chain transactions and off-chain transactions. For ease of description, the corresponding steps in the foregoing embodiments are referenced in the method flow of this embodiment, and thus may be implemented based on the flow in the foregoing embodiments. However, the content of the invention described in this embodiment can also be implemented in other database systems that meet the conditions. Therefore, the implementation in this embodiment is not necessarily limited by the foregoing embodiments.

[0140] If the transaction involves on-chain and off-chain transactions or cross-chain transactions, the transaction will be split before the transaction is forwarded in the endorsement process: for on-chain and off-chain transactions, only the SQL statement and the generated read The write set is forwarded; for cross-chain transactions, the system will split the transaction according to the granularity of the transac...

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 transaction method and node design of a database system. When the transaction in the database relates to on-chain and off-chain data operations or a plurality of on-chain dataoperations, the transaction initiating node performs endorsement and consensus operations on the on-chain data and the nodes of the respective data chains respectively. After all on-chain data passesthrough endorsement and consensus processes, the event is submitted, so that the atomicity of the event in the database is ensured.

Description

technical field [0001] The present invention relates to database technology, in particular to a database design based on block chain technology. Background technique [0002] Blockchain is a chained data structure that combines data blocks in a sequential manner, and is a cryptographically guaranteed non-tamperable and unforgeable distributed ledger. According to the decentralized protocol, the blockchain builds a distributed structural system, so that the value exchange information is sent to the whole network through distributed dissemination, and the content of the information data is determined through distributed bookkeeping, and the block is generated after being stamped with a time stamp. The block data is sent to each node through distributed propagation to realize distributed storage. [0003] Smart contract is a new feature produced with the development of blockchain technology. Smart contract is essentially a coded instance of the contract between the two parties...

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): G06F21/64G06F16/27
CPCG06F16/27G06F21/64
Inventor 张秦涛聂光耀刘奇丁健
Owner HUAWEI 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