Blockchain-based database audit method and device

A database and blockchain technology, applied in the computer field, can solve problems such as the high risk of tampering and unfavorable database security management, and achieve the effect of preventing tampering

Active Publication Date: 2021-04-30
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The database audit information is stored in the form of files or database records, and the risk of tampering is high, which is not conducive to the security management of the database

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
  • Blockchain-based database audit method and device
  • Blockchain-based database audit method and device
  • Blockchain-based database audit method and device

Examples

Experimental program
Comparison scheme
Effect test

example 2

[0068] Example 2, when a user requests to delete certain entries in the database, the behavior data corresponding to the user's deletion operation, such as the user name of the user, the location of the deleted entry, and the number of deletions, can be recorded. The behavior data corresponding to each user deletion operation can be used as the audit information, or when abnormal deletion is detected, the behavior data corresponding to the abnormal deletion operation can be used as the audit information. For example, if it is detected that a user name deletes a large number of entries at one time, such as more than 1,000 items, the user name, the location of deletion, and the number of deletions can be recorded.

[0069] After the audit server generates audit information such as an audit log (audit log), an audit report can be generated according to the audit log.

[0070] Such as image 3 Shown is a schematic diagram of a blockchain network. Blockchain is a distributed data...

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 embodiment of the present invention proposes a blockchain-based database audit method and device. The method includes: obtaining database audit information; storing the database audit information in a specified file system; calculating the summary information of the database audit information; storing the summary information and file information of the database audit information in the block according to the block chain storage rules In the chain cluster, the file information is related information stored in the designated file system for the database audit information. Store the database audit information in the specified file system, and store the summary information of the database audit information in the blockchain cluster. The amount of data stored in the blockchain cluster is small, and the consensus mechanism of the blockchain cluster can be used to prevent tampering with the audit The summary information and file information of the information achieve the purpose of preventing the audit information and its summary information from being tampered with, which is conducive to the security management of the database.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a block chain-based database audit method and device. Background technique [0002] Traditional database audit information, such as user login, database access and operation information, is usually recorded in a file or stored in another database. [0003] The database audit information is stored in the form of files or database records, and the risk of being tampered with is high, which is not conducive to the security management of the database. Contents of the invention [0004] Embodiments of the present invention provide a blockchain-based database audit method and device to solve one or more technical problems in the prior art. [0005] In the first aspect, the embodiment of the present invention provides a blockchain-based database audit method, including: [0006] Acquiring database audit information, the database audit information is information generated b...

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 & AuthorityPatents(China)
IPC IPC(8): G06F16/21G06F16/245G06F16/13
CPCG06F16/137G06F16/21G06F16/245
Inventor赖宝华周坤龙
OwnerBEIJING BAIDU NETCOM SCI & TECH CO LTD