Unlock instant, AI-driven research and patent intelligence for your innovation.

Distributed database SQL auditing and intercepting method and device based on agent mode

A technology of proxy mode and interception device, which is applied in the database field, can solve problems such as the inability to meet the scene requirements of high-frequency interaction, the inability to use the database client, and affect the efficiency of database auditing, so as to improve the convenience of use, simplify the auditing operation, and improve Review performance effects

Active Publication Date: 2021-07-16
CHINA TELECOM CORP LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current common database audit SQL technology is an audit mode based on work orders, custom execution commands, and custom program interfaces, and is mainly aimed at non-distributed databases. On the one hand, this technical mode is more suitable for a small number of databases. Operation, when encountering large-volume and frequent data operations, it will expose the short version of its operational availability, which cannot meet the needs of high-frequency interaction scenarios, and customize the interaction mode, resulting in users needing to switch frequently or unable to use common database clients On the other hand, based on the original audit mode, the efficiency is low. Taking the most commonly used inception as an example, each statement needs to establish a short audit connection, which increases the database connection overhead and affects the database audit efficiency.

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 SQL auditing and intercepting method and device based on agent mode
  • Distributed database SQL auditing and intercepting method and device based on agent mode
  • Distributed database SQL auditing and intercepting method and device based on agent mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0040] In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "front end", "rear end", "both ends", "one end", "another end" The orientation or positional relationship indicated by etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that ...

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 SQL auditing and intercepting method and device based on an agent mode, and the device comprises an auditing agent unit, a statement auditing and judging unit, an agent statement intercepting unit, an agent statement transparent transmission unit and the like. The above units are subjected to product fusion, and finally, when a user can execute distributed database operation through a common database client, statements which do not conform to auditing specifications cannot be executed in a target database, and illegal content is fed back according to a database protocol. If the statement meets the standard, the statement is not intercepted, the proxy node transmits the statement to the target distributed database in a transparent mode and feeds back the statement execution result of the client side, and the whole process is transparent for the user. According to the method, zero embedding and automatic operation and maintenance are achieved, the use convenience of a user can be greatly improved, the software project SQL statement auditing efficiency is improved, the situation that the user cannot execute violation statements in the target database is fundamentally limited, and therefore safe and stable operation of the distributed database is guaranteed.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a distributed database SQL audit interception method and device based on a proxy mode. Background technique [0002] As enterprises promote digital transformation, more and more enterprises are shifting from traditional architectures to distributed cloud architectures. For access to large-scale multi-node distributed databases, irregular database operations can easily lead to operational errors, transaction response timeouts, and database failures. Faults and other issues directly affect the availability of the entire application. In order to reduce the above adverse effects, before the SQL statement is executed in the distributed database, it is necessary to review the standardization of the SQL statement, and timely intercept the statement with poor execution efficiency or irregularity. The current common database audit SQL technology is an audit mode based on work orders, c...

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): G06F16/2455G06F16/2453G06F16/27G06F16/28G06F16/2458G06F16/248
CPCG06F16/24564G06F16/24549G06F16/27G06F16/284G06F16/24568G06F16/2462G06F16/248Y02D10/00
Inventor 肖永韧程建敏胡飞飞徐真朱明辉
Owner CHINA TELECOM CORP LTD