Database auditing method and device based on block chain

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: 2018-08-24
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF6 Cites 31 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 t

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 auditing method and device based on block chain
  • Database auditing method and device based on block chain
  • Database auditing method and device based on block chain

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 invention provides a database auditing method and a database auditing device based on a block chain. The method comprises the steps of acquiring database auditing information; storing the database auditing information in a specified file system; calculating abstract information of the database auditing information; and storing the abstract information and the file informationof the database auditing information into a block chain cluster according to a block chain storage rule, wherein the file information is relevant information of the database auditing information in the specified file system. The database auditing information is stored in the specified file system, the abstract information of the database auditing information is stored in the block chain cluster,the data volume stored in the block chain cluster is small, the abstract information and the file information of the auditing information can be prevented from tampering by use of a consensus mechanism of the block chain cluster to achieve the purpose of preventing the auditing information and the abstract information thereof from tampering, thereby being beneficial to performing safety managementon a 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
IPC IPC(8): G06F17/30
CPCG06F16/137G06F16/21G06F16/245
Inventor 赖宝华周坤龙
Owner BEIJING BAIDU NETCOM SCI & TECH 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